Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.408/1.408, allocations: 222.9 MB / 240.1 MB, free: 4.555 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.001587/0.001587, allocations: 187.8 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5315/0.5315, allocations: 91.9 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 82.78 kB / 0.5734 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1526, allocations: 71.29 MB / 0.643 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.007047/0.1597, allocations: 6.57 MB / 0.6494 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004382/0.1641, allocations: 1.966 MB / 0.6514 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009245/0.1651, allocations: 12 kB / 0.6514 GB, free: 11.01 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008037/0.1659, allocations: 238 kB / 0.6516 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.1682, allocations: 0.8545 MB / 0.6524 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.1696, allocations: 0.6329 MB / 0.6531 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001991/0.1716, allocations: 1.596 MB / 0.6546 GB, free: 7.691 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004965/0.1721, allocations: 318.4 kB / 0.6549 GB, free: 7.371 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009185/0.173, allocations: 0.6496 MB / 0.6555 GB, free: 6.719 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008675/0.1739, allocations: 0.8206 MB / 0.6564 GB, free: 5.895 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.1741, allocations: 120 kB / 0.6565 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005407/0.1746, allocations: 263.8 kB / 0.6567 GB, free: 5.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.1749, allocations: 330.6 kB / 0.657 GB, free: 5.195 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005856/0.1755, allocations: 0.6758 MB / 0.6577 GB, free: 4.516 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.1774, allocations: 1.665 MB / 0.6593 GB, free: 2.844 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1774, allocations: 3.984 kB / 0.6593 GB, free: 2.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1774, allocations: 0 / 0.6593 GB, free: 2.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.1775, allocations: 0 / 0.6593 GB, free: 2.84 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00884/0.1863, allocations: 2.73 MB / 0.662 GB, free: 40 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.1864, allocations: 8.031 kB / 0.662 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005118/0.1915, allocations: 0.7759 MB / 0.6628 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.1933, allocations: 0.8951 MB / 0.6636 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.1936, allocations: 260.2 kB / 0.6639 GB, free: 14.01 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.1938, allocations: 91.94 kB / 0.664 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.196, allocations: 1.078 MB / 0.665 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.196, allocations: 0 / 0.665 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/0.1961, allocations: 35.98 kB / 0.665 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.1961, allocations: 16 kB / 0.6651 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.1982, allocations: 0.9877 MB / 0.666 GB, free: 11.79 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.007428/0.2056, allocations: 3.848 MB / 0.6698 GB, free: 7.762 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007416/0.2131, allocations: 2.369 MB / 0.6721 GB, free: 5.297 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.2148, allocations: 0.6723 MB / 0.6728 GB, free: 4.621 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.215, allocations: 20.97 kB / 0.6728 GB, free: 4.602 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001763/0.2167, allocations: 0.8155 MB / 0.6736 GB, free: 3.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 5.039e-06/0.2168, allocations: 0 / 0.6736 GB, free: 3.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02836/0.2451, allocations: 7.078 MB / 0.6805 GB, free: 12.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.2452, allocations: 123.7 kB / 0.6806 GB, free: 12.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.247, allocations: 1.087 MB / 0.6817 GB, free: 11.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002548/0.2472, allocations: 49.69 kB / 0.6817 GB, free: 11.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.2476, allocations: 497.5 kB / 0.6822 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004024/0.248, allocations: 372.9 kB / 0.6825 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000524/0.2486, allocations: 287.5 kB / 0.6828 GB, free: 10.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2487, allocations: 309.1 kB / 0.6831 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.2503, allocations: 0.7574 MB / 0.6839 GB, free: 9.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.252, allocations: 0.9381 MB / 0.6848 GB, free: 8.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02342/0.2755, allocations: 5.571 MB / 0.6902 GB, free: 2.488 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.2755, allocations: 0 / 0.6902 GB, free: 2.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01428/0.2898, allocations: 4.344 MB / 0.6944 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.882e-05/0.29, allocations: 67.39 kB / 0.6945 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.29, allocations: 4 kB / 0.6945 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005411/0.2954, allocations: 1.505 MB / 0.696 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.297, allocations: 295.6 kB / 0.6963 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01949/0.3166, allocations: 8.285 MB / 0.7044 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.3186, allocations: 203 kB / 0.7046 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/0.3189, allocations: 63.97 kB / 0.7046 GB, free: 3.535 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.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 (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008984/0.3198, allocations: 296.3 kB / 0.7049 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003781/0.3202, allocations: 135.1 kB / 0.705 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.3326, allocations: 3.869 MB / 0.7088 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.598e-05/0.3327, allocations: 7.922 kB / 0.7088 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3327, allocations: 0 / 0.7088 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.3332, allocations: 228 kB / 0.709 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.3335, allocations: 24 kB / 0.7091 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.3348, allocations: 107.9 kB / 0.7092 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001072/0.3359, allocations: 432.3 kB / 0.7096 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006188/0.3421, allocations: 2.233 MB / 0.7117 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004425/0.3465, allocations: 2.27 MB / 0.714 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001255/0.3478, allocations: 0.5739 MB / 0.7145 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00132/0.3491, allocations: 0.7235 MB / 0.7152 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of Backend: time 8.12e-07/0.3492, allocations: 0 / 0.7152 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005845/0.355, allocations: 2.084 MB / 0.7173 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004015/0.359, allocations: 2.959 MB / 0.7202 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of Templates: time 0.03738/0.3964, allocations: 22.62 MB / 0.7422 GB, free: 12.77 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)