Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.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.001309/0.001309, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.492/1.492, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001573/0.001573, allocations: 198.8 kB / 309.2 MB, free: 3.082 MB / 238.1 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.6241/0.6241, allocations: 107.2 MB / 472.8 MB, free: 29.82 MB / 350.1 MB " [Timeout remaining time 179] 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.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROU",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.002552/0.002552, allocations: 89.25 kB / 0.633 GB, free: 29.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.144, allocations: 80.14 MB / 0.7113 GB, free: 7.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.008035/0.152, allocations: 6.386 MB / 0.7175 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004884/0.1569, allocations: 2.229 MB / 0.7197 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000592/0.1575, allocations: 15.94 kB / 0.7197 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006078/0.1581, allocations: 269.7 kB / 0.72 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.1605, allocations: 1.098 MB / 0.7211 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.1618, allocations: 0.57 MB / 0.7216 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001974/0.1637, allocations: 1.827 MB / 0.7234 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.1641, allocations: 212.6 kB / 0.7236 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008565/0.165, allocations: 0.7666 MB / 0.7244 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.1662, allocations: 0.9021 MB / 0.7252 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.1665, allocations: 148 kB / 0.7254 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006399/0.1671, allocations: 327.8 kB / 0.7257 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003425/0.1674, allocations: 386.5 kB / 0.7261 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006285/0.1681, allocations: 0.6411 MB / 0.7267 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.1701, allocations: 1.937 MB / 0.7286 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1701, allocations: 0 / 0.7286 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1701, allocations: 0 / 0.7286 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.641e-05/0.1702, allocations: 0 / 0.7286 GB, free: 5.938 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01167/0.1818, allocations: 3.217 MB / 0.7317 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1819, allocations: 11.97 kB / 0.7317 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/0.1821, allocations: 131 kB / 0.7319 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/0.1866, allocations: 0.7366 MB / 0.7326 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.1882, allocations: 0.8945 MB / 0.7335 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005167/0.1887, allocations: 468.1 kB / 0.7339 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.189, allocations: 99.89 kB / 0.734 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/0.1916, allocations: 1.243 MB / 0.7352 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.1917, allocations: 0 / 0.7352 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.1918, allocations: 32 kB / 0.7352 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.1918, allocations: 20 kB / 0.7353 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/0.1946, allocations: 1.202 MB / 0.7364 GB, free: 13.71 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.007093/0.2017, allocations: 3.139 MB / 0.7395 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007841/0.2095, allocations: 2.161 MB / 0.7416 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.2114, allocations: 0.7737 MB / 0.7424 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.2115, allocations: 16.98 kB / 0.7424 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.2116, allocations: 43.56 kB / 0.7424 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=112): time 3.286e-06/0.2116, allocations: 0 / 0.7424 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=112): time 0.04257/0.2541, allocations: 9.568 MB / 0.7518 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.2542, allocations: 94.09 kB / 0.7519 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.2564, allocations: 1.161 MB / 0.753 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003628/0.2568, allocations: 45.7 kB / 0.753 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/0.2574, allocations: 0.5138 MB / 0.7535 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00072/0.2581, allocations: 436.3 kB / 0.7539 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008023/0.2589, allocations: 291.5 kB / 0.7542 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.259, allocations: 305.1 kB / 0.7545 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.2612, allocations: 0.8902 MB / 0.7554 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/0.2638, allocations: 1.084 MB / 0.7564 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004555/0.2683, allocations: 1.937 MB / 0.7583 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.2683, allocations: 0 / 0.7583 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.009543/0.2779, allocations: 3.395 MB / 0.7617 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.2779, allocations: 8 kB / 0.7617 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.2779, allocations: 4 kB / 0.7617 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009939/0.2879, allocations: 2.692 MB / 0.7643 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.2893, allocations: 255.6 kB / 0.7645 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007132/0.2964, allocations: 2.721 MB / 0.7672 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/0.2986, allocations: 218.8 kB / 0.7674 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/0.2989, allocations: 63.95 kB / 0.7675 GB, free: 13.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (151): * Single equations (assignments): 150 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0007404/0.2997, allocations: 261.5 kB / 0.7677 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000468/0.3001, allocations: 143.1 kB / 0.7678 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01747/0.3176, allocations: 4.699 MB / 0.7724 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/0.3176, allocations: 15.94 kB / 0.7725 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3176, allocations: 0 / 0.7725 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-05/0.3177, allocations: 11.92 kB / 0.7725 GB, free: 8.469 MB / 0.545 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.02023/0.3379, allocations: 5.756 MB / 0.7781 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.3379, allocations: 4 kB / 0.7781 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008342/0.3388, allocations: 107.9 kB / 0.7782 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008418/0.3472, allocations: 2.196 MB / 0.7803 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003168/0.3475, allocations: 24 kB / 0.7804 GB, free: 332 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0299/0.3774, allocations: 9.871 MB / 0.79 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3774, allocations: 0 / 0.79 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01975/0.3972, allocations: 5.739 MB / 0.7956 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.3977, allocations: 174.7 kB / 0.7958 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004144/0.3981, allocations: 23.98 kB / 0.7958 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/0.3997, allocations: 107.9 kB / 0.7959 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008129/0.4005, allocations: 261 kB / 0.7961 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.4006, allocations: 28.08 kB / 0.7962 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001272/0.4019, allocations: 0.7843 MB / 0.7969 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.4019, allocations: 0 / 0.7969 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001562/0.4035, allocations: 499.6 kB / 0.7974 GB, free: 14.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gENCLS.omega) * 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 (69): * Single equations (assignments): 68 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02008/0.4236, allocations: 6.335 MB / 0.8036 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009698/0.4332, allocations: 2.539 MB / 0.8061 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.4333, allocations: 4 kB / 0.8061 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006825/0.4401, allocations: 1.792 MB / 0.8078 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.4415, allocations: 114.8 kB / 0.8079 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3405/0.782, allocations: 16.99 MB / 0.8245 GB, free: 92.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009299/0.7829, allocations: 0.5478 MB / 0.8251 GB, free: 92.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005734/0.7835, allocations: 116 kB / 0.8252 GB, free: 92.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006529/0.7841, allocations: 0.4974 MB / 0.8257 GB, free: 91.93 MB / 0.5762 GB Notification: Performance of SimCode: time 1.272e-06/0.7841, allocations: 5.375 kB / 0.8257 GB, free: 91.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07138/0.8555, allocations: 40.48 MB / 0.8652 GB, free: 60.26 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.4, allocations: 11.86 kB / 0.8652 GB, free: 60.25 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROU.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.204190243035555] Failed to read output from testmodel.py, exit status != 0: 15.544493752066046 15.556514614 15.383977576 Calling exit ...