Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007864/0.0007864, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8433/0.8433, allocations: 177.1 MB / 199.4 MB, free: 5.945 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000964/0.000964, allocations: 156.6 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2586/0.2586, allocations: 80.25 MB / 392.6 MB, free: 2.441 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.5549 GB, free: 12.6 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.375e-05, allocations: 2.281 kB / 0.5549 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01115/0.01117, allocations: 18.57 MB / 0.573 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007209/0.01837, allocations: 4.861 MB / 0.5778 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.01973, allocations: 47.94 kB / 0.5778 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.02088, allocations: 0.8826 MB / 0.5787 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.02377, allocations: 2.364 MB / 0.581 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.02627, allocations: 2.086 MB / 0.583 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003182/0.02945, allocations: 5.928 MB / 0.5888 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008289/0.03028, allocations: 0.8572 MB / 0.5897 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.03248, allocations: 3.339 MB / 0.5929 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.03403, allocations: 2.289 MB / 0.5952 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003699/0.0344, allocations: 448 kB / 0.5956 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006302/0.03503, allocations: 0.6052 MB / 0.5962 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005648/0.0356, allocations: 1.178 MB / 0.5973 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.1782/0.2138, allocations: 1.742 MB / 0.599 GB, free: 64.49 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00393/0.2177, allocations: 6.365 MB / 0.6052 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.2178, allocations: 0 / 0.6052 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2178, allocations: 0 / 0.6052 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.688e-05/0.2178, allocations: 1.312 kB / 0.6052 GB, free: 64.09 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01501/0.2328, allocations: 9.909 MB / 0.6149 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2329, allocations: 8.875 kB / 0.6149 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000473/0.2333, allocations: 490.9 kB / 0.6154 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01351/0.2468, allocations: 4.053 MB / 0.6194 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.2506, allocations: 2.599 MB / 0.6219 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000478/0.2511, allocations: 1.032 MB / 0.6229 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004857/0.2515, allocations: 355 kB / 0.6232 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005808/0.2574, allocations: 4.769 MB / 0.6279 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.2574, allocations: 0 / 0.6279 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/0.2577, allocations: 143.2 kB / 0.628 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/0.2577, allocations: 84.38 kB / 0.6281 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005244/0.263, allocations: 4.254 MB / 0.6323 GB, free: 56.29 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.01526/0.2782, allocations: 13.45 MB / 0.6454 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005989/0.2842, allocations: 4.368 MB / 0.6497 GB, free: 46.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/0.2871, allocations: 2.52 MB / 0.6521 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.2873, allocations: 60.22 kB / 0.6522 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003251/0.2906, allocations: 3.212 MB / 0.6553 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=384): time 4.839e-06/0.2906, allocations: 0 / 0.6553 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=384): time 0.1496/0.4402, allocations: 67.54 MB / 0.7213 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.4402, allocations: 141.8 kB / 0.7214 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.4434, allocations: 3.285 MB / 0.7246 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000292/0.4437, allocations: 89.7 kB / 0.7247 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009517/0.4447, allocations: 2.007 MB / 0.7267 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009943/0.4457, allocations: 1.367 MB / 0.728 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000979/0.4467, allocations: 0.681 MB / 0.7287 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.211e-05/0.4467, allocations: 301.1 kB / 0.729 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/0.4501, allocations: 2.659 MB / 0.7316 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003694/0.4538, allocations: 3.286 MB / 0.7348 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03658/0.4904, allocations: 19.22 MB / 0.7535 GB, free: 7.383 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.4904, allocations: 4 kB / 0.7535 GB, free: 7.379 MB / 0.573 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.03091/0.5213, allocations: 17.25 MB / 0.7704 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/0.5214, allocations: 63.41 kB / 0.7705 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.5214, allocations: 15.75 kB / 0.7705 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01336/0.5348, allocations: 7.15 MB / 0.7774 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/0.5368, allocations: 0.6915 MB / 0.7781 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04962/0.5864, allocations: 32.39 MB / 0.8098 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/0.5902, allocations: 0.6337 MB / 0.8104 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.5904, allocations: 152 kB / 0.8105 GB, free: 13.09 MB / 0.6355 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 2 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001435/0.5919, allocations: 0.6728 MB / 0.8112 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000604/0.5925, allocations: 484.8 kB / 0.8116 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02952/0.622, allocations: 16.76 MB / 0.828 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.622, allocations: 40 kB / 0.828 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.483e-05/0.6221, allocations: 31.94 kB / 0.8281 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.642e-05/0.6221, allocations: 15.94 kB / 0.8281 GB, free: 11.16 MB / 0.6511 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.03378/0.6559, allocations: 20.42 MB / 0.848 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.6559, allocations: 0 / 0.848 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.657, allocations: 390.1 kB / 0.8484 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1866/0.8435, allocations: 7.366 MB / 0.8556 GB, free: 229 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008053/0.8443, allocations: 75.61 kB / 0.8557 GB, free: 229 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04437/0.8887, allocations: 30.77 MB / 0.8857 GB, free: 219.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8887, allocations: 1 kB / 0.8857 GB, free: 219.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03124/0.9199, allocations: 20.2 MB / 0.9055 GB, free: 214.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008354/0.9208, allocations: 0.5097 MB / 0.906 GB, free: 213.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003782/0.9211, allocations: 67.52 kB / 0.906 GB, free: 213.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.9231, allocations: 377.3 kB / 0.9064 GB, free: 213.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001693/0.9248, allocations: 0.8197 MB / 0.9072 GB, free: 213.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/0.925, allocations: 91.19 kB / 0.9073 GB, free: 213.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001592/0.9266, allocations: 2.14 MB / 0.9094 GB, free: 212.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9266, allocations: 0 / 0.9094 GB, free: 212.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0026/0.9292, allocations: 1.814 MB / 0.9111 GB, free: 211.9 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03005/0.9592, allocations: 20.87 MB / 0.9315 GB, free: 194.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01218/0.9714, allocations: 8.862 MB / 0.9402 GB, free: 185.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.9714, allocations: 0 / 0.9402 GB, free: 185.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.008804/0.9802, allocations: 5.907 MB / 0.9459 GB, free: 179.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.9821, allocations: 381 kB / 0.9463 GB, free: 179.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07501/1.057, allocations: 59.15 MB / 1.004 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009781/1.058, allocations: 1.937 MB / 1.006 GB, free: 117.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008192/1.059, allocations: 380.5 kB / 1.006 GB, free: 117.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/1.06, allocations: 2.031 MB / 1.008 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of SimCode: time 8.12e-07/1.06, allocations: 0 / 1.008 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2717/1.332, allocations: 138.1 MB / 1.143 GB, free: 220 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.43, allocations: 1.469 kB / 1.143 GB, free: 220 MB / 0.6667 GB " [Timeout remaining time 646] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.827773271128535] Failed to read output from testmodel.py, exit status != 0: 13.573965735733509 13.581888518 13.3626209 Calling exit ...