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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 244.8 MB, free: 14.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 199.3 kB / 299.8 MB, free: 9.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5819/0.5819, allocations: 99.65 MB / 454.4 MB, free: 5.035 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 79.88 kB / 0.6073 GB, free: 9.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1878, allocations: 76.95 MB / 0.6825 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.4159/0.6038, allocations: 15.08 MB / 0.6972 GB, free: 8.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.614, allocations: 4.626 MB / 0.7017 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004235/0.6183, allocations: 27.72 kB / 0.7017 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.6215, allocations: 0.7779 MB / 0.7025 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008298/0.6298, allocations: 2.034 MB / 0.7045 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004264/0.6341, allocations: 1.42 MB / 0.7059 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008849/0.6429, allocations: 4.563 MB / 0.7103 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.6448, allocations: 0.5347 MB / 0.7108 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/0.6491, allocations: 1.81 MB / 0.7126 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005362/0.6545, allocations: 2.406 MB / 0.715 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002732/0.6572, allocations: 405.6 kB / 0.7153 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/0.6612, allocations: 0.6364 MB / 0.716 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002493/0.6636, allocations: 0.9519 MB / 0.7169 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006232/0.6699, allocations: 1.982 MB / 0.7188 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.6832, allocations: 5.312 MB / 0.724 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.6832, allocations: 3.984 kB / 0.724 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6832, allocations: 0 / 0.724 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003133/0.6835, allocations: 0 / 0.724 GB, free: 12.84 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: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.04214/0.7256, allocations: 8.283 MB / 0.7321 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 9.051e-05/0.7257, allocations: 9.562 kB / 0.7321 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002046/0.7278, allocations: 291.8 kB / 0.7324 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01375/0.7415, allocations: 1.776 MB / 0.7341 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007706/0.7492, allocations: 2.199 MB / 0.7363 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001215/0.7504, allocations: 0.6647 MB / 0.7369 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00152/0.752, allocations: 247.1 kB / 0.7372 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.7627, allocations: 2.692 MB / 0.7398 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.526e-05/0.7628, allocations: 4 kB / 0.7398 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007599/0.7636, allocations: 80.84 kB / 0.7399 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.585e-05/0.7636, allocations: 45.69 kB / 0.7399 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008711/0.7724, allocations: 2.851 MB / 0.7427 GB, free: 2.16 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.03007/0.8024, allocations: 11.05 MB / 0.7535 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/0.8158, allocations: 4.799 MB / 0.7582 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004732/0.8205, allocations: 1.751 MB / 0.7599 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004074/0.8209, allocations: 46.03 kB / 0.7599 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.584e-05/0.821, allocations: 56.56 kB / 0.76 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=253): time 5.5e-06/0.821, allocations: 0 / 0.76 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of matching and sorting (n=253): time 0.1124/0.9334, allocations: 25.42 MB / 0.7848 GB, free: 8.859 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.9335, allocations: 77.41 kB / 0.7849 GB, free: 8.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008301/0.9418, allocations: 2.914 MB / 0.7877 GB, free: 5.855 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001113/0.9429, allocations: 81.7 kB / 0.7878 GB, free: 5.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001922/0.9448, allocations: 1.27 MB / 0.7891 GB, free: 4.504 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002493/0.9473, allocations: 0.9617 MB / 0.79 GB, free: 3.555 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004909/0.9522, allocations: 0.7486 MB / 0.7907 GB, free: 2.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.9524, allocations: 301.1 kB / 0.791 GB, free: 2.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006818/0.9592, allocations: 2.292 MB / 0.7933 GB, free: 200 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007458/0.9667, allocations: 2.688 MB / 0.7959 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01366/0.9803, allocations: 4.871 MB / 0.8006 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.969e-05/0.9804, allocations: 0 / 0.8006 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.02498/1.005, allocations: 7.161 MB / 0.8076 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/1.005, allocations: 8 kB / 0.8076 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/1.005, allocations: 4 kB / 0.8076 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02073/1.026, allocations: 5.722 MB / 0.8132 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004074/1.03, allocations: 0.6749 MB / 0.8139 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/1.047, allocations: 5.448 MB / 0.8192 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006746/1.054, allocations: 0.5214 MB / 0.8197 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/1.056, allocations: 140 kB / 0.8198 GB, free: 4.586 MB / 0.5762 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.003184/1.059, allocations: 0.5295 MB / 0.8204 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002094/1.061, allocations: 349.7 kB / 0.8207 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03774/1.099, allocations: 10.45 MB / 0.8309 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-05/1.099, allocations: 28 kB / 0.8309 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.631e-05/1.099, allocations: 7.938 kB / 0.8309 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.443e-05/1.099, allocations: 15.94 kB / 0.831 GB, free: 9.129 MB / 0.5919 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.04907/1.148, allocations: 14.61 MB / 0.8452 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.73e-05/1.148, allocations: 0 / 0.8452 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/1.15, allocations: 267.6 kB / 0.8455 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01697/1.167, allocations: 4.753 MB / 0.8501 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009037/1.168, allocations: 51.98 kB / 0.8502 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06123/1.229, allocations: 21.48 MB / 0.8712 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.229, allocations: 0 / 0.8712 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04567/1.275, allocations: 12.81 MB / 0.8837 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/1.277, allocations: 0.5099 MB / 0.8842 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001889/1.279, allocations: 48 kB / 0.8842 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004722/1.283, allocations: 251.7 kB / 0.8844 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002772/1.286, allocations: 0.5218 MB / 0.885 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007579/1.287, allocations: 67.92 kB / 0.885 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004839/1.292, allocations: 1.877 MB / 0.8869 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/1.292, allocations: 3.938 kB / 0.8869 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008954/1.301, allocations: 1.128 MB / 0.888 GB, free: 14.29 MB / 0.6544 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.06338/1.364, allocations: 13.23 MB / 0.9009 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02809/1.392, allocations: 5.776 MB / 0.9065 GB, free: 11.16 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/1.392, allocations: 8 kB / 0.9065 GB, free: 11.15 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01388/1.406, allocations: 3.63 MB / 0.9101 GB, free: 7.504 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005862/1.412, allocations: 271.3 kB / 0.9103 GB, free: 7.234 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1068/1.519, allocations: 35.46 MB / 0.945 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002651/1.521, allocations: 1.849 MB / 0.9468 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002116/1.523, allocations: 289 kB / 0.947 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003193/1.527, allocations: 1.409 MB / 0.9484 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of SimCode: time 1.393e-06/1.527, allocations: 0 / 0.9484 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.567/2.094, allocations: 90.9 MB / 1.037 GB, free: 226.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.66/22.75, allocations: 7.234 kB / 1.037 GB, free: 226.5 MB / 0.7325 GB " [Timeout remaining time 637] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=0.001 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: 28.158400853164494] Failed to read output from testmodel.py, exit status != 0: 22.892535455990583 22.905350275 22.219121921 Calling exit ...