Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008683/0.0008683, allocations: 180.1 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 223.3 MB / 239.5 MB, free: 1.605 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007714/0.0007714, allocations: 96.72 kB / 290.7 MB, free: 13.82 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4073/0.4073, allocations: 78.61 MB / 420.4 MB, free: 44.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 8 kB / 0.4888 GB, free: 2.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2768, allocations: 69.34 MB / 0.5565 GB, free: 39.05 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004783/0.2816, allocations: 6.477 MB / 0.5628 GB, free: 36.19 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.2848, allocations: 2.023 MB / 0.5648 GB, free: 35.4 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.2852, allocations: 11.38 kB / 0.5648 GB, free: 35.4 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.2857, allocations: 195.1 kB / 0.565 GB, free: 35.32 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.2872, allocations: 0.7142 MB / 0.5657 GB, free: 35.01 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.2883, allocations: 0.6028 MB / 0.5663 GB, free: 34.9 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.2896, allocations: 1.547 MB / 0.5678 GB, free: 34.21 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.29, allocations: 293.2 kB / 0.5681 GB, free: 34.06 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005498/0.2905, allocations: 0.5797 MB / 0.5686 GB, free: 33.8 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005977/0.2911, allocations: 0.778 MB / 0.5694 GB, free: 33.46 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.2913, allocations: 62.66 kB / 0.5695 GB, free: 33.46 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/0.2916, allocations: 192.7 kB / 0.5696 GB, free: 33.42 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.2918, allocations: 274.8 kB / 0.5699 GB, free: 33.27 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003601/0.2922, allocations: 0.6366 MB / 0.5705 GB, free: 32.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009176/0.2931, allocations: 1.598 MB / 0.5721 GB, free: 32.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2931, allocations: 3.938 kB / 0.5721 GB, free: 32.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2931, allocations: 0 / 0.5721 GB, free: 32.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.2931, allocations: 0 / 0.5721 GB, free: 32.25 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.006729/0.2999, allocations: 2.564 MB / 0.5746 GB, free: 31.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2999, allocations: 12.84 kB / 0.5746 GB, free: 31.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004284/0.3042, allocations: 0.7854 MB / 0.5754 GB, free: 30.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.3054, allocations: 0.9117 MB / 0.5763 GB, free: 30.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.3056, allocations: 272.3 kB / 0.5765 GB, free: 30.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.3057, allocations: 82.62 kB / 0.5766 GB, free: 30.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.3075, allocations: 1.158 MB / 0.5777 GB, free: 29.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.3075, allocations: 3.938 kB / 0.5777 GB, free: 29.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.262e-05/0.3076, allocations: 31 kB / 0.5778 GB, free: 29.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.3076, allocations: 17.81 kB / 0.5778 GB, free: 29.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.3094, allocations: 1.065 MB / 0.5788 GB, free: 29.29 MB / 426.7 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.005018/0.3145, allocations: 3.961 MB / 0.5827 GB, free: 27.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006381/0.3208, allocations: 2.932 MB / 0.5856 GB, free: 26.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.322, allocations: 0.75 MB / 0.5863 GB, free: 25.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.3221, allocations: 16.22 kB / 0.5863 GB, free: 25.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001288/0.3234, allocations: 0.8953 MB / 0.5872 GB, free: 25.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 2.625e-06/0.3234, allocations: 2.188 kB / 0.5872 GB, free: 25.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02592/0.3493, allocations: 8.823 MB / 0.5958 GB, free: 23.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.3494, allocations: 115.2 kB / 0.5959 GB, free: 23.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.3508, allocations: 1.13 MB / 0.597 GB, free: 23.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.3509, allocations: 41.73 kB / 0.5971 GB, free: 23.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.3512, allocations: 0.4955 MB / 0.5975 GB, free: 22.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.3514, allocations: 367.8 kB / 0.5979 GB, free: 22.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.3516, allocations: 150.4 kB / 0.598 GB, free: 22.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.3516, allocations: 302 kB / 0.5983 GB, free: 22.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.3532, allocations: 0.8467 MB / 0.5991 GB, free: 21.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.3548, allocations: 1.015 MB / 0.6001 GB, free: 21.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02212/0.3769, allocations: 6.236 MB / 0.6062 GB, free: 19.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.3769, allocations: 1 kB / 0.6062 GB, free: 19.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01301/0.3899, allocations: 5.291 MB / 0.6114 GB, free: 17.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.39, allocations: 59.34 kB / 0.6115 GB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.39, allocations: 4 kB / 0.6115 GB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00514/0.3952, allocations: 1.912 MB / 0.6133 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.3963, allocations: 291.6 kB / 0.6136 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/0.4122, allocations: 8.939 MB / 0.6223 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.4139, allocations: 242.6 kB / 0.6226 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.414, allocations: 55.97 kB / 0.6226 GB, free: 5.875 MB / 426.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004739/0.4145, allocations: 313.7 kB / 0.6229 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.4146, allocations: 126.4 kB / 0.623 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/0.4257, allocations: 4.741 MB / 0.6277 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.4257, allocations: 12 kB / 0.6277 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4258, allocations: 8 kB / 0.6277 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.4258, allocations: 11.97 kB / 0.6277 GB, free: 0.625 MB / 426.7 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 postOpt removeSimpleEquations (simulation): time 0.01356/0.4393, allocations: 6.359 MB / 0.6339 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.4394, allocations: 4 kB / 0.6339 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.4399, allocations: 103.9 kB / 0.634 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005125/0.4451, allocations: 1.872 MB / 0.6358 GB, free: 8.176 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.4452, allocations: 23.98 kB / 0.6359 GB, free: 8.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0173/0.4625, allocations: 9.703 MB / 0.6453 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4625, allocations: 3.984 kB / 0.6453 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/0.476, allocations: 5.694 MB / 0.6509 GB, free: 8.434 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.4764, allocations: 235.2 kB / 0.6511 GB, free: 8.184 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.4766, allocations: 20 kB / 0.6511 GB, free: 8.164 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.4777, allocations: 151.8 kB / 0.6513 GB, free: 8.016 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004852/0.4782, allocations: 188.7 kB / 0.6515 GB, free: 7.828 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.558e-05/0.4783, allocations: 27.98 kB / 0.6515 GB, free: 7.801 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001002/0.4793, allocations: 0.7591 MB / 0.6522 GB, free: 7.035 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4793, allocations: 0 / 0.6522 GB, free: 7.035 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001211/0.4805, allocations: 487.5 kB / 0.6527 GB, free: 6.559 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002354/0.4808, allocations: 136.7 kB / 0.6528 GB, free: 6.414 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006055/0.4868, allocations: 2.873 MB / 0.6556 GB, free: 3.504 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4869, allocations: 8.062 kB / 0.6556 GB, free: 3.496 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003769/0.4906, allocations: 1.79 MB / 0.6574 GB, free: 1.672 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008125/0.4915, allocations: 123.6 kB / 0.6575 GB, free: 1.551 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.4951, allocations: 2.891 MB / 0.6603 GB, free: 14.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.4957, allocations: 1.132 MB / 0.6614 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004145/0.4961, allocations: 120.1 kB / 0.6616 GB, free: 13.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.4964, allocations: 79.41 kB / 0.6616 GB, free: 13.28 MB / 474.7 MB Notification: Performance of SimCode: time 4.5e-07/0.4964, allocations: 7.875 kB / 0.6616 GB, free: 13.27 MB / 474.7 MB Notification: Performance of Templates: time 0.02991/0.5263, allocations: 21.63 MB / 0.6828 GB, free: 7.664 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)