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.09861/0.09861, allocations: 12.6 MB / 28.9 MB, free: 0.625 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.001309/0.001309, allocations: 119.4 kB / 32.51 MB, free: 3.562 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.387/1.387, allocations: 205.1 MB / 241.1 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.001662/0.001662, allocations: 195.5 kB / 291.4 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.5485/0.5485, allocations: 78.51 MB / 420 MB, free: 11.28 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.004078/0.004078, allocations: 137 kB / 0.5565 GB, free: 28.56 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1112, allocations: 68.13 MB / 0.6231 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007883/0.1191, allocations: 6.448 MB / 0.6294 GB, free: 8.953 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003697/0.1228, allocations: 1.826 MB / 0.6312 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007008/0.1235, allocations: 15.94 kB / 0.6312 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000558/0.124, allocations: 210.1 kB / 0.6314 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.1259, allocations: 0.7687 MB / 0.6321 GB, free: 6.125 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.1273, allocations: 0.6051 MB / 0.6327 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.129, allocations: 1.394 MB / 0.6341 GB, free: 4.129 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004172/0.1294, allocations: 232.3 kB / 0.6343 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007503/0.1302, allocations: 0.5874 MB / 0.6349 GB, free: 3.297 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008758/0.131, allocations: 0.7233 MB / 0.6356 GB, free: 2.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.1312, allocations: 100 kB / 0.6357 GB, free: 2.473 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005219/0.1317, allocations: 235.8 kB / 0.6359 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.132, allocations: 278.7 kB / 0.6362 GB, free: 1.969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00057/0.1326, allocations: 0.6136 MB / 0.6368 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.1344, allocations: 1.517 MB / 0.6382 GB, free: 15.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1344, allocations: 0 / 0.6382 GB, free: 15.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1344, allocations: 4 kB / 0.6382 GB, free: 15.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.1344, allocations: 0 / 0.6382 GB, free: 15.82 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.00862/0.143, allocations: 2.582 MB / 0.6408 GB, free: 13.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1431, allocations: 11.98 kB / 0.6408 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/0.1484, allocations: 0.7874 MB / 0.6415 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.1498, allocations: 0.7693 MB / 0.6423 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00034/0.1502, allocations: 256.2 kB / 0.6425 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.1503, allocations: 76 kB / 0.6426 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.1529, allocations: 1.073 MB / 0.6437 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.1529, allocations: 7.922 kB / 0.6437 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.153, allocations: 36 kB / 0.6437 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.1531, allocations: 20 kB / 0.6437 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/0.1558, allocations: 1.109 MB / 0.6448 GB, free: 8.945 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.006325/0.1622, allocations: 3.433 MB / 0.6482 GB, free: 5.363 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/0.1646, allocations: 1.318 MB / 0.6494 GB, free: 3.926 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.1663, allocations: 0.7031 MB / 0.6501 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.1664, allocations: 16.98 kB / 0.6501 GB, free: 3.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.1664, allocations: 39.56 kB / 0.6502 GB, free: 3.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 2.655e-06/0.1664, allocations: 0 / 0.6502 GB, free: 3.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02977/0.1962, allocations: 6.719 MB / 0.6567 GB, free: 12.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.1963, allocations: 64.41 kB / 0.6568 GB, free: 12.33 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.1975, allocations: 0.8877 MB / 0.6577 GB, free: 11.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.1977, allocations: 41.7 kB / 0.6577 GB, free: 11.38 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/0.1981, allocations: 0.4973 MB / 0.6582 GB, free: 10.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003848/0.1985, allocations: 357 kB / 0.6585 GB, free: 10.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004111/0.1989, allocations: 198.8 kB / 0.6587 GB, free: 10.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.1991, allocations: 345.9 kB / 0.6591 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.2011, allocations: 0.717 MB / 0.6598 GB, free: 9.262 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.2031, allocations: 0.8384 MB / 0.6606 GB, free: 8.391 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02017/0.2232, allocations: 4.787 MB / 0.6653 GB, free: 3.566 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.2233, allocations: 4 kB / 0.6653 GB, free: 3.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01512/0.2384, allocations: 4.227 MB / 0.6694 GB, free: 15.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.2384, allocations: 8 kB / 0.6694 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2384, allocations: 8 kB / 0.6694 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006824/0.2452, allocations: 1.859 MB / 0.6712 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.2463, allocations: 203.7 kB / 0.6714 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02353/0.2699, allocations: 9.094 MB / 0.6803 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.2714, allocations: 167.3 kB / 0.6805 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.2715, allocations: 43.98 kB / 0.6805 GB, free: 3.789 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.0005151/0.272, allocations: 253.2 kB / 0.6807 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.2722, allocations: 131.2 kB / 0.6809 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/0.2868, allocations: 3.963 MB / 0.6847 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.2869, allocations: 8 kB / 0.6847 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2869, allocations: 11.94 kB / 0.6848 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.2869, allocations: 3.984 kB / 0.6848 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01695/0.3038, allocations: 5.59 MB / 0.6902 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.3038, allocations: 0 / 0.6902 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007854/0.3046, allocations: 135.7 kB / 0.6903 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006565/0.3112, allocations: 1.734 MB / 0.692 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.3114, allocations: 19.98 kB / 0.6921 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02148/0.3328, allocations: 8.081 MB / 0.6999 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3328, allocations: 0 / 0.6999 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01694/0.3498, allocations: 4.929 MB / 0.7048 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.3502, allocations: 208.1 kB / 0.705 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.3503, allocations: 20 kB / 0.705 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.3514, allocations: 111.9 kB / 0.7051 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007683/0.3522, allocations: 220.5 kB / 0.7053 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/0.3523, allocations: 31.92 kB / 0.7053 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008165/0.3531, allocations: 0.5927 MB / 0.7059 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.3531, allocations: 0 / 0.7059 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001222/0.3543, allocations: 439.6 kB / 0.7063 GB, free: 8.965 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.000291/0.3546, allocations: 127.1 kB / 0.7064 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0075/0.3621, allocations: 2.363 MB / 0.7088 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3621, allocations: 0 / 0.7088 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005297/0.3674, allocations: 1.53 MB / 0.7102 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007122/0.3681, allocations: 84.42 kB / 0.7103 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.3719, allocations: 1.964 MB / 0.7122 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/0.3726, allocations: 1.088 MB / 0.7133 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003401/0.3729, allocations: 90.67 kB / 0.7134 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.3732, allocations: 67.42 kB / 0.7135 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of SimCode: time 1.152e-06/0.3732, allocations: 0 / 0.7135 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of Templates: time 0.2608/0.634, allocations: 23.74 MB / 0.7366 GB, free: 79.49 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)