Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.001468/0.001468, allocations: 104.5 kB / 16.45 MB, free: 6.453 MB / 14.72 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 1.508/1.508, allocations: 230.6 MB / 249.8 MB, free: 9.203 MB / 206.1 MB " [Timeout remaining time 178] 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.001628/0.001628, allocations: 208.4 kB / 306 MB, free: 4.273 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5754/0.5754, allocations: 101.3 MB / 463.4 MB, free: 11.87 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00248/0.00248, allocations: 83.88 kB / 0.6193 GB, free: 15.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1688, allocations: 78.58 MB / 0.6961 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.352/0.5208, allocations: 6.564 MB / 0.7025 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005604/0.5264, allocations: 2.016 MB / 0.7044 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.5281, allocations: 9.906 kB / 0.7044 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008741/0.5289, allocations: 242.5 kB / 0.7047 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.5316, allocations: 0.8711 MB / 0.7055 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.5331, allocations: 0.621 MB / 0.7061 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002305/0.5354, allocations: 1.584 MB / 0.7077 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004426/0.5359, allocations: 221.2 kB / 0.7079 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.537, allocations: 0.6746 MB / 0.7086 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.5381, allocations: 0.8479 MB / 0.7094 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.5383, allocations: 121.2 kB / 0.7095 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006867/0.539, allocations: 278.9 kB / 0.7098 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.5393, allocations: 332.3 kB / 0.7101 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006285/0.5399, allocations: 0.669 MB / 0.7107 GB, free: 296 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002855/0.5428, allocations: 1.682 MB / 0.7124 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.5428, allocations: 7.125 kB / 0.7124 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5428, allocations: 0 / 0.7124 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.333e-05/0.5428, allocations: 0 / 0.7124 GB, free: 15.53 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.01021/0.553, allocations: 2.759 MB / 0.7151 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5531, allocations: 12.53 kB / 0.7151 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.5533, allocations: 128.4 kB / 0.7152 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005421/0.5587, allocations: 0.7925 MB / 0.716 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002157/0.5609, allocations: 0.8897 MB / 0.7169 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003365/0.5612, allocations: 260.5 kB / 0.7171 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.5614, allocations: 87.08 kB / 0.7172 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.5639, allocations: 1.087 MB / 0.7182 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.5639, allocations: 0 / 0.7182 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.564, allocations: 30.69 kB / 0.7183 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.5641, allocations: 18.44 kB / 0.7183 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.5666, allocations: 0.9859 MB / 0.7193 GB, free: 12.32 MB / 0.4981 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.00955/0.5762, allocations: 3.815 MB / 0.723 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00887/0.5851, allocations: 2.295 MB / 0.7252 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.5868, allocations: 0.6158 MB / 0.7258 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.5869, allocations: 21.84 kB / 0.7258 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001877/0.5888, allocations: 0.8193 MB / 0.7266 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=95): time 3.537e-06/0.5888, allocations: 0 / 0.7266 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95): time 0.03146/0.6203, allocations: 7.163 MB / 0.7336 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.6204, allocations: 121.6 kB / 0.7338 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.6226, allocations: 1.095 MB / 0.7348 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003517/0.6229, allocations: 45.45 kB / 0.7349 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/0.6234, allocations: 0.4885 MB / 0.7353 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000639/0.624, allocations: 366.1 kB / 0.7357 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006337/0.6247, allocations: 283.5 kB / 0.736 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.6248, allocations: 302.3 kB / 0.7363 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.6266, allocations: 0.7556 MB / 0.737 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.6287, allocations: 0.9333 MB / 0.7379 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02695/0.6556, allocations: 5.769 MB / 0.7435 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.6556, allocations: 0.9688 kB / 0.7435 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01501/0.6706, allocations: 4.345 MB / 0.7478 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.006e-05/0.6707, allocations: 63.39 kB / 0.7478 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.6707, allocations: 0 / 0.7478 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00621/0.6769, allocations: 1.592 MB / 0.7494 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.6786, allocations: 283.6 kB / 0.7497 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/0.7007, allocations: 8.512 MB / 0.758 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.703, allocations: 211.1 kB / 0.7582 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.7032, allocations: 59.92 kB / 0.7582 GB, free: 1.695 MB / 0.5137 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007814/0.704, allocations: 302.2 kB / 0.7585 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/0.7043, allocations: 127.2 kB / 0.7586 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/0.718, allocations: 3.849 MB / 0.7624 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.718, allocations: 12 kB / 0.7624 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.718, allocations: 4 kB / 0.7624 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.531e-05/0.718, allocations: 3.984 kB / 0.7624 GB, free: 13.36 MB / 0.5294 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.01601/0.7341, allocations: 5.432 MB / 0.7677 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.7341, allocations: 0 / 0.7677 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006944/0.7348, allocations: 99.83 kB / 0.7678 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006054/0.7408, allocations: 1.598 MB / 0.7694 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002769/0.7411, allocations: 31.98 kB / 0.7694 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02259/0.7637, allocations: 9.647 MB / 0.7788 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7637, allocations: 0 / 0.7788 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/0.7796, allocations: 4.724 MB / 0.7835 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007433/0.7803, allocations: 236 kB / 0.7837 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.7805, allocations: 19.94 kB / 0.7837 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.7818, allocations: 107.9 kB / 0.7838 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000684/0.7824, allocations: 193.9 kB / 0.784 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/0.7825, allocations: 28 kB / 0.784 GB, free: 6.805 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001227/0.7838, allocations: 0.7354 MB / 0.7847 GB, free: 6.062 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7838, allocations: 0 / 0.7847 GB, free: 6.062 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001706/0.7855, allocations: 475.7 kB / 0.7852 GB, free: 5.598 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01597/0.8014, allocations: 5.298 MB / 0.7904 GB, free: 260 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007329/0.8088, allocations: 2.389 MB / 0.7927 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.8088, allocations: 4.75 kB / 0.7927 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004675/0.8134, allocations: 1.535 MB / 0.7942 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.8147, allocations: 120.1 kB / 0.7943 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04335/0.858, allocations: 16.03 MB / 0.81 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008069/0.8588, allocations: 1.113 MB / 0.811 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006302/0.8595, allocations: 124 kB / 0.8112 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007138/0.8602, allocations: 479.3 kB / 0.8116 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of SimCode: time 1.212e-06/0.8602, allocations: 0 / 0.8116 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08736/0.9475, allocations: 34.75 MB / 0.8456 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.39, allocations: 22.39 kB / 0.8456 GB, free: 7.543 MB / 0.6075 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.131254171952605] Failed to read output from testmodel.py, exit status != 0: 16.499533751048148 16.516161172 15.970033512 Calling exit ...