Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.344/1.344, allocations: 222.9 MB / 239.6 MB, free: 4.785 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.001492/0.001492, allocations: 192.4 kB / 289.9 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4641/0.4641, allocations: 78.53 MB / 418.6 MB, free: 3.363 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001563, allocations: 75.88 kB / 497.6 MB, free: 6.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1319, allocations: 68.19 MB / 0.5525 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.2388/0.3707, allocations: 6.082 MB / 0.5584 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.3741, allocations: 1.77 MB / 0.5602 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007759/0.3749, allocations: 15.25 kB / 0.5602 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.3754, allocations: 161.3 kB / 0.5603 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.3771, allocations: 0.5944 MB / 0.5609 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.3782, allocations: 0.5301 MB / 0.5614 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.3795, allocations: 1.238 MB / 0.5626 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.3799, allocations: 267.6 kB / 0.5629 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000642/0.3806, allocations: 0.5256 MB / 0.5634 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005902/0.3812, allocations: 0.6422 MB / 0.564 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.3813, allocations: 86.16 kB / 0.5641 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.3818, allocations: 229.8 kB / 0.5643 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.382, allocations: 248.7 kB / 0.5646 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.3823, allocations: 0.5414 MB / 0.5651 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.3834, allocations: 1.036 MB / 0.5661 GB, free: 34.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.3834, allocations: 1.875 kB / 0.5661 GB, free: 34.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3834, allocations: 7.125 kB / 0.5661 GB, free: 34.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.3834, allocations: 0 / 0.5661 GB, free: 34.7 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006942/0.3904, allocations: 2.354 MB / 0.5684 GB, free: 33.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3904, allocations: 8.625 kB / 0.5684 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004652/0.3951, allocations: 0.7572 MB / 0.5692 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.3962, allocations: 0.7131 MB / 0.5699 GB, free: 33.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.3965, allocations: 245.4 kB / 0.5701 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.3966, allocations: 72.05 kB / 0.5702 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.3985, allocations: 0.9539 MB / 0.5711 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.3985, allocations: 6.875 kB / 0.5711 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.3986, allocations: 25.19 kB / 0.5711 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.3987, allocations: 17.16 kB / 0.5712 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.4005, allocations: 0.9765 MB / 0.5721 GB, free: 33.18 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.004896/0.4054, allocations: 3.168 MB / 0.5752 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.4072, allocations: 1.311 MB / 0.5765 GB, free: 31.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.4084, allocations: 0.7005 MB / 0.5772 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.4085, allocations: 9.812 kB / 0.5772 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.4085, allocations: 46.03 kB / 0.5772 GB, free: 31.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.406e-06/0.4086, allocations: 0 / 0.5772 GB, free: 31.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02502/0.4336, allocations: 6.759 MB / 0.5838 GB, free: 30.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4337, allocations: 63.72 kB / 0.5839 GB, free: 30.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.4348, allocations: 0.8029 MB / 0.5847 GB, free: 29.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002445/0.435, allocations: 40.17 kB / 0.5847 GB, free: 29.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.4353, allocations: 430.5 kB / 0.5851 GB, free: 29.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.4356, allocations: 297.1 kB / 0.5854 GB, free: 29.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/0.436, allocations: 181.9 kB / 0.5856 GB, free: 29.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.663e-05/0.4361, allocations: 346.4 kB / 0.5859 GB, free: 28.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.4376, allocations: 0.65 MB / 0.5865 GB, free: 28.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.4391, allocations: 0.7787 MB / 0.5873 GB, free: 28.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/0.4571, allocations: 4.51 MB / 0.5917 GB, free: 26.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.4571, allocations: 1.062 kB / 0.5917 GB, free: 26.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01442/0.4716, allocations: 4.113 MB / 0.5957 GB, free: 25.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.4716, allocations: 8.375 kB / 0.5957 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.4717, allocations: 7.25 kB / 0.5957 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006641/0.4783, allocations: 1.791 MB / 0.5975 GB, free: 25.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009534/0.4793, allocations: 171 kB / 0.5976 GB, free: 25.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0228/0.5021, allocations: 9.332 MB / 0.6068 GB, free: 21.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.5037, allocations: 154 kB / 0.6069 GB, free: 21.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.504, allocations: 36.53 kB / 0.6069 GB, free: 21.15 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006596/0.5047, allocations: 235.3 kB / 0.6072 GB, free: 20.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/0.505, allocations: 99.66 kB / 0.6073 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.5173, allocations: 3.83 MB / 0.611 GB, free: 18.97 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.5173, allocations: 8.25 kB / 0.611 GB, free: 18.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5173, allocations: 5.578 kB / 0.611 GB, free: 18.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.5174, allocations: 3.984 kB / 0.611 GB, free: 18.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.5313, allocations: 5.355 MB / 0.6162 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/0.5314, allocations: 1.062 kB / 0.6162 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/0.5319, allocations: 87.89 kB / 0.6163 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005368/0.5373, allocations: 1.749 MB / 0.618 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/0.5376, allocations: 15.98 kB / 0.6181 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/0.554, allocations: 8.078 MB / 0.6259 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5541, allocations: 3.938 kB / 0.6259 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/0.5673, allocations: 4.712 MB / 0.6306 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000444/0.5678, allocations: 187.7 kB / 0.6307 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/0.5682, allocations: 17.25 kB / 0.6307 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.5693, allocations: 87.89 kB / 0.6308 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007079/0.57, allocations: 200.7 kB / 0.631 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.5702, allocations: 20 kB / 0.631 GB, free: 14.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008358/0.571, allocations: 0.5382 MB / 0.6316 GB, free: 13.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.571, allocations: 0 / 0.6316 GB, free: 13.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001643/0.5727, allocations: 409 kB / 0.632 GB, free: 13.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.000314/0.573, allocations: 123.2 kB / 0.6321 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006978/0.58, allocations: 2.348 MB / 0.6344 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.58, allocations: 4 kB / 0.6344 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004769/0.5848, allocations: 1.502 MB / 0.6358 GB, free: 9.441 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.5861, allocations: 83.22 kB / 0.6359 GB, free: 9.359 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.5904, allocations: 2.139 MB / 0.638 GB, free: 7.219 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/0.5912, allocations: 1.033 MB / 0.639 GB, free: 6.156 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.5916, allocations: 63.42 kB / 0.6391 GB, free: 6.098 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5916, allocations: 0 / 0.6391 GB, free: 6.098 MB / 446.1 MB Notification: Performance of Templates: time 0.02734/0.619, allocations: 17.76 MB / 0.6564 GB, free: 4.492 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)