Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 105.5 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 240.1 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 192.5 kB / 290.4 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4889/0.4889, allocations: 91.9 MB / 432.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 77.08 kB / 0.5734 GB, free: 33.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1127, allocations: 71.29 MB / 0.643 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006535/0.1193, allocations: 6.398 MB / 0.6493 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003457/0.1228, allocations: 1.845 MB / 0.6511 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007554/0.1235, allocations: 12 kB / 0.6511 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006297/0.1242, allocations: 222 kB / 0.6513 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.1261, allocations: 0.7204 MB / 0.652 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.1274, allocations: 0.6048 MB / 0.6526 GB, free: 9.723 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.1289, allocations: 1.394 MB / 0.6539 GB, free: 8.324 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.1294, allocations: 332.2 kB / 0.6543 GB, free: 7.984 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006528/0.1301, allocations: 0.5873 MB / 0.6548 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000691/0.1308, allocations: 0.7155 MB / 0.6555 GB, free: 6.676 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.1309, allocations: 100 kB / 0.6556 GB, free: 6.578 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.1314, allocations: 243.9 kB / 0.6559 GB, free: 6.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.1316, allocations: 282.7 kB / 0.6561 GB, free: 6.062 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.1321, allocations: 0.6213 MB / 0.6567 GB, free: 5.438 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.1335, allocations: 1.502 MB / 0.6582 GB, free: 3.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1335, allocations: 0 / 0.6582 GB, free: 3.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1335, allocations: 3.938 kB / 0.6582 GB, free: 3.926 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.1335, allocations: 0 / 0.6582 GB, free: 3.926 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.007662/0.1412, allocations: 2.536 MB / 0.6607 GB, free: 1.336 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1412, allocations: 8.031 kB / 0.6607 GB, free: 1.328 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005003/0.1463, allocations: 0.7787 MB / 0.6615 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.1475, allocations: 0.7644 MB / 0.6622 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.1478, allocations: 264.2 kB / 0.6625 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.148, allocations: 72 kB / 0.6625 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.1502, allocations: 1.069 MB / 0.6636 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.1502, allocations: 3.938 kB / 0.6636 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.785e-05/0.1503, allocations: 28 kB / 0.6636 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.1504, allocations: 24 kB / 0.6636 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.1528, allocations: 1.116 MB / 0.6647 GB, free: 13.11 MB / 478.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.005507/0.1583, allocations: 3.42 MB / 0.6681 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.1603, allocations: 1.411 MB / 0.6694 GB, free: 8.008 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.1618, allocations: 0.7774 MB / 0.6702 GB, free: 7.227 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.753e-05/0.1619, allocations: 16.92 kB / 0.6702 GB, free: 7.211 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1619, allocations: 47.56 kB / 0.6703 GB, free: 7.156 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.504e-06/0.162, allocations: 0 / 0.6703 GB, free: 7.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02513/0.1871, allocations: 6.746 MB / 0.6768 GB, free: 384 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1872, allocations: 60.41 kB / 0.6769 GB, free: 312 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.1883, allocations: 0.8915 MB / 0.6778 GB, free: 15.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.1884, allocations: 41.7 kB / 0.6778 GB, free: 15.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/0.1887, allocations: 0.4889 MB / 0.6783 GB, free: 14.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.1891, allocations: 339.2 kB / 0.6786 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/0.1895, allocations: 194.8 kB / 0.6788 GB, free: 14.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1896, allocations: 353.9 kB / 0.6791 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.1911, allocations: 0.7092 MB / 0.6798 GB, free: 13.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.1927, allocations: 0.8345 MB / 0.6806 GB, free: 12.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01794/0.2107, allocations: 4.791 MB / 0.6853 GB, free: 7.566 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.2107, allocations: 0 / 0.6853 GB, free: 7.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01352/0.2243, allocations: 4.253 MB / 0.6895 GB, free: 3.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.2243, allocations: 4 kB / 0.6895 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.2243, allocations: 4 kB / 0.6895 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006016/0.2304, allocations: 1.866 MB / 0.6913 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.2315, allocations: 203.7 kB / 0.6915 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/0.2514, allocations: 9.099 MB / 0.7004 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.2528, allocations: 174.9 kB / 0.7005 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.942e-05/0.2529, allocations: 39.98 kB / 0.7006 GB, free: 7.762 MB / 0.4981 GB 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.0004373/0.2534, allocations: 243.2 kB / 0.7008 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.2536, allocations: 126.5 kB / 0.7009 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.2662, allocations: 3.998 MB / 0.7048 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.2663, allocations: 12 kB / 0.7049 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2663, allocations: 3.938 kB / 0.7049 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.2663, allocations: 3.984 kB / 0.7049 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.2808, allocations: 5.618 MB / 0.7103 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.2809, allocations: 0 / 0.7103 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006964/0.2816, allocations: 127.8 kB / 0.7105 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005614/0.2872, allocations: 1.738 MB / 0.7122 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.2873, allocations: 20 kB / 0.7122 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/0.3047, allocations: 8.076 MB / 0.7201 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3048, allocations: 0 / 0.7201 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/0.3193, allocations: 4.968 MB / 0.7249 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.3198, allocations: 203.4 kB / 0.7251 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.32, allocations: 16 kB / 0.7251 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.321, allocations: 111.9 kB / 0.7252 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006622/0.3217, allocations: 220.6 kB / 0.7255 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.935e-05/0.3218, allocations: 27.92 kB / 0.7255 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007231/0.3225, allocations: 0.5927 MB / 0.7261 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3225, allocations: 3.938 kB / 0.7261 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001193/0.3237, allocations: 431.5 kB / 0.7265 GB, free: 12.88 MB / 0.5294 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.000256/0.324, allocations: 131.1 kB / 0.7266 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006507/0.3305, allocations: 2.457 MB / 0.729 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3305, allocations: 0 / 0.729 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004897/0.3354, allocations: 1.593 MB / 0.7306 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.3362, allocations: 88.41 kB / 0.7306 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.3397, allocations: 1.976 MB / 0.7326 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/0.3404, allocations: 1.084 MB / 0.7336 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.3406, allocations: 75.41 kB / 0.7337 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.3407, allocations: 0 / 0.7337 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of Templates: time 0.02556/0.3662, allocations: 20.01 MB / 0.7532 GB, free: 1.355 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)