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.001665/0.001665, allocations: 101.3 kB / 16.45 MB, free: 6.449 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.469/1.469, allocations: 230.6 MB / 249.8 MB, free: 9.215 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.002801/0.002801, allocations: 208.5 kB / 306 MB, free: 4.289 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.4696/0.4696, allocations: 79.72 MB / 441.8 MB, free: 128 kB / 302.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.002374/0.002374, allocations: 84.3 kB / 0.5878 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1791, allocations: 73.27 MB / 0.6594 GB, free: 8.188 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01658/0.1956, allocations: 15.03 MB / 0.674 GB, free: 9.086 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.2072, allocations: 4.654 MB / 0.6786 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003794/0.211, allocations: 28 kB / 0.6786 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.2138, allocations: 0.7712 MB / 0.6794 GB, free: 3.609 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009577/0.2234, allocations: 2.586 MB / 0.6819 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003924/0.2273, allocations: 1.316 MB / 0.6832 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008626/0.2359, allocations: 4.91 MB / 0.688 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.2372, allocations: 0.5301 MB / 0.6885 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.2407, allocations: 1.938 MB / 0.6904 GB, free: 8.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003889/0.2446, allocations: 2.478 MB / 0.6928 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001099/0.2457, allocations: 404 kB / 0.6932 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.2473, allocations: 0.6326 MB / 0.6938 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009235/0.2482, allocations: 0.9689 MB / 0.6947 GB, free: 3.809 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002548/0.2508, allocations: 2.009 MB / 0.6967 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3792/0.63, allocations: 5.357 MB / 0.7019 GB, free: 16.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.63, allocations: 0 / 0.7019 GB, free: 16.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.63, allocations: 3.812 kB / 0.7019 GB, free: 16.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001725/0.6301, allocations: 0 / 0.7019 GB, free: 16.01 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.04635/0.6765, allocations: 9.636 MB / 0.7113 GB, free: 13.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.6766, allocations: 8.875 kB / 0.7114 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000564/0.6771, allocations: 286.5 kB / 0.7116 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/0.6905, allocations: 1.766 MB / 0.7133 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006898/0.6974, allocations: 2.196 MB / 0.7155 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009049/0.6983, allocations: 0.6691 MB / 0.7161 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.6996, allocations: 235.9 kB / 0.7164 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006756/0.7064, allocations: 2.688 MB / 0.719 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.7064, allocations: 0 / 0.719 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.7067, allocations: 76.75 kB / 0.7191 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.713e-05/0.7067, allocations: 47.11 kB / 0.7191 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006973/0.7137, allocations: 2.831 MB / 0.7219 GB, free: 12.37 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.02236/0.7361, allocations: 11.02 MB / 0.7326 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.7477, allocations: 4.763 MB / 0.7373 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004375/0.7521, allocations: 1.737 MB / 0.739 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/0.7524, allocations: 43.98 kB / 0.739 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.7525, allocations: 56.72 kB / 0.7391 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 3.938e-06/0.7525, allocations: 0 / 0.7391 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of matching and sorting (n=249): time 0.1361/0.8886, allocations: 29.5 MB / 0.7679 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/0.8886, allocations: 77.41 kB / 0.768 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006746/0.8954, allocations: 2.906 MB / 0.7708 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001566/0.8969, allocations: 85.7 kB / 0.7709 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.8984, allocations: 1.27 MB / 0.7721 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002304/0.9007, allocations: 0.9427 MB / 0.773 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002166/0.9028, allocations: 0.7446 MB / 0.7738 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.903, allocations: 305.1 kB / 0.7741 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005553/0.9085, allocations: 2.28 MB / 0.7763 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006377/0.9149, allocations: 2.68 MB / 0.7789 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/0.9277, allocations: 4.854 MB / 0.7836 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/0.9277, allocations: 0 / 0.7836 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02352/0.9513, allocations: 7.15 MB / 0.7906 GB, free: 13.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.9513, allocations: 8 kB / 0.7906 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.9513, allocations: 8 kB / 0.7906 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02188/0.9732, allocations: 5.728 MB / 0.7962 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004152/0.9774, allocations: 0.668 MB / 0.7969 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/0.9956, allocations: 5.443 MB / 0.8022 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007156/1.003, allocations: 0.5206 MB / 0.8027 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001382/1.004, allocations: 140 kB / 0.8028 GB, free: 1.008 MB / 0.545 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.002891/1.007, allocations: 0.5311 MB / 0.8034 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001608/1.009, allocations: 349.7 kB / 0.8037 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03829/1.047, allocations: 10.43 MB / 0.8139 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.675e-05/1.047, allocations: 24 kB / 0.8139 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/1.047, allocations: 4 kB / 0.8139 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.422e-05/1.047, allocations: 19.59 kB / 0.8139 GB, free: 5.695 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.04661/1.094, allocations: 14.53 MB / 0.8281 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/1.094, allocations: 0 / 0.8281 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/1.096, allocations: 264.6 kB / 0.8284 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01787/1.114, allocations: 4.761 MB / 0.833 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009162/1.114, allocations: 52 kB / 0.8331 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05967/1.174, allocations: 21.49 MB / 0.8541 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.174, allocations: 0 / 0.8541 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04407/1.218, allocations: 12.75 MB / 0.8665 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/1.22, allocations: 0.5022 MB / 0.867 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001348/1.221, allocations: 58.61 kB / 0.8671 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00377/1.225, allocations: 247.7 kB / 0.8673 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00208/1.227, allocations: 0.5188 MB / 0.8678 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/1.227, allocations: 63.98 kB / 0.8679 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003264/1.231, allocations: 1.877 MB / 0.8697 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/1.231, allocations: 0 / 0.8697 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004448/1.235, allocations: 1.128 MB / 0.8708 GB, free: 11.23 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.0428/1.278, allocations: 13.18 MB / 0.8837 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02076/1.299, allocations: 5.75 MB / 0.8893 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.299, allocations: 4 kB / 0.8893 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01285/1.312, allocations: 3.616 MB / 0.8928 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/1.315, allocations: 270 kB / 0.8931 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09759/1.412, allocations: 36.87 MB / 0.9291 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/1.414, allocations: 1.841 MB / 0.9309 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001838/1.416, allocations: 296.9 kB / 0.9312 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002526/1.418, allocations: 1.394 MB / 0.9325 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of SimCode: time 1.643e-06/1.418, allocations: 0 / 0.9325 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4981/1.917, allocations: 90.61 MB / 1.021 GB, free: 242.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.39/21.31, allocations: 10.86 kB / 1.021 GB, free: 242.3 MB / 0.7169 GB " [Timeout remaining time 639] (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: 25.6836766149936] Failed to read output from testmodel.py, exit status != 0: 21.451670833994285 21.462802464 20.830315346 Calling exit ...