Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.001592/0.001592, 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.436/1.436, allocations: 230.6 MB / 252.7 MB, free: 8.293 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.002315/0.002315, allocations: 213.2 kB / 309.2 MB, free: 3.137 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.5735/0.5735, allocations: 101.4 MB / 467 MB, free: 10.31 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.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",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.002564/0.002564, allocations: 87.88 kB / 0.6244 GB, free: 12.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.4651, allocations: 78.6 MB / 0.7012 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01313/0.4782, allocations: 15.14 MB / 0.716 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01141/0.4896, allocations: 4.661 MB / 0.7205 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003858/0.4935, allocations: 33 kB / 0.7206 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.4963, allocations: 0.7713 MB / 0.7213 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00761/0.5039, allocations: 2.05 MB / 0.7233 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00405/0.5079, allocations: 1.425 MB / 0.7247 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008451/0.5164, allocations: 4.557 MB / 0.7291 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.5178, allocations: 0.5372 MB / 0.7297 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004144/0.5219, allocations: 1.858 MB / 0.7315 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005344/0.5273, allocations: 2.414 MB / 0.7338 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00182/0.5291, allocations: 405.7 kB / 0.7342 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.5313, allocations: 0.6441 MB / 0.7349 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.5324, allocations: 0.953 MB / 0.7358 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003196/0.5356, allocations: 1.987 MB / 0.7377 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007825/0.5435, allocations: 5.308 MB / 0.7429 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5435, allocations: 0 / 0.7429 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5435, allocations: 1.312 kB / 0.7429 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001725/0.5436, allocations: 0 / 0.7429 GB, free: 13.46 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.03468/0.5783, allocations: 8.224 MB / 0.7509 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.5784, allocations: 9.969 kB / 0.751 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005552/0.5789, allocations: 287.8 kB / 0.7512 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/0.591, allocations: 1.765 MB / 0.753 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005337/0.5964, allocations: 2.11 MB / 0.755 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009903/0.5974, allocations: 0.8238 MB / 0.7558 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008629/0.5982, allocations: 243.1 kB / 0.7561 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006967/0.6052, allocations: 2.697 MB / 0.7587 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/0.6052, allocations: 3.984 kB / 0.7587 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/0.6055, allocations: 80.5 kB / 0.7588 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.191e-05/0.6055, allocations: 46.75 kB / 0.7588 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00703/0.6126, allocations: 2.844 MB / 0.7616 GB, free: 2.438 MB / 0.5137 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.02258/0.6351, allocations: 10.97 MB / 0.7723 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.012/0.6472, allocations: 3.889 MB / 0.7761 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0046/0.6518, allocations: 1.755 MB / 0.7778 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00036/0.6521, allocations: 53.92 kB / 0.7779 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.6522, allocations: 60.5 kB / 0.7779 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=253): time 4.549e-06/0.6522, allocations: 3.938 kB / 0.7779 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=253): time 0.1118/0.7639, allocations: 25.34 MB / 0.8027 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.764, allocations: 77.41 kB / 0.8027 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005069/0.7691, allocations: 2.906 MB / 0.8056 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008552/0.7699, allocations: 85.7 kB / 0.8057 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.7712, allocations: 1.27 MB / 0.8069 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001407/0.7726, allocations: 0.9567 MB / 0.8078 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001405/0.774, allocations: 0.7564 MB / 0.8086 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7741, allocations: 309.1 kB / 0.8089 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005026/0.7792, allocations: 2.281 MB / 0.8111 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00555/0.7847, allocations: 2.689 MB / 0.8137 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/0.7959, allocations: 4.863 MB / 0.8185 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.7959, allocations: 7.938 kB / 0.8185 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01813/0.814, allocations: 7.153 MB / 0.8255 GB, free: 32 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.814, allocations: 8 kB / 0.8255 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.814, allocations: 4 kB / 0.8255 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02037/0.8344, allocations: 5.726 MB / 0.8311 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003735/0.8381, allocations: 0.6748 MB / 0.8317 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/0.8528, allocations: 5.439 MB / 0.837 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00576/0.8586, allocations: 0.5244 MB / 0.8376 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000728/0.8593, allocations: 136 kB / 0.8377 GB, free: 3.484 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * 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 {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.001544/0.8609, allocations: 0.5333 MB / 0.8382 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/0.8619, allocations: 353.7 kB / 0.8385 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03626/0.8982, allocations: 10.46 MB / 0.8488 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.993e-05/0.8982, allocations: 24 kB / 0.8488 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.8982, allocations: 3.938 kB / 0.8488 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.137e-05/0.8983, allocations: 11.95 kB / 0.8488 GB, free: 8.02 MB / 0.6075 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.04324/0.9415, allocations: 14.58 MB / 0.863 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.9416, allocations: 0 / 0.863 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.9433, allocations: 263.6 kB / 0.8633 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01688/0.9602, allocations: 4.753 MB / 0.8679 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006141/0.9608, allocations: 51.98 kB / 0.868 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0569/1.018, allocations: 21.38 MB / 0.8889 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.018, allocations: 0 / 0.8889 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.043/1.061, allocations: 12.81 MB / 0.9014 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/1.063, allocations: 445.1 kB / 0.9018 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/1.064, allocations: 44 kB / 0.9018 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003383/1.067, allocations: 247.7 kB / 0.9021 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001982/1.069, allocations: 0.545 MB / 0.9026 GB, free: 440 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/1.069, allocations: 67.92 kB / 0.9027 GB, free: 372 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003277/1.073, allocations: 1.873 MB / 0.9045 GB, free: 14.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.073, allocations: 7.875 kB / 0.9045 GB, free: 14.49 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004238/1.077, allocations: 1.136 MB / 0.9056 GB, free: 13.36 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (160): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * 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 {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0416/1.118, allocations: 13.23 MB / 0.9185 GB, free: 12 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01866/1.137, allocations: 5.791 MB / 0.9242 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.137, allocations: 0 / 0.9242 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/1.149, allocations: 3.637 MB / 0.9277 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/1.152, allocations: 272 kB / 0.928 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08015/1.233, allocations: 35.47 MB / 0.9626 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/1.234, allocations: 1.849 MB / 0.9644 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001459/1.236, allocations: 293.1 kB / 0.9647 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002213/1.238, allocations: 1.401 MB / 0.9661 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of SimCode: time 1.472e-06/1.238, allocations: 0 / 0.9661 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4641/1.702, allocations: 93.5 MB / 1.057 GB, free: 198.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.41/22.11, allocations: 11.16 kB / 1.057 GB, free: 198.6 MB / 0.7325 GB " [Timeout remaining time 638] (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 0.001 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.271428932999697] Failed to read output from testmodel.py, exit status != 0: 22.27733289200114 22.287729372 21.741803361 Calling exit ...