Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000853/0.0008531, allocations: 173.6 kB / 15.42 MB, free: 6.211 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.253/1.253, allocations: 222.8 MB / 239 MB, free: 1.812 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007225/0.0007225, allocations: 94.78 kB / 289.8 MB, free: 14.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5043/0.5043, allocations: 78.42 MB / 418.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003382, allocations: 8 kB / 498.5 MB, free: 3.797 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3081, allocations: 68.74 MB / 0.554 GB, free: 39.71 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01104/0.3192, allocations: 14.56 MB / 0.5682 GB, free: 31.71 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008612/0.3278, allocations: 3.651 MB / 0.5717 GB, free: 30.12 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00415/0.332, allocations: 31 kB / 0.5718 GB, free: 30.12 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.3341, allocations: 444.9 kB / 0.5722 GB, free: 29.95 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006418/0.3406, allocations: 1.231 MB / 0.5734 GB, free: 29.12 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.3442, allocations: 1.433 MB / 0.5748 GB, free: 28.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004595/0.3488, allocations: 3.567 MB / 0.5783 GB, free: 26.58 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.35, allocations: 0.7979 MB / 0.5791 GB, free: 26.14 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.352, allocations: 1.346 MB / 0.5804 GB, free: 25.51 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.3546, allocations: 1.798 MB / 0.5821 GB, free: 24.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008096/0.3555, allocations: 142.8 kB / 0.5823 GB, free: 24.69 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.3566, allocations: 287.1 kB / 0.5825 GB, free: 24.64 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004678/0.357, allocations: 0.6134 MB / 0.5831 GB, free: 24.28 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.3583, allocations: 1.477 MB / 0.5846 GB, free: 23.31 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.3612, allocations: 3.759 MB / 0.5883 GB, free: 21.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3612, allocations: 6.562 kB / 0.5883 GB, free: 21.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3612, allocations: 0 / 0.5883 GB, free: 21.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.868e-05/0.3613, allocations: 0 / 0.5883 GB, free: 21.87 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01917/0.3805, allocations: 5.998 MB / 0.5941 GB, free: 19.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3805, allocations: 13.41 kB / 0.5941 GB, free: 19.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008057/0.3814, allocations: 304.1 kB / 0.5944 GB, free: 19.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/0.3952, allocations: 2.275 MB / 0.5966 GB, free: 18.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.3985, allocations: 1.89 MB / 0.5985 GB, free: 17.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005805/0.3991, allocations: 0.7255 MB / 0.5992 GB, free: 17.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004024/0.3995, allocations: 216.3 kB / 0.5994 GB, free: 17.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005948/0.4055, allocations: 3.043 MB / 0.6024 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.4055, allocations: 0 / 0.6024 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.4057, allocations: 91.28 kB / 0.6025 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.4058, allocations: 53.48 kB / 0.6025 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005635/0.4114, allocations: 2.793 MB / 0.6052 GB, free: 14.93 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.01862/0.4301, allocations: 9.932 MB / 0.6149 GB, free: 8.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/0.4405, allocations: 4.214 MB / 0.6191 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004173/0.4447, allocations: 1.977 MB / 0.621 GB, free: 5.285 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/0.4451, allocations: 44.64 kB / 0.621 GB, free: 5.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004396/0.4495, allocations: 2.235 MB / 0.6232 GB, free: 3.984 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 5.63e-06/0.4495, allocations: 1.875 kB / 0.6232 GB, free: 3.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=249): time 0.1074/0.5569, allocations: 27.42 MB / 0.65 GB, free: 8.469 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5571, allocations: 188.2 kB / 0.6502 GB, free: 8.246 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003555/0.5606, allocations: 2.309 MB / 0.6524 GB, free: 5.918 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007706/0.5614, allocations: 77.69 kB / 0.6525 GB, free: 5.836 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009215/0.5623, allocations: 1.176 MB / 0.6536 GB, free: 4.648 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001144/0.5635, allocations: 0.8781 MB / 0.6545 GB, free: 3.758 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/0.5639, allocations: 288.6 kB / 0.6548 GB, free: 3.469 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.564, allocations: 309.1 kB / 0.6551 GB, free: 3.164 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004049/0.5681, allocations: 1.97 MB / 0.657 GB, free: 1.191 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004309/0.5724, allocations: 2.35 MB / 0.6593 GB, free: 14.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05332/0.6257, allocations: 14.25 MB / 0.6732 GB, free: 276 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.706e-05/0.6258, allocations: 7.938 kB / 0.6732 GB, free: 268 kB / 474.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.03916/0.6649, allocations: 12.54 MB / 0.6855 GB, free: 3.648 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.6651, allocations: 114.8 kB / 0.6856 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/0.6652, allocations: 12 kB / 0.6856 GB, free: 3.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01714/0.6823, allocations: 5.257 MB / 0.6907 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003232/0.6856, allocations: 0.589 MB / 0.6913 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05243/0.738, allocations: 21.31 MB / 0.7121 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004582/0.7426, allocations: 493 kB / 0.7126 GB, free: 7.695 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005531/0.7432, allocations: 120 kB / 0.7127 GB, free: 7.578 MB / 0.5105 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (334): * Single equations (assignments): 329 * 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.001432/0.7447, allocations: 0.5437 MB / 0.7132 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007156/0.7454, allocations: 300.2 kB / 0.7135 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03905/0.7844, allocations: 11.93 MB / 0.7251 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/0.7845, allocations: 24 kB / 0.7252 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.073e-05/0.7846, allocations: 20 kB / 0.7252 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.825e-05/0.7846, allocations: 11.95 kB / 0.7252 GB, free: 10.65 MB / 0.5261 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.04424/0.8289, allocations: 15.56 MB / 0.7404 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-05/0.829, allocations: 64 / 0.7404 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/0.8306, allocations: 255.6 kB / 0.7406 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01743/0.8481, allocations: 5.308 MB / 0.7458 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007152/0.8488, allocations: 47.98 kB / 0.7459 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3023/1.151, allocations: 22.66 MB / 0.768 GB, free: 164 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.151, allocations: 1.75 kB / 0.768 GB, free: 164 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04221/1.193, allocations: 14.32 MB / 0.782 GB, free: 163.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008671/1.194, allocations: 418 kB / 0.7824 GB, free: 163.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004898/1.195, allocations: 44.62 kB / 0.7824 GB, free: 163.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002789/1.198, allocations: 300.1 kB / 0.7827 GB, free: 163.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001939/1.2, allocations: 0.5667 MB / 0.7833 GB, free: 163.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/1.2, allocations: 67.75 kB / 0.7833 GB, free: 163.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001915/1.202, allocations: 1.531 MB / 0.7848 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.202, allocations: 0 / 0.7848 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002838/1.205, allocations: 1.178 MB / 0.786 GB, free: 163.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.04295/1.247, allocations: 14.95 MB / 0.8006 GB, free: 160.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01691/1.264, allocations: 6.646 MB / 0.8071 GB, free: 157.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.264, allocations: 1.062 kB / 0.8071 GB, free: 157.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01228/1.277, allocations: 4.427 MB / 0.8114 GB, free: 156.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/1.279, allocations: 267.4 kB / 0.8116 GB, free: 156 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1016/1.381, allocations: 47.43 MB / 0.858 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.382, allocations: 1.811 MB / 0.8597 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001306/1.383, allocations: 274.5 kB / 0.86 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/1.384, allocations: 1.23 MB / 0.8612 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of SimCode: time 5.21e-07/1.384, allocations: 0 / 0.8612 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/1.487, allocations: 80.22 MB / 0.9395 GB, free: 31.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/1.487, allocations: 246.9 kB / 0.9398 GB, free: 30.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.594/6.081, allocations: 2.25 kB / 0.9398 GB, free: 30.98 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)