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.001489/0.001489, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.373/1.373, allocations: 222.9 MB / 238.8 MB, free: 4.746 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.001387/0.001388, allocations: 188.5 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.55/0.55, allocations: 91.9 MB / 431.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 75.89 kB / 0.5012 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4489, allocations: 71.27 MB / 0.5708 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.012/0.461, allocations: 14.4 MB / 0.5849 GB, free: 27.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008916/0.47, allocations: 3.621 MB / 0.5884 GB, free: 24.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003751/0.4738, allocations: 35.19 kB / 0.5884 GB, free: 24.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.4759, allocations: 433.9 kB / 0.5889 GB, free: 24.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00587/0.4818, allocations: 1.229 MB / 0.5901 GB, free: 23.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004489/0.4863, allocations: 1.41 MB / 0.5914 GB, free: 22.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008907/0.4952, allocations: 3.515 MB / 0.5949 GB, free: 21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.4973, allocations: 0.8058 MB / 0.5956 GB, free: 20.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003995/0.5013, allocations: 1.391 MB / 0.597 GB, free: 19.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003901/0.5053, allocations: 1.861 MB / 0.5988 GB, free: 19.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009902/0.5063, allocations: 174.3 kB / 0.599 GB, free: 19.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.508, allocations: 310.5 kB / 0.5993 GB, free: 18.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006843/0.5087, allocations: 0.6615 MB / 0.5999 GB, free: 18.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002111/0.5109, allocations: 1.518 MB / 0.6014 GB, free: 17.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004822/0.5157, allocations: 3.811 MB / 0.6051 GB, free: 15.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.5157, allocations: 0 / 0.6051 GB, free: 15.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5157, allocations: 0 / 0.6051 GB, free: 15.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001846/0.5159, allocations: 0 / 0.6051 GB, free: 15.84 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.02793/0.5439, allocations: 6.583 MB / 0.6116 GB, free: 13.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.5439, allocations: 9.25 kB / 0.6116 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01588/0.5598, allocations: 2.277 MB / 0.6138 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005795/0.5657, allocations: 1.872 MB / 0.6156 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008341/0.5666, allocations: 0.7313 MB / 0.6163 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/0.5677, allocations: 214.5 kB / 0.6165 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008161/0.5759, allocations: 3.025 MB / 0.6195 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.576, allocations: 3.938 kB / 0.6195 GB, free: 9.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002787/0.5763, allocations: 89.47 kB / 0.6196 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-05/0.5764, allocations: 49.78 kB / 0.6196 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006947/0.5833, allocations: 2.782 MB / 0.6224 GB, free: 8.723 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.02149/0.6048, allocations: 9.871 MB / 0.632 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.6162, allocations: 4.192 MB / 0.6361 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004824/0.6211, allocations: 1.964 MB / 0.638 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/0.6216, allocations: 37.97 kB / 0.638 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005223/0.6268, allocations: 2.224 MB / 0.6402 GB, free: 6.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 4.879e-06/0.6268, allocations: 4 kB / 0.6402 GB, free: 6.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.1275/0.7544, allocations: 29.47 MB / 0.669 GB, free: 9.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.7545, allocations: 180.2 kB / 0.6692 GB, free: 9.055 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003962/0.7585, allocations: 2.277 MB / 0.6714 GB, free: 6.758 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0012/0.7597, allocations: 73.69 kB / 0.6715 GB, free: 6.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.7607, allocations: 1.179 MB / 0.6726 GB, free: 5.488 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001772/0.7625, allocations: 0.8665 MB / 0.6735 GB, free: 4.609 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/0.7637, allocations: 0.5539 MB / 0.674 GB, free: 4.047 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.7639, allocations: 305.1 kB / 0.6743 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004138/0.768, allocations: 1.947 MB / 0.6762 GB, free: 1.797 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004452/0.7725, allocations: 2.322 MB / 0.6785 GB, free: 15.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05379/0.8263, allocations: 14 MB / 0.6921 GB, free: 1.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.8264, allocations: 4 kB / 0.6921 GB, free: 1.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04028/0.8666, allocations: 12.29 MB / 0.7041 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.8668, allocations: 120.8 kB / 0.7042 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.8668, allocations: 11.92 kB / 0.7043 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01781/0.8846, allocations: 5.313 MB / 0.7094 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/0.888, allocations: 0.5656 MB / 0.71 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05627/0.9443, allocations: 21.59 MB / 0.7311 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005659/0.95, allocations: 493 kB / 0.7316 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005074/0.9505, allocations: 116 kB / 0.7317 GB, free: 8.41 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.0015/0.952, allocations: 0.5324 MB / 0.7322 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007948/0.9528, allocations: 296.3 kB / 0.7325 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03963/0.9924, allocations: 11.9 MB / 0.7441 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.351e-05/0.9925, allocations: 24 kB / 0.7441 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.36e-05/0.9926, allocations: 20 kB / 0.7441 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001006/0.9927, allocations: 11.95 kB / 0.7441 GB, free: 11.56 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.04704/1.04, allocations: 15.49 MB / 0.7593 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/1.04, allocations: 0 / 0.7593 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/1.042, allocations: 239.7 kB / 0.7595 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01786/1.059, allocations: 5.295 MB / 0.7647 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001019/1.061, allocations: 47.98 kB / 0.7647 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4466/1.507, allocations: 22.68 MB / 0.7869 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.507, allocations: 2.719 kB / 0.7869 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05016/1.557, allocations: 14.26 MB / 0.8008 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/1.56, allocations: 411.6 kB / 0.8012 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/1.561, allocations: 45.31 kB / 0.8012 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003753/1.565, allocations: 297.7 kB / 0.8015 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002809/1.568, allocations: 0.5672 MB / 0.8021 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003153/1.568, allocations: 68.91 kB / 0.8021 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002925/1.571, allocations: 1.507 MB / 0.8036 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.41e-07/1.571, allocations: 0 / 0.8036 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005111/1.576, allocations: 1.171 MB / 0.8047 GB, free: 156 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.0006077/1.577, allocations: 185.8 kB / 0.8049 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01894/1.596, allocations: 6.589 MB / 0.8114 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.596, allocations: 0 / 0.8114 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01339/1.609, allocations: 4.401 MB / 0.8157 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004795/1.614, allocations: 265 kB / 0.8159 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/1.627, allocations: 6.407 MB / 0.8222 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/1.628, allocations: 1.809 MB / 0.8239 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001586/1.63, allocations: 260.6 kB / 0.8242 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000588/1.63, allocations: 166.2 kB / 0.8243 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/1.63, allocations: 0 / 0.8243 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.08586/1.716, allocations: 59.07 MB / 0.882 GB, free: 86.68 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)