Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001217, allocations: 108.6 kB / 16.41 MB, free: 6.477 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.34/1.34, allocations: 222.9 MB / 240.1 MB, free: 4.48 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.001447/0.001448, allocations: 184.5 kB / 290.4 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5177/0.5177, allocations: 91.91 MB / 432.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 85.92 kB / 0.5735 GB, free: 33.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1383, allocations: 71.28 MB / 0.6431 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01944/0.1578, allocations: 21.74 MB / 0.6644 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.1712, allocations: 4.857 MB / 0.6691 GB, free: 8.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004159/0.1754, allocations: 40 kB / 0.6692 GB, free: 8.688 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.1777, allocations: 0.8789 MB / 0.67 GB, free: 7.801 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007685/0.1854, allocations: 2.282 MB / 0.6722 GB, free: 5.508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005519/0.191, allocations: 2.052 MB / 0.6742 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009563/0.2005, allocations: 5.705 MB / 0.6798 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/0.2026, allocations: 1.325 MB / 0.6811 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004196/0.2068, allocations: 2.322 MB / 0.6834 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003523/0.2103, allocations: 2.943 MB / 0.6862 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007189/0.2111, allocations: 436 kB / 0.6867 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.2124, allocations: 0.578 MB / 0.6872 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008535/0.2133, allocations: 1.147 MB / 0.6884 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00265/0.2159, allocations: 2.614 MB / 0.6909 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007608/0.2235, allocations: 6.242 MB / 0.697 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2236, allocations: 0 / 0.697 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2236, allocations: 0 / 0.697 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001425/0.2237, allocations: 0 / 0.697 GB, free: 12.04 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02958/0.2533, allocations: 9.312 MB / 0.7061 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2534, allocations: 11.97 kB / 0.7061 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02596/0.2793, allocations: 4.043 MB / 0.7101 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006468/0.2859, allocations: 2.697 MB / 0.7127 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008269/0.2867, allocations: 0.9495 MB / 0.7136 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006523/0.2874, allocations: 348 kB / 0.7139 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00877/0.2961, allocations: 4.719 MB / 0.7186 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.015e-05/0.2962, allocations: 11.94 kB / 0.7186 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003566/0.2966, allocations: 144 kB / 0.7187 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/0.2967, allocations: 84 kB / 0.7188 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008391/0.3051, allocations: 4.248 MB / 0.7229 GB, free: 1.129 MB / 0.5137 GB 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.03082/0.3359, allocations: 18.21 MB / 0.7407 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.3479, allocations: 4.996 MB / 0.7456 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005419/0.3533, allocations: 2.779 MB / 0.7483 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004926/0.3538, allocations: 70.91 kB / 0.7484 GB, free: 5.789 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006417/0.3603, allocations: 3.169 MB / 0.7515 GB, free: 2.578 MB / 0.545 GB Notification: Performance of pre-optimization done (n=382): time 7.654e-06/0.3603, allocations: 0 / 0.7515 GB, free: 2.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=382): time 0.6435/1.004, allocations: 68.21 MB / 0.8181 GB, free: 82.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/1.004, allocations: 149.7 kB / 0.8182 GB, free: 82.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004204/1.008, allocations: 3.231 MB / 0.8214 GB, free: 80.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001063/1.009, allocations: 87.39 kB / 0.8215 GB, free: 80.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/1.01, allocations: 2.003 MB / 0.8234 GB, free: 78.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001821/1.012, allocations: 1.369 MB / 0.8248 GB, free: 77.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/1.014, allocations: 0.6705 MB / 0.8254 GB, free: 77.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.121e-05/1.014, allocations: 305.1 kB / 0.8257 GB, free: 76.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004885/1.019, allocations: 2.577 MB / 0.8282 GB, free: 74.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005346/1.024, allocations: 3.205 MB / 0.8314 GB, free: 70.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06403/1.088, allocations: 18.76 MB / 0.8497 GB, free: 51.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-05/1.088, allocations: 8 kB / 0.8497 GB, free: 51.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05211/1.14, allocations: 16.96 MB / 0.8662 GB, free: 34.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/1.14, allocations: 63.41 kB / 0.8663 GB, free: 34.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/1.14, allocations: 12 kB / 0.8663 GB, free: 34.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02436/1.165, allocations: 7.225 MB / 0.8734 GB, free: 27.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003679/1.168, allocations: 0.6708 MB / 0.874 GB, free: 26.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07902/1.247, allocations: 33.75 MB / 0.907 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00632/1.254, allocations: 0.6213 MB / 0.9076 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005264/1.254, allocations: 160 kB / 0.9077 GB, free: 8.152 MB / 0.5762 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.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: 65 * 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.00191/1.256, allocations: 0.667 MB / 0.9084 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008982/1.257, allocations: 480.9 kB / 0.9089 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05503/1.312, allocations: 16.84 MB / 0.9253 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001102/1.312, allocations: 19.92 kB / 0.9253 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.312, allocations: 4 kB / 0.9253 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/1.314, allocations: 0.5794 MB / 0.9259 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00138/1.315, allocations: 60 kB / 0.9259 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00444/1.32, allocations: 387.5 kB / 0.9263 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006899/1.327, allocations: 1.902 MB / 0.9282 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02613/1.353, allocations: 8.314 MB / 0.9363 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02978/1.383, allocations: 8.201 MB / 0.9443 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01011/1.393, allocations: 2.268 MB / 0.9465 GB, free: 364 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006963/1.4, allocations: 2.114 MB / 0.9486 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of Backend: time 1.633e-06/1.4, allocations: 0 / 0.9486 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.04207/1.442, allocations: 7.012 MB / 0.9554 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of SimCode: time 0.01531/1.457, allocations: 9.05 MB / 0.9643 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.4192/1.877, allocations: 87.42 MB / 1.05 GB, free: 241.6 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)