Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001341, allocations: 169.4 kB / 16.1 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.3 MB / 240.1 MB, free: 11.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009296/0.0009293, allocations: 91.08 kB / 291.3 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4789/0.4789, allocations: 78.62 MB / 421 MB, free: 9.082 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004183, allocations: 12 kB / 0.4894 GB, free: 9.273 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3353, allocations: 69.35 MB / 0.5571 GB, free: 18.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01111/0.3465, allocations: 13.7 MB / 0.5705 GB, free: 5.062 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009014/0.3556, allocations: 3.577 MB / 0.574 GB, free: 1.477 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/0.3588, allocations: 36 kB / 0.574 GB, free: 1.441 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.3603, allocations: 445.1 kB / 0.5745 GB, free: 1.004 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004937/0.3653, allocations: 1.205 MB / 0.5756 GB, free: 15.8 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00376/0.369, allocations: 1.406 MB / 0.577 GB, free: 14.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006299/0.3753, allocations: 3.526 MB / 0.5805 GB, free: 10.87 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.3767, allocations: 0.7885 MB / 0.5812 GB, free: 10.03 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002772/0.3795, allocations: 1.325 MB / 0.5825 GB, free: 8.699 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002339/0.3819, allocations: 1.773 MB / 0.5843 GB, free: 6.918 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003736/0.3823, allocations: 143.9 kB / 0.5844 GB, free: 6.777 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008997/0.3832, allocations: 275.9 kB / 0.5847 GB, free: 6.508 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006073/0.3838, allocations: 0.6022 MB / 0.5852 GB, free: 5.902 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.3854, allocations: 1.488 MB / 0.5867 GB, free: 4.398 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003305/0.3887, allocations: 2.941 MB / 0.5896 GB, free: 1.449 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.3887, allocations: 0 / 0.5896 GB, free: 1.449 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.3887, allocations: 4 kB / 0.5896 GB, free: 1.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.266e-05/0.3888, allocations: 0 / 0.5896 GB, free: 1.445 MB / 394.7 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.02165/0.4105, allocations: 6.123 MB / 0.5956 GB, free: 11.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.4105, allocations: 12.03 kB / 0.5956 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0148/0.4254, allocations: 2.294 MB / 0.5978 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004363/0.4298, allocations: 1.874 MB / 0.5996 GB, free: 6.977 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00077/0.4306, allocations: 0.7565 MB / 0.6004 GB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005032/0.4311, allocations: 219.9 kB / 0.6006 GB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006459/0.4375, allocations: 3.223 MB / 0.6037 GB, free: 2.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/0.4376, allocations: 0 / 0.6037 GB, free: 2.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.4379, allocations: 87.92 kB / 0.6038 GB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.008e-05/0.4379, allocations: 52 kB / 0.6039 GB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006233/0.4442, allocations: 2.987 MB / 0.6068 GB, free: 15.45 MB / 426.7 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.01911/0.4633, allocations: 10.13 MB / 0.6167 GB, free: 4.898 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/0.4746, allocations: 4.872 MB / 0.6214 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004493/0.4791, allocations: 2.159 MB / 0.6235 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/0.4795, allocations: 41.95 kB / 0.6236 GB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004836/0.4843, allocations: 2.435 MB / 0.626 GB, free: 11.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=247): time 5.661e-06/0.4844, allocations: 0 / 0.626 GB, free: 11.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=247): time 0.1302/0.6145, allocations: 36.49 MB / 0.6616 GB, free: 6.621 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.6147, allocations: 188.3 kB / 0.6618 GB, free: 6.398 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004357/0.6191, allocations: 2.285 MB / 0.664 GB, free: 4.094 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006214/0.6197, allocations: 69.7 kB / 0.6641 GB, free: 4.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.6209, allocations: 1.172 MB / 0.6652 GB, free: 2.836 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001402/0.6223, allocations: 0.8703 MB / 0.6661 GB, free: 1.953 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008362/0.6231, allocations: 284.5 kB / 0.6663 GB, free: 1.668 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.6233, allocations: 309.1 kB / 0.6666 GB, free: 1.363 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00506/0.6283, allocations: 2.146 MB / 0.6687 GB, free: 15.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005292/0.6336, allocations: 2.521 MB / 0.6712 GB, free: 12.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3371/0.9707, allocations: 15.42 MB / 0.6862 GB, free: 105.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/0.9708, allocations: 3.938 kB / 0.6862 GB, free: 105.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04539/1.016, allocations: 15.1 MB / 0.701 GB, free: 102.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.218e-05/1.016, allocations: 110.7 kB / 0.7011 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/1.016, allocations: 7.906 kB / 0.7011 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01727/1.034, allocations: 6.303 MB / 0.7073 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/1.036, allocations: 0.5604 MB / 0.7078 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05451/1.091, allocations: 24.77 MB / 0.732 GB, free: 79.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004704/1.096, allocations: 0.5885 MB / 0.7326 GB, free: 78.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007631/1.097, allocations: 121.4 kB / 0.7327 GB, free: 78.67 MB / 490.7 MB 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.002137/1.099, allocations: 0.5281 MB / 0.7332 GB, free: 78.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/1.1, allocations: 296.3 kB / 0.7335 GB, free: 77.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04201/1.142, allocations: 14.75 MB / 0.7479 GB, free: 63.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4e-05/1.142, allocations: 29.53 kB / 0.7479 GB, free: 63.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.699e-05/1.142, allocations: 19.98 kB / 0.7479 GB, free: 63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-05/1.142, allocations: 15.95 kB / 0.748 GB, free: 62.98 MB / 490.7 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 postOpt removeSimpleEquations (simulation): time 0.04669/1.189, allocations: 18.33 MB / 0.7659 GB, free: 44.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.602e-05/1.189, allocations: 4.438 kB / 0.7659 GB, free: 44.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/1.19, allocations: 247.6 kB / 0.7661 GB, free: 44.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01651/1.207, allocations: 6.269 MB / 0.7722 GB, free: 38.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005311/1.207, allocations: 59.98 kB / 0.7723 GB, free: 38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05075/1.258, allocations: 25.53 MB / 0.7972 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.258, allocations: 3.938 kB / 0.7972 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04442/1.303, allocations: 17.3 MB / 0.8141 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/1.304, allocations: 419.5 kB / 0.8145 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009001/1.305, allocations: 44 kB / 0.8145 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003356/1.308, allocations: 407.6 kB / 0.8149 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00227/1.31, allocations: 0.571 MB / 0.8155 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003657/1.311, allocations: 67.98 kB / 0.8156 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002693/1.313, allocations: 1.507 MB / 0.817 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/1.313, allocations: 0 / 0.817 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004261/1.318, allocations: 1.173 MB / 0.8182 GB, free: 6.492 MB / 0.4948 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.0005813/1.318, allocations: 175.9 kB / 0.8183 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01881/1.337, allocations: 7.479 MB / 0.8256 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.337, allocations: 1.75 kB / 0.8256 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01378/1.351, allocations: 5.075 MB / 0.8306 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/1.354, allocations: 261.2 kB / 0.8309 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/1.366, allocations: 6.582 MB / 0.8373 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/1.367, allocations: 1.806 MB / 0.839 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009329/1.368, allocations: 183.4 kB / 0.8392 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/1.368, allocations: 0 / 0.8392 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of Templates: time 0.08409/1.452, allocations: 63.45 MB / 0.9012 GB, free: 1.23 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)