Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001151, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 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 / 239.5 MB, free: 4.789 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.001588/0.001588, allocations: 195.6 kB / 289.8 MB, free: 2.527 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5058/0.5058, allocations: 91.9 MB / 431.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 79.89 kB / 0.5019 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3928, allocations: 71.26 MB / 0.5714 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01055/0.4034, allocations: 14.65 MB / 0.5857 GB, free: 26.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008025/0.4115, allocations: 3.68 MB / 0.5893 GB, free: 24.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/0.4148, allocations: 35.28 kB / 0.5894 GB, free: 24.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.4164, allocations: 431.9 kB / 0.5898 GB, free: 23.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004546/0.421, allocations: 1.25 MB / 0.591 GB, free: 23.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.4243, allocations: 1.425 MB / 0.5924 GB, free: 22.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005142/0.4294, allocations: 3.602 MB / 0.5959 GB, free: 20.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.431, allocations: 0.8077 MB / 0.5967 GB, free: 20.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.4339, allocations: 1.42 MB / 0.5981 GB, free: 19.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.4375, allocations: 1.909 MB / 0.6 GB, free: 18.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001529/0.439, allocations: 179.2 kB / 0.6001 GB, free: 18.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.4414, allocations: 318.9 kB / 0.6004 GB, free: 18.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.4429, allocations: 0.6614 MB / 0.6011 GB, free: 18.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003865/0.4468, allocations: 1.557 MB / 0.6026 GB, free: 17.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.4516, allocations: 3.071 MB / 0.6056 GB, free: 15.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.4516, allocations: 0.6562 kB / 0.6056 GB, free: 15.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4516, allocations: 3.938 kB / 0.6056 GB, free: 15.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000226/0.4518, allocations: 4 kB / 0.6056 GB, free: 15.89 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02946/0.4813, allocations: 6.674 MB / 0.6121 GB, free: 13.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.4814, allocations: 9.094 kB / 0.6121 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.4974, allocations: 2.283 MB / 0.6144 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005864/0.5033, allocations: 1.905 MB / 0.6162 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008698/0.5042, allocations: 0.7312 MB / 0.6169 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/0.5055, allocations: 220.5 kB / 0.6171 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00871/0.5142, allocations: 3.051 MB / 0.6201 GB, free: 9.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.5143, allocations: 1.594 kB / 0.6201 GB, free: 9.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002654/0.5146, allocations: 85.14 kB / 0.6202 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/0.5146, allocations: 50.53 kB / 0.6203 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006238/0.5209, allocations: 2.801 MB / 0.623 GB, free: 8.727 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.01871/0.5396, allocations: 9.969 MB / 0.6327 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.5509, allocations: 4.227 MB / 0.6369 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00417/0.5552, allocations: 1.981 MB / 0.6388 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.5555, allocations: 45.95 kB / 0.6388 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004544/0.56, allocations: 2.258 MB / 0.641 GB, free: 6.688 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 4.859e-06/0.56, allocations: 3.938 kB / 0.641 GB, free: 6.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.1223/0.6823, allocations: 28.81 MB / 0.6692 GB, free: 9.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.6825, allocations: 192.2 kB / 0.6694 GB, free: 9.523 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004242/0.6867, allocations: 2.329 MB / 0.6716 GB, free: 7.176 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001022/0.6878, allocations: 73.7 kB / 0.6717 GB, free: 7.098 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009888/0.6888, allocations: 1.172 MB / 0.6729 GB, free: 5.914 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001646/0.6904, allocations: 0.8858 MB / 0.6737 GB, free: 5.016 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/0.6918, allocations: 0.566 MB / 0.6743 GB, free: 4.441 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.6919, allocations: 305.1 kB / 0.6746 GB, free: 4.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004367/0.6963, allocations: 1.99 MB / 0.6765 GB, free: 2.148 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004915/0.7012, allocations: 2.358 MB / 0.6788 GB, free: 15.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05728/0.7586, allocations: 14.39 MB / 0.6929 GB, free: 1.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/0.7586, allocations: 3.938 kB / 0.6929 GB, free: 1.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.0417/0.8003, allocations: 12.6 MB / 0.7052 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.8005, allocations: 122.8 kB / 0.7053 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.8005, allocations: 4 kB / 0.7053 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01849/0.819, allocations: 5.43 MB / 0.7106 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/0.8224, allocations: 0.589 MB / 0.7112 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0568/0.8792, allocations: 21.74 MB / 0.7324 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/0.8844, allocations: 0.4892 MB / 0.7329 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006514/0.8851, allocations: 116 kB / 0.733 GB, free: 7.734 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 Syn2.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 (336): * Single equations (assignments): 331 * 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,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001503/0.8866, allocations: 0.5316 MB / 0.7335 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008696/0.8875, allocations: 304.2 kB / 0.7338 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0387/0.9262, allocations: 11.95 MB / 0.7455 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.432e-05/0.9263, allocations: 24 kB / 0.7455 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.107e-05/0.9264, allocations: 24 kB / 0.7455 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.813e-05/0.9264, allocations: 19.88 kB / 0.7455 GB, free: 10.77 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.04566/0.9721, allocations: 15.59 MB / 0.7608 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/0.9722, allocations: 0 / 0.7608 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/0.9741, allocations: 251.7 kB / 0.761 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01781/0.9919, allocations: 5.291 MB / 0.7662 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008172/0.9928, allocations: 55.98 kB / 0.7662 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3421/1.335, allocations: 22.66 MB / 0.7883 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.335, allocations: 1.219 kB / 0.7883 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04821/1.383, allocations: 14.34 MB / 0.8024 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.385, allocations: 422.1 kB / 0.8028 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007402/1.385, allocations: 45.39 kB / 0.8028 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/1.388, allocations: 299.2 kB / 0.8031 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002497/1.391, allocations: 0.5722 MB / 0.8036 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/1.391, allocations: 65.55 kB / 0.8037 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002514/1.394, allocations: 1.546 MB / 0.8052 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/1.394, allocations: 0 / 0.8052 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004407/1.398, allocations: 1.183 MB / 0.8064 GB, free: 155.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (159): * Single equations (assignments): 154 * 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.00049/1.399, allocations: 179.7 kB / 0.8065 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01789/1.417, allocations: 6.69 MB / 0.8131 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.417, allocations: 4.062 kB / 0.8131 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01305/1.43, allocations: 4.414 MB / 0.8174 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/1.433, allocations: 265 kB / 0.8176 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/1.444, allocations: 6.69 MB / 0.8242 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/1.445, allocations: 1.821 MB / 0.826 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/1.446, allocations: 177.5 kB / 0.8261 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/1.446, allocations: 0 / 0.8261 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07225/1.519, allocations: 64.61 MB / 0.8892 GB, free: 79.93 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)