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.001596/0.001596, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.412/1.412, allocations: 230.6 MB / 252.7 MB, free: 8.289 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.00162/0.00162, allocations: 217.4 kB / 309.2 MB, free: 3.133 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.5476/0.5476, allocations: 101.3 MB / 467 MB, free: 10.34 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.002454/0.002454, allocations: 79.88 kB / 0.6244 GB, free: 12.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.5551, allocations: 78.6 MB / 0.7012 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007251/0.5624, allocations: 6.617 MB / 0.7077 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004907/0.5673, allocations: 2.018 MB / 0.7096 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.5688, allocations: 10.59 kB / 0.7096 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.5699, allocations: 241.9 kB / 0.7099 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.573, allocations: 0.8656 MB / 0.7107 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.5747, allocations: 0.6298 MB / 0.7113 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002804/0.5775, allocations: 1.611 MB / 0.7129 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004967/0.578, allocations: 222.7 kB / 0.7131 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.5794, allocations: 0.6808 MB / 0.7138 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.5808, allocations: 0.8478 MB / 0.7146 GB, free: 352 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003735/0.5812, allocations: 122.6 kB / 0.7147 GB, free: 352 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008144/0.582, allocations: 275.3 kB / 0.715 GB, free: 304 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.5824, allocations: 331.4 kB / 0.7153 GB, free: 84 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009336/0.5833, allocations: 0.6717 MB / 0.716 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003034/0.5863, allocations: 1.686 MB / 0.7176 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.5863, allocations: 0 / 0.7176 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5863, allocations: 0 / 0.7176 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.912e-05/0.5864, allocations: 0 / 0.7176 GB, free: 14.86 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.01089/0.5973, allocations: 2.822 MB / 0.7204 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.5973, allocations: 11.09 kB / 0.7204 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002369/0.5976, allocations: 125.5 kB / 0.7205 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005565/0.6031, allocations: 0.8049 MB / 0.7213 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.6056, allocations: 0.824 MB / 0.7221 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004109/0.606, allocations: 333.6 kB / 0.7224 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/0.6063, allocations: 84.45 kB / 0.7225 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/0.6092, allocations: 1.093 MB / 0.7236 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.6093, allocations: 3.984 kB / 0.7236 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.6094, allocations: 31.19 kB / 0.7236 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.6094, allocations: 22.12 kB / 0.7236 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.6121, allocations: 0.9872 MB / 0.7246 GB, free: 11.64 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.009447/0.6216, allocations: 3.759 MB / 0.7282 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007767/0.6293, allocations: 1.996 MB / 0.7302 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.6311, allocations: 0.6195 MB / 0.7308 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.6313, allocations: 19.33 kB / 0.7308 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001899/0.6332, allocations: 0.8164 MB / 0.7316 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=95): time 3.897e-06/0.6332, allocations: 0 / 0.7316 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95): time 0.02957/0.6627, allocations: 7.013 MB / 0.7385 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/0.6628, allocations: 121 kB / 0.7386 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.665, allocations: 1.095 MB / 0.7396 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003733/0.6654, allocations: 41.05 kB / 0.7397 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/0.6659, allocations: 0.4889 MB / 0.7402 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000591/0.6665, allocations: 371 kB / 0.7405 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005927/0.667, allocations: 287.7 kB / 0.7408 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6672, allocations: 301.1 kB / 0.7411 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.669, allocations: 0.7557 MB / 0.7418 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.671, allocations: 0.9299 MB / 0.7427 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02666/0.6976, allocations: 5.778 MB / 0.7484 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/0.6977, allocations: 1.375 kB / 0.7484 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01508/0.7127, allocations: 4.341 MB / 0.7526 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.235e-05/0.7128, allocations: 59.39 kB / 0.7527 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.7129, allocations: 4 kB / 0.7527 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006081/0.7189, allocations: 1.596 MB / 0.7542 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.7206, allocations: 279.6 kB / 0.7545 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/0.7419, allocations: 8.4 MB / 0.7627 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/0.7442, allocations: 215 kB / 0.7629 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/0.7443, allocations: 55.98 kB / 0.763 GB, free: 0.6367 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.0007505/0.7451, allocations: 296.1 kB / 0.7632 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/0.7454, allocations: 127.2 kB / 0.7634 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.7579, allocations: 3.846 MB / 0.7671 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.758, allocations: 15.98 kB / 0.7671 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.758, allocations: 8 kB / 0.7671 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.773e-05/0.758, allocations: 3.984 kB / 0.7671 GB, free: 12.3 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.01563/0.7736, allocations: 5.408 MB / 0.7724 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/0.7736, allocations: 4 kB / 0.7724 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007064/0.7743, allocations: 103.8 kB / 0.7725 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005637/0.78, allocations: 1.591 MB / 0.7741 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/0.7802, allocations: 20 kB / 0.7741 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02149/0.8017, allocations: 9.452 MB / 0.7833 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.8017, allocations: 4 kB / 0.7833 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/0.8168, allocations: 4.716 MB / 0.7879 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006739/0.8175, allocations: 150.9 kB / 0.7881 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/0.8178, allocations: 19.94 kB / 0.7881 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.819, allocations: 111.9 kB / 0.7882 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006585/0.8197, allocations: 204.6 kB / 0.7884 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-05/0.8197, allocations: 27.98 kB / 0.7884 GB, free: 6.117 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001233/0.821, allocations: 0.7315 MB / 0.7891 GB, free: 5.379 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.821, allocations: 0 / 0.7891 GB, free: 5.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001782/0.8228, allocations: 475.7 kB / 0.7896 GB, free: 4.914 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.01515/0.8379, allocations: 5.297 MB / 0.7948 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007109/0.845, allocations: 2.391 MB / 0.7971 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.845, allocations: 0 / 0.7971 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004641/0.8497, allocations: 1.525 MB / 0.7986 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.8509, allocations: 117.9 kB / 0.7987 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04149/0.8924, allocations: 16.02 MB / 0.8143 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009377/0.8934, allocations: 1.124 MB / 0.8154 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006344/0.894, allocations: 112.1 kB / 0.8156 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007553/0.8948, allocations: 479.6 kB / 0.816 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of SimCode: time 1.413e-06/0.8948, allocations: 8 kB / 0.816 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0911/0.9859, allocations: 35.62 MB / 0.8508 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/16.42, allocations: 10.33 kB / 0.8508 GB, free: 5.984 MB / 0.6075 GB " [Timeout remaining time 643] (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: 19.917952213003446] Failed to read output from testmodel.py, exit status != 0: 16.548893799001235 16.564045556 15.974536195 Calling exit ...