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.001225/0.001225, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.301/1.301, allocations: 222.9 MB / 239 MB, free: 4.742 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.001304/0.001304, allocations: 192.5 kB / 289.3 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5014/0.5014, allocations: 91.89 MB / 431.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 79.88 kB / 0.5014 GB, free: 8.082 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3253, allocations: 71.27 MB / 0.571 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.00826/0.3336, allocations: 6.722 MB / 0.5775 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.3376, allocations: 1.901 MB / 0.5794 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007534/0.3384, allocations: 19 kB / 0.5794 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000525/0.3389, allocations: 170.8 kB / 0.5796 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.3405, allocations: 0.6208 MB / 0.5802 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.3417, allocations: 0.5644 MB / 0.5807 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.343, allocations: 1.393 MB / 0.5821 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004474/0.3435, allocations: 323.5 kB / 0.5824 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007458/0.3443, allocations: 0.5889 MB / 0.583 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005726/0.3448, allocations: 0.7211 MB / 0.5837 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.345, allocations: 101.2 kB / 0.5838 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.3454, allocations: 233.1 kB / 0.584 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.3456, allocations: 284.3 kB / 0.5843 GB, free: 28.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.346, allocations: 0.6254 MB / 0.5849 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.3472, allocations: 1.479 MB / 0.5863 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3472, allocations: 0 / 0.5863 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3472, allocations: 0 / 0.5863 GB, free: 27.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.3472, allocations: 0 / 0.5863 GB, free: 27.77 MB / 430.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.007166/0.3544, allocations: 2.545 MB / 0.5888 GB, free: 26.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3544, allocations: 12.69 kB / 0.5888 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004837/0.3593, allocations: 0.7724 MB / 0.5896 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.3604, allocations: 0.7631 MB / 0.5903 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/0.3607, allocations: 257.1 kB / 0.5906 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.3609, allocations: 82.2 kB / 0.5906 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.3632, allocations: 1.07 MB / 0.5917 GB, free: 25.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.3633, allocations: 5.531 kB / 0.5917 GB, free: 25.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.748e-05/0.3634, allocations: 33.8 kB / 0.5917 GB, free: 25.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.3634, allocations: 18.94 kB / 0.5917 GB, free: 25.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/0.3658, allocations: 1.117 MB / 0.5928 GB, free: 24.89 MB / 430.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.005712/0.3715, allocations: 3.445 MB / 0.5962 GB, free: 22.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.3736, allocations: 1.406 MB / 0.5976 GB, free: 21.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.3751, allocations: 0.7817 MB / 0.5983 GB, free: 21.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.3752, allocations: 15.92 kB / 0.5984 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3752, allocations: 42.94 kB / 0.5984 GB, free: 21.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.226e-06/0.3752, allocations: 0 / 0.5984 GB, free: 21.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02701/0.4023, allocations: 6.743 MB / 0.605 GB, free: 20.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.4023, allocations: 66.92 kB / 0.605 GB, free: 20.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.4036, allocations: 0.887 MB / 0.6059 GB, free: 19.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002281/0.4039, allocations: 41.92 kB / 0.606 GB, free: 19.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.4041, allocations: 0.497 MB / 0.6064 GB, free: 19.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.4045, allocations: 342.2 kB / 0.6068 GB, free: 19.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003809/0.4048, allocations: 195.7 kB / 0.6069 GB, free: 19.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.4049, allocations: 348.3 kB / 0.6073 GB, free: 18.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.4065, allocations: 0.7108 MB / 0.608 GB, free: 18.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.4081, allocations: 0.84 MB / 0.6088 GB, free: 18.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01934/0.4275, allocations: 4.79 MB / 0.6135 GB, free: 16.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.4276, allocations: 0 / 0.6135 GB, free: 16.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01358/0.4411, allocations: 4.263 MB / 0.6176 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.4412, allocations: 14.17 kB / 0.6177 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.4412, allocations: 0 / 0.6177 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005527/0.4468, allocations: 1.866 MB / 0.6195 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.4479, allocations: 207.7 kB / 0.6197 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/0.4662, allocations: 9.089 MB / 0.6285 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.4681, allocations: 167 kB / 0.6287 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.4682, allocations: 39.98 kB / 0.6287 GB, free: 3.016 MB / 430.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.0005185/0.4688, allocations: 251.3 kB / 0.629 GB, free: 2.762 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.469, allocations: 118.5 kB / 0.6291 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.481, allocations: 4.006 MB / 0.633 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/0.4811, allocations: 8 kB / 0.633 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/0.4811, allocations: 7.938 kB / 0.633 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/0.4811, allocations: 7.969 kB / 0.633 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.4962, allocations: 5.618 MB / 0.6385 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.4963, allocations: 0 / 0.6385 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000796/0.4971, allocations: 127.8 kB / 0.6386 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005706/0.5028, allocations: 1.749 MB / 0.6403 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002242/0.5031, allocations: 19.98 kB / 0.6404 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01769/0.5208, allocations: 8.076 MB / 0.6483 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5208, allocations: 4 kB / 0.6483 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/0.5358, allocations: 4.966 MB / 0.6531 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.5364, allocations: 207.4 kB / 0.6533 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.5366, allocations: 16 kB / 0.6533 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.5377, allocations: 111.9 kB / 0.6534 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007583/0.5384, allocations: 208.7 kB / 0.6536 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.067e-05/0.5385, allocations: 31.92 kB / 0.6537 GB, free: 9.133 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007447/0.5393, allocations: 0.5926 MB / 0.6542 GB, free: 8.531 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5393, allocations: 4 kB / 0.6542 GB, free: 8.527 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001362/0.5407, allocations: 431.5 kB / 0.6546 GB, free: 8.105 MB / 462.1 MB 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.0003018/0.541, allocations: 135.1 kB / 0.6548 GB, free: 7.961 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007015/0.548, allocations: 2.5 MB / 0.6572 GB, free: 5.445 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.548, allocations: 0 / 0.6572 GB, free: 5.445 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004714/0.5528, allocations: 1.593 MB / 0.6588 GB, free: 3.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/0.5538, allocations: 90.81 kB / 0.6589 GB, free: 3.754 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.558, allocations: 2.374 MB / 0.6612 GB, free: 1.363 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.5587, allocations: 1.084 MB / 0.6622 GB, free: 260 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004196/0.5591, allocations: 90.67 kB / 0.6623 GB, free: 164 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.5593, allocations: 67.42 kB / 0.6624 GB, free: 96 kB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5593, allocations: 0 / 0.6624 GB, free: 96 kB / 462.1 MB Notification: Performance of Templates: time 0.03332/0.5927, allocations: 22.16 MB / 0.684 GB, free: 9.965 MB / 494.1 MB 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)