Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 105.9 kB / 16.36 MB, free: 6.289 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.282/1.282, allocations: 222.9 MB / 240 MB, free: 4.559 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.001184/0.001184, allocations: 184.5 kB / 290.3 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5337/0.5337, allocations: 91.9 MB / 432.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 83.88 kB / 0.5033 GB, free: 6.992 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3391, allocations: 71.27 MB / 0.5729 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01025/0.3494, allocations: 13.7 MB / 0.5863 GB, free: 27.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007587/0.3571, allocations: 3.484 MB / 0.5897 GB, free: 25.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.3589, allocations: 36.41 kB / 0.5897 GB, free: 25.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.3602, allocations: 0.5518 MB / 0.5902 GB, free: 25.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.3637, allocations: 1.425 MB / 0.5916 GB, free: 24.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.3669, allocations: 1.509 MB / 0.5931 GB, free: 23.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004372/0.3713, allocations: 3.728 MB / 0.5967 GB, free: 21.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.3724, allocations: 0.9006 MB / 0.5976 GB, free: 21.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.3744, allocations: 1.518 MB / 0.5991 GB, free: 20.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.3762, allocations: 1.95 MB / 0.601 GB, free: 19.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004098/0.3766, allocations: 284.2 kB / 0.6013 GB, free: 19.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008112/0.3774, allocations: 439.3 kB / 0.6017 GB, free: 19.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004651/0.3779, allocations: 0.7551 MB / 0.6024 GB, free: 18.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.379, allocations: 1.635 MB / 0.604 GB, free: 17.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003727/0.3828, allocations: 3.97 MB / 0.6079 GB, free: 15.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3828, allocations: 0 / 0.6079 GB, free: 15.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3828, allocations: 0 / 0.6079 GB, free: 15.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.534e-05/0.3829, allocations: 1.125 kB / 0.6079 GB, free: 15.79 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02128/0.4042, allocations: 6.575 MB / 0.6143 GB, free: 13.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.4042, allocations: 9.281 kB / 0.6143 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/0.4184, allocations: 2.281 MB / 0.6166 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004158/0.4226, allocations: 1.868 MB / 0.6184 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005911/0.4232, allocations: 0.7219 MB / 0.6191 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004352/0.4237, allocations: 228 kB / 0.6193 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006131/0.4298, allocations: 3.033 MB / 0.6223 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.153e-05/0.4299, allocations: 1.344 kB / 0.6223 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/0.4301, allocations: 88.95 kB / 0.6224 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/0.4302, allocations: 49.88 kB / 0.6224 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005758/0.4359, allocations: 2.786 MB / 0.6251 GB, free: 8.363 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.01549/0.4514, allocations: 9.844 MB / 0.6347 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009862/0.4613, allocations: 4.188 MB / 0.6388 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003644/0.465, allocations: 1.968 MB / 0.6408 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/0.4653, allocations: 41.89 kB / 0.6408 GB, free: 8.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004158/0.4694, allocations: 2.232 MB / 0.643 GB, free: 5.773 MB / 446.1 MB Notification: Performance of pre-optimization done (n=248): time 3.647e-06/0.4694, allocations: 0 / 0.643 GB, free: 5.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=248): time 0.1082/0.5777, allocations: 28.18 MB / 0.6705 GB, free: 9.461 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.5779, allocations: 188.2 kB / 0.6707 GB, free: 9.238 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004553/0.5824, allocations: 2.269 MB / 0.6729 GB, free: 6.949 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009593/0.5834, allocations: 73.77 kB / 0.673 GB, free: 6.871 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009152/0.5843, allocations: 1.164 MB / 0.6741 GB, free: 5.695 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/0.5855, allocations: 0.8665 MB / 0.6749 GB, free: 4.816 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.5866, allocations: 0.5618 MB / 0.6755 GB, free: 4.246 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5867, allocations: 301.1 kB / 0.6758 GB, free: 3.949 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00404/0.5907, allocations: 1.954 MB / 0.6777 GB, free: 1.992 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004314/0.595, allocations: 2.318 MB / 0.68 GB, free: 15.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05051/0.6456, allocations: 14.02 MB / 0.6936 GB, free: 1.328 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.6456, allocations: 0 / 0.6936 GB, free: 1.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.03852/0.6841, allocations: 12.51 MB / 0.7059 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.6843, allocations: 114.8 kB / 0.706 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.6843, allocations: 11.94 kB / 0.706 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01627/0.7006, allocations: 5.281 MB / 0.7111 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/0.7037, allocations: 0.5773 MB / 0.7117 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05447/0.7582, allocations: 23.16 MB / 0.7343 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004737/0.763, allocations: 489.1 kB / 0.7348 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004839/0.7635, allocations: 116 kB / 0.7349 GB, free: 6.809 MB / 0.5294 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001393/0.7649, allocations: 0.5385 MB / 0.7354 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006854/0.7656, allocations: 300.3 kB / 0.7357 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03575/0.8013, allocations: 11.9 MB / 0.7473 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/0.8014, allocations: 24 kB / 0.7474 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.747e-05/0.8015, allocations: 16 kB / 0.7474 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.64e-05/0.8015, allocations: 15.95 kB / 0.7474 GB, free: 9.953 MB / 0.545 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 postOpt removeSimpleEquations (simulation): time 0.04169/0.8432, allocations: 15.5 MB / 0.7625 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/0.8433, allocations: 0 / 0.7625 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.845, allocations: 255.6 kB / 0.7628 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01631/0.8613, allocations: 5.239 MB / 0.7679 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006493/0.862, allocations: 51.98 kB / 0.7679 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.333/1.195, allocations: 24.93 MB / 0.7923 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.195, allocations: 5 kB / 0.7923 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04397/1.239, allocations: 14.28 MB / 0.8062 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.24, allocations: 406.8 kB / 0.8066 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000747/1.241, allocations: 47.52 kB / 0.8067 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/1.244, allocations: 298.1 kB / 0.8069 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001971/1.246, allocations: 0.5888 MB / 0.8075 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002183/1.246, allocations: 64.75 kB / 0.8076 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002155/1.248, allocations: 1.5 MB / 0.809 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.248, allocations: 0 / 0.809 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00393/1.252, allocations: 1.175 MB / 0.8102 GB, free: 154.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(65,23,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004684/1.253, allocations: 172.9 kB / 0.8104 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01568/1.268, allocations: 6.623 MB / 0.8168 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.268, allocations: 0.5625 kB / 0.8168 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0112/1.28, allocations: 4.394 MB / 0.8211 GB, free: 149 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/1.282, allocations: 269.7 kB / 0.8214 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008505/1.291, allocations: 5.33 MB / 0.8266 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009963/1.292, allocations: 1.8 MB / 0.8283 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009931/1.293, allocations: 268.7 kB / 0.8286 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/1.293, allocations: 171 kB / 0.8288 GB, free: 142 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/1.293, allocations: 0 / 0.8288 GB, free: 142 MB / 0.5606 GB Notification: Performance of Templates: time 0.07785/1.371, allocations: 63.03 MB / 0.8903 GB, free: 79.52 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)