Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001423, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.438/1.438, allocations: 222.9 MB / 239 MB, free: 4.715 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.001307/0.001307, allocations: 192.5 kB / 289.3 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5487/0.5487, allocations: 91.89 MB / 431.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 79.88 kB / 0.5014 GB, free: 8.082 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4593, allocations: 71.27 MB / 0.571 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01117/0.4705, allocations: 14.41 MB / 0.585 GB, free: 27.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009752/0.4803, allocations: 3.602 MB / 0.5886 GB, free: 24.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004615/0.485, allocations: 32.28 kB / 0.5886 GB, free: 24.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.4878, allocations: 436.2 kB / 0.589 GB, free: 24.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006772/0.4946, allocations: 1.225 MB / 0.5902 GB, free: 23.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004058/0.4987, allocations: 1.401 MB / 0.5916 GB, free: 22.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006252/0.5049, allocations: 3.694 MB / 0.5952 GB, free: 20.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.5071, allocations: 0.8926 MB / 0.5961 GB, free: 20.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.5106, allocations: 1.538 MB / 0.5976 GB, free: 19.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003562/0.5141, allocations: 1.958 MB / 0.5995 GB, free: 18.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.5156, allocations: 284.8 kB / 0.5997 GB, free: 18.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.5177, allocations: 435.3 kB / 0.6002 GB, free: 18.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007342/0.5185, allocations: 0.7561 MB / 0.6009 GB, free: 18.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002085/0.5206, allocations: 1.65 MB / 0.6025 GB, free: 16.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004806/0.5254, allocations: 3.92 MB / 0.6063 GB, free: 15.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.5254, allocations: 0 / 0.6063 GB, free: 15.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5254, allocations: 0 / 0.6063 GB, free: 15.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001439/0.5256, allocations: 0 / 0.6063 GB, free: 15.12 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02743/0.553, allocations: 6.578 MB / 0.6128 GB, free: 12.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/0.5531, allocations: 9.5 kB / 0.6128 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01634/0.5695, allocations: 2.273 MB / 0.615 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005382/0.5749, allocations: 1.88 MB / 0.6168 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007179/0.5756, allocations: 0.726 MB / 0.6175 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009171/0.5766, allocations: 219.9 kB / 0.6177 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007684/0.5843, allocations: 3.027 MB / 0.6207 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/0.5843, allocations: 0 / 0.6207 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/0.5846, allocations: 86.14 kB / 0.6208 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/0.5847, allocations: 54.06 kB / 0.6208 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006643/0.5913, allocations: 2.787 MB / 0.6236 GB, free: 7.996 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.02053/0.6119, allocations: 9.868 MB / 0.6332 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/0.6232, allocations: 4.176 MB / 0.6373 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005106/0.6283, allocations: 1.972 MB / 0.6392 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/0.6288, allocations: 45.95 kB / 0.6392 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005459/0.6343, allocations: 2.228 MB / 0.6414 GB, free: 5.762 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 6.352e-06/0.6343, allocations: 0 / 0.6414 GB, free: 5.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.1299/0.7642, allocations: 29.46 MB / 0.6702 GB, free: 8.176 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.7644, allocations: 184.2 kB / 0.6704 GB, free: 7.957 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004252/0.7686, allocations: 2.281 MB / 0.6726 GB, free: 5.656 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001089/0.7697, allocations: 77.69 kB / 0.6727 GB, free: 5.574 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009799/0.7707, allocations: 1.176 MB / 0.6738 GB, free: 4.387 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001738/0.7725, allocations: 0.8704 MB / 0.6747 GB, free: 3.504 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.7737, allocations: 0.55 MB / 0.6752 GB, free: 2.945 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7739, allocations: 309.1 kB / 0.6755 GB, free: 2.641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004215/0.7781, allocations: 1.947 MB / 0.6774 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004491/0.7826, allocations: 2.31 MB / 0.6796 GB, free: 14.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05527/0.8379, allocations: 14.04 MB / 0.6934 GB, free: 12 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-05/0.8379, allocations: 8 kB / 0.6934 GB, free: 4 kB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04153/0.8795, allocations: 12.28 MB / 0.7054 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.8796, allocations: 114.8 kB / 0.7055 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.86e-05/0.8797, allocations: 11.94 kB / 0.7055 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01831/0.898, allocations: 5.321 MB / 0.7107 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003331/0.9014, allocations: 0.5656 MB / 0.7112 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06063/0.9621, allocations: 23.51 MB / 0.7342 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00599/0.9681, allocations: 493 kB / 0.7347 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/0.9692, allocations: 123.9 kB / 0.7348 GB, free: 5.336 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 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 order3_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 (325): * Single equations (assignments): 320 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001841/0.9711, allocations: 0.5276 MB / 0.7353 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/0.9722, allocations: 300.3 kB / 0.7356 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03954/1.012, allocations: 11.9 MB / 0.7472 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.658e-05/1.012, allocations: 27.98 kB / 0.7472 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.302e-05/1.012, allocations: 20 kB / 0.7472 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.201e-05/1.012, allocations: 11.95 kB / 0.7473 GB, free: 8.484 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.04725/1.059, allocations: 15.49 MB / 0.7624 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.797e-05/1.059, allocations: 0 / 0.7624 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/1.061, allocations: 251.6 kB / 0.7626 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01823/1.079, allocations: 5.283 MB / 0.7678 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009135/1.08, allocations: 51.92 kB / 0.7678 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3957/1.476, allocations: 24.97 MB / 0.7922 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.476, allocations: 2.812 kB / 0.7922 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05076/1.527, allocations: 14.26 MB / 0.8061 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.528, allocations: 405.7 kB / 0.8065 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.53, allocations: 44.47 kB / 0.8066 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003409/1.533, allocations: 298.4 kB / 0.8068 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002392/1.535, allocations: 0.5913 MB / 0.8074 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003505/1.536, allocations: 66.7 kB / 0.8075 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002609/1.538, allocations: 1.503 MB / 0.809 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/1.538, allocations: 1.25 kB / 0.809 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004767/1.543, allocations: 1.179 MB / 0.8101 GB, free: 153.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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 {(66,22,7.7%)} * 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.0005769/1.544, allocations: 174.3 kB / 0.8103 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01979/1.564, allocations: 6.807 MB / 0.8169 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.564, allocations: 0.5625 kB / 0.8169 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01234/1.576, allocations: 4.407 MB / 0.8212 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/1.579, allocations: 276.9 kB / 0.8215 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/1.589, allocations: 6.388 MB / 0.8277 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.59, allocations: 1.807 MB / 0.8295 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001293/1.592, allocations: 259.6 kB / 0.8297 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005919/1.592, allocations: 173.3 kB / 0.8299 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.753e-06/1.592, allocations: 0 / 0.8299 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.08557/1.678, allocations: 62.48 MB / 0.8909 GB, free: 77.91 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)