Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08248/0.08248, allocations: 12.59 MB / 28.23 MB, free: 0.7617 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 111.4 kB / 31.84 MB, free: 3.895 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.468/0.468, allocations: 78.51 MB / 419.3 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 142.5 kB / 0.5559 GB, free: 28.72 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1321, allocations: 68.13 MB / 0.6224 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007065/0.1392, allocations: 6.425 MB / 0.6287 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.1431, allocations: 1.818 MB / 0.6304 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1441, allocations: 16 kB / 0.6305 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008296/0.145, allocations: 222 kB / 0.6307 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.1474, allocations: 0.7612 MB / 0.6314 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.1491, allocations: 0.6036 MB / 0.632 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002291/0.1514, allocations: 1.402 MB / 0.6334 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006049/0.152, allocations: 328.2 kB / 0.6337 GB, free: 3.801 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009709/0.153, allocations: 0.5835 MB / 0.6343 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.1541, allocations: 0.7271 MB / 0.635 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.1545, allocations: 104 kB / 0.6351 GB, free: 2.383 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008691/0.1554, allocations: 231.9 kB / 0.6353 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004227/0.1558, allocations: 274.8 kB / 0.6355 GB, free: 1.887 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000877/0.1567, allocations: 0.6174 MB / 0.6362 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.1586, allocations: 1.51 MB / 0.6376 GB, free: 15.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1586, allocations: 4 kB / 0.6376 GB, free: 15.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1586, allocations: 3.984 kB / 0.6376 GB, free: 15.74 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.745e-05/0.1587, allocations: 0 / 0.6376 GB, free: 15.74 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008345/0.1671, allocations: 2.528 MB / 0.6401 GB, free: 13.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1671, allocations: 15.98 kB / 0.6401 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005141/0.1723, allocations: 0.7827 MB / 0.6409 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.1736, allocations: 0.7645 MB / 0.6416 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.174, allocations: 256.2 kB / 0.6419 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.1742, allocations: 80 kB / 0.6419 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.1766, allocations: 1.065 MB / 0.643 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1767, allocations: 7.938 kB / 0.643 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.1768, allocations: 32 kB / 0.643 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.1768, allocations: 16 kB / 0.643 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.1795, allocations: 1.12 MB / 0.6441 GB, free: 8.922 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006133/0.1856, allocations: 3.424 MB / 0.6475 GB, free: 5.348 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.1879, allocations: 1.416 MB / 0.6489 GB, free: 3.812 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.1896, allocations: 0.7695 MB / 0.6496 GB, free: 3.043 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.1897, allocations: 20.98 kB / 0.6496 GB, free: 3.023 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1897, allocations: 43.56 kB / 0.6497 GB, free: 2.973 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 4.819e-06/0.1897, allocations: 0 / 0.6497 GB, free: 2.973 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02758/0.2173, allocations: 6.746 MB / 0.6563 GB, free: 12.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.2174, allocations: 64.41 kB / 0.6563 GB, free: 12.12 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.2189, allocations: 0.8953 MB / 0.6572 GB, free: 11.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.2191, allocations: 41.7 kB / 0.6572 GB, free: 11.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.2195, allocations: 488.7 kB / 0.6577 GB, free: 10.67 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003896/0.2199, allocations: 351.1 kB / 0.658 GB, free: 10.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004311/0.2204, allocations: 194.8 kB / 0.6582 GB, free: 10.12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2205, allocations: 341.9 kB / 0.6586 GB, free: 9.785 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.2222, allocations: 0.7092 MB / 0.6592 GB, free: 9.078 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.224, allocations: 0.8462 MB / 0.6601 GB, free: 8.199 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01936/0.2434, allocations: 4.787 MB / 0.6647 GB, free: 3.375 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.2434, allocations: 3.938 kB / 0.6647 GB, free: 3.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01426/0.2577, allocations: 4.253 MB / 0.6689 GB, free: 15.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.2577, allocations: 10.97 kB / 0.6689 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.2577, allocations: 0 / 0.6689 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006256/0.264, allocations: 1.866 MB / 0.6707 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009834/0.265, allocations: 203.8 kB / 0.6709 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/0.2869, allocations: 9.082 MB / 0.6798 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.2884, allocations: 174.9 kB / 0.68 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.2886, allocations: 43.98 kB / 0.68 GB, free: 3.574 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0005959/0.2892, allocations: 237.6 kB / 0.6802 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003155/0.2895, allocations: 118.5 kB / 0.6803 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/0.3031, allocations: 4.006 MB / 0.6843 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.3032, allocations: 11.98 kB / 0.6843 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3032, allocations: 3.938 kB / 0.6843 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.3032, allocations: 7.984 kB / 0.6843 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.319, allocations: 5.614 MB / 0.6898 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.319, allocations: 0 / 0.6898 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007428/0.3198, allocations: 131.8 kB / 0.6899 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006206/0.326, allocations: 1.734 MB / 0.6916 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/0.3262, allocations: 16 kB / 0.6916 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0197/0.3459, allocations: 8.08 MB / 0.6995 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3459, allocations: 0 / 0.6995 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/0.3621, allocations: 4.964 MB / 0.7043 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/0.3625, allocations: 203.4 kB / 0.7045 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/0.3628, allocations: 16 kB / 0.7045 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.364, allocations: 111.9 kB / 0.7047 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007261/0.3648, allocations: 216.6 kB / 0.7049 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.3649, allocations: 31.92 kB / 0.7049 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008498/0.3657, allocations: 0.5927 MB / 0.7055 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3657, allocations: 0 / 0.7055 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00138/0.3671, allocations: 431.5 kB / 0.7059 GB, free: 8.703 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002907/0.3674, allocations: 131.1 kB / 0.706 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007185/0.3746, allocations: 2.476 MB / 0.7084 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3747, allocations: 4 kB / 0.7084 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004982/0.3796, allocations: 1.589 MB / 0.71 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008577/0.3805, allocations: 93.09 kB / 0.7101 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.3847, allocations: 1.932 MB / 0.712 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007449/0.3854, allocations: 1.084 MB / 0.713 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003593/0.3858, allocations: 90.67 kB / 0.7131 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.386, allocations: 63.42 kB / 0.7132 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/0.3861, allocations: 0 / 0.7132 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of Templates: time 0.301/0.687, allocations: 23.58 MB / 0.7362 GB, free: 79.29 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)