Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001956/0.001956, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.45/1.45, allocations: 230.6 MB / 252.6 MB, free: 8.297 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.001663/0.001663, allocations: 212 kB / 309.2 MB, free: 3.152 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4624/0.4624, allocations: 79.73 MB / 445.4 MB, free: 14.87 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_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.00243/0.00243, allocations: 83.86 kB / 0.5929 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1533, allocations: 73.3 MB / 0.6645 GB, free: 4.582 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01541/0.1687, allocations: 15.05 MB / 0.6792 GB, free: 5.469 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.1792, allocations: 4.666 MB / 0.6838 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003455/0.1826, allocations: 28 kB / 0.6838 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00288/0.1855, allocations: 0.7832 MB / 0.6846 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008981/0.1945, allocations: 2.582 MB / 0.6871 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003996/0.1985, allocations: 1.329 MB / 0.6884 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.009377/0.2079, allocations: 4.91 MB / 0.6932 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.2096, allocations: 0.5307 MB / 0.6937 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003921/0.2135, allocations: 1.942 MB / 0.6956 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004388/0.2179, allocations: 2.478 MB / 0.698 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001862/0.2198, allocations: 404 kB / 0.6984 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.2223, allocations: 0.6326 MB / 0.699 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.2241, allocations: 0.9768 MB / 0.7 GB, free: 152 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3291/0.5532, allocations: 2.005 MB / 0.7019 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009162/0.5624, allocations: 5.351 MB / 0.7071 GB, free: 11.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.5624, allocations: 0 / 0.7071 GB, free: 11.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.5624, allocations: 0.8438 kB / 0.7071 GB, free: 11.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002254/0.5626, allocations: 0 / 0.7071 GB, free: 11.29 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.04497/0.6076, allocations: 9.563 MB / 0.7165 GB, free: 9.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.6076, allocations: 13.45 kB / 0.7165 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009532/0.6086, allocations: 287.4 kB / 0.7168 GB, free: 9.262 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.6206, allocations: 1.769 MB / 0.7185 GB, free: 9.008 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005836/0.6264, allocations: 2.112 MB / 0.7206 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008502/0.6273, allocations: 0.8202 MB / 0.7214 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/0.6287, allocations: 241.4 kB / 0.7216 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006836/0.6355, allocations: 2.685 MB / 0.7242 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.78e-05/0.6356, allocations: 0 / 0.7242 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/0.6358, allocations: 74.88 kB / 0.7243 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.896e-05/0.6359, allocations: 46.19 kB / 0.7243 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006966/0.6428, allocations: 2.834 MB / 0.7271 GB, free: 7.492 MB / 494.1 MB 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.024/0.6668, allocations: 10.93 MB / 0.7378 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.6785, allocations: 3.861 MB / 0.7415 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004557/0.683, allocations: 1.742 MB / 0.7432 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003685/0.6834, allocations: 42.05 kB / 0.7433 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.6834, allocations: 61.94 kB / 0.7433 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 4.408e-06/0.6834, allocations: 0 / 0.7433 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=249): time 0.123/0.8064, allocations: 29.4 MB / 0.772 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.8065, allocations: 77.41 kB / 0.7721 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006042/0.8125, allocations: 2.906 MB / 0.775 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001198/0.8137, allocations: 81.7 kB / 0.775 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.8151, allocations: 1.272 MB / 0.7763 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001995/0.8171, allocations: 0.9501 MB / 0.7772 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001798/0.8189, allocations: 0.7485 MB / 0.7779 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.819, allocations: 301.1 kB / 0.7782 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005591/0.8246, allocations: 2.29 MB / 0.7805 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006616/0.8312, allocations: 2.673 MB / 0.7831 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/0.8436, allocations: 4.847 MB / 0.7878 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/0.8437, allocations: 8 kB / 0.7878 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01976/0.8634, allocations: 7.146 MB / 0.7948 GB, free: 10.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.8635, allocations: 11.94 kB / 0.7948 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.8635, allocations: 8.062 kB / 0.7948 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02019/0.8837, allocations: 5.725 MB / 0.8004 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003854/0.8875, allocations: 0.6663 MB / 0.8011 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/0.9027, allocations: 5.452 MB / 0.8064 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006518/0.9093, allocations: 0.5128 MB / 0.8069 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/0.9106, allocations: 140 kB / 0.807 GB, free: 14.04 MB / 0.5606 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 (410): * Single equations (assignments): 409 * 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.002167/0.9127, allocations: 0.5257 MB / 0.8075 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/0.914, allocations: 345.7 kB / 0.8079 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03553/0.9496, allocations: 10.43 MB / 0.818 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.451e-05/0.9496, allocations: 24 kB / 0.8181 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.9496, allocations: 3.625 kB / 0.8181 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001105/0.9497, allocations: 19.95 kB / 0.8181 GB, free: 2.734 MB / 0.5606 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.04615/0.9959, allocations: 14.51 MB / 0.8323 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.451e-05/0.9959, allocations: 0 / 0.8323 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/0.9978, allocations: 257.1 kB / 0.8325 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01697/1.015, allocations: 4.765 MB / 0.8372 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009182/1.016, allocations: 51.98 kB / 0.8372 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05763/1.073, allocations: 21.37 MB / 0.8581 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.247e-06/1.073, allocations: 0 / 0.8581 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.042/1.115, allocations: 12.75 MB / 0.8705 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.117, allocations: 441 kB / 0.871 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001866/1.119, allocations: 48 kB / 0.871 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004595/1.124, allocations: 247.7 kB / 0.8712 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002403/1.126, allocations: 0.5446 MB / 0.8718 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005063/1.127, allocations: 67.97 kB / 0.8718 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003662/1.13, allocations: 1.877 MB / 0.8737 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.8e-07/1.13, allocations: 0 / 0.8737 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00563/1.136, allocations: 1.132 MB / 0.8748 GB, free: 8.492 MB / 0.6231 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 (156): * Single equations (assignments): 155 * 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.04321/1.179, allocations: 13.16 MB / 0.8876 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01976/1.199, allocations: 5.763 MB / 0.8932 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.902e-06/1.199, allocations: 0 / 0.8932 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01269/1.212, allocations: 3.612 MB / 0.8968 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.215, allocations: 270.5 kB / 0.897 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09727/1.312, allocations: 36.87 MB / 0.933 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/1.314, allocations: 1.849 MB / 0.9348 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00191/1.316, allocations: 292.9 kB / 0.9351 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00286/1.319, allocations: 1.397 MB / 0.9365 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of SimCode: time 2.855e-06/1.319, allocations: 0 / 0.9365 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4904/1.809, allocations: 93.15 MB / 1.027 GB, free: 236.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.91/22.71, allocations: 4.859 kB / 1.027 GB, free: 236.6 MB / 0.7169 GB " [Timeout remaining time 637] (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.21841318799852] Failed to read output from testmodel.py, exit status != 0: 22.880909981002333 22.898569654 22.332392606 Calling exit ...