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.001357/0.001357, 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.471/1.471, 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.001751/0.001751, allocations: 215.7 kB / 309.2 MB, free: 3.199 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.5793/0.5793, allocations: 101.4 MB / 467 MB, free: 10.34 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.003635/0.003635, allocations: 83.88 kB / 0.6244 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5062, allocations: 78.61 MB / 0.7012 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01182/0.518, allocations: 15.13 MB / 0.716 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.5284, allocations: 4.665 MB / 0.7205 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003333/0.5317, allocations: 25.44 kB / 0.7206 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.5343, allocations: 0.7724 MB / 0.7213 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007033/0.5413, allocations: 2.043 MB / 0.7233 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.5452, allocations: 1.438 MB / 0.7247 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007691/0.5529, allocations: 4.553 MB / 0.7292 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.5544, allocations: 0.5371 MB / 0.7297 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.5581, allocations: 1.862 MB / 0.7315 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004784/0.5629, allocations: 2.41 MB / 0.7338 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001932/0.5649, allocations: 405.8 kB / 0.7342 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.5674, allocations: 0.6432 MB / 0.7349 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001751/0.5692, allocations: 0.9501 MB / 0.7358 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004132/0.5733, allocations: 1.99 MB / 0.7377 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008687/0.582, allocations: 5.304 MB / 0.7429 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.582, allocations: 1.562 kB / 0.7429 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.853e-06/0.582, allocations: 0 / 0.7429 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001873/0.5822, allocations: 0 / 0.7429 GB, free: 13.5 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.0348/0.617, allocations: 8.22 MB / 0.7509 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.617, allocations: 12.94 kB / 0.751 GB, free: 9 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006737/0.6177, allocations: 289 kB / 0.7512 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/0.6295, allocations: 1.777 MB / 0.753 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005049/0.6346, allocations: 2.105 MB / 0.755 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001001/0.6356, allocations: 0.8199 MB / 0.7558 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007086/0.6363, allocations: 251.2 kB / 0.7561 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006569/0.6429, allocations: 2.696 MB / 0.7587 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/0.6429, allocations: 0 / 0.7587 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000257/0.6432, allocations: 80.5 kB / 0.7588 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.6432, allocations: 46.75 kB / 0.7588 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006773/0.65, allocations: 2.846 MB / 0.7616 GB, free: 2.43 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.02467/0.6746, allocations: 10.97 MB / 0.7723 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.6873, allocations: 3.905 MB / 0.7761 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004495/0.6918, allocations: 1.747 MB / 0.7778 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/0.6922, allocations: 45.95 kB / 0.7779 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.271e-05/0.6922, allocations: 60.56 kB / 0.7779 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=253): time 4.759e-06/0.6922, allocations: 0 / 0.7779 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=253): time 0.1156/0.8079, allocations: 25.34 MB / 0.8027 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.808, allocations: 81.41 kB / 0.8028 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006977/0.815, allocations: 2.902 MB / 0.8056 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009668/0.8159, allocations: 85.7 kB / 0.8057 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001651/0.8176, allocations: 1.274 MB / 0.8069 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001857/0.8194, allocations: 0.9606 MB / 0.8078 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00286/0.8223, allocations: 0.7564 MB / 0.8086 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.8224, allocations: 305.1 kB / 0.8089 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005837/0.8283, allocations: 2.292 MB / 0.8111 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006557/0.8348, allocations: 2.685 MB / 0.8137 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/0.8472, allocations: 4.863 MB / 0.8185 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/0.8472, allocations: 0 / 0.8185 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01926/0.8665, allocations: 7.157 MB / 0.8255 GB, free: 20 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.8665, allocations: 8 kB / 0.8255 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.8665, allocations: 4 kB / 0.8255 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02116/0.8877, allocations: 5.729 MB / 0.8311 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/0.8915, allocations: 0.6709 MB / 0.8317 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/0.9076, allocations: 5.446 MB / 0.8371 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/0.9134, allocations: 0.5167 MB / 0.8376 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007502/0.9141, allocations: 140 kB / 0.8377 GB, free: 3.473 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.001866/0.916, allocations: 0.5294 MB / 0.8382 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/0.9173, allocations: 353.7 kB / 0.8386 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03864/0.9559, allocations: 10.45 MB / 0.8488 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.466e-05/0.956, allocations: 31.94 kB / 0.8488 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.956, allocations: 4 kB / 0.8488 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.152e-05/0.9561, 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.04936/1.005, allocations: 14.58 MB / 0.863 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/1.005, allocations: 3.938 kB / 0.863 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/1.007, allocations: 259.6 kB / 0.8633 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01774/1.025, allocations: 4.757 MB / 0.8679 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005441/1.026, allocations: 51.98 kB / 0.868 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05999/1.086, allocations: 21.38 MB / 0.8889 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.086, allocations: 3.938 kB / 0.8889 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04483/1.13, allocations: 12.81 MB / 0.9014 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001952/1.132, allocations: 437.1 kB / 0.9018 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001475/1.134, allocations: 52 kB / 0.9018 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004165/1.138, allocations: 247.7 kB / 0.9021 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002413/1.14, allocations: 0.5449 MB / 0.9026 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005311/1.141, allocations: 71.97 kB / 0.9027 GB, free: 356 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00416/1.145, allocations: 1.873 MB / 0.9045 GB, free: 14.48 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.145, allocations: 0 / 0.9045 GB, free: 14.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004985/1.15, allocations: 1.136 MB / 0.9056 GB, free: 13.35 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.04621/1.196, allocations: 13.23 MB / 0.9185 GB, free: 4 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0194/1.216, allocations: 5.787 MB / 0.9242 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.216, allocations: 4 kB / 0.9242 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.013/1.229, allocations: 3.628 MB / 0.9277 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/1.233, allocations: 267.3 kB / 0.928 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09147/1.324, allocations: 35.49 MB / 0.9627 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/1.326, allocations: 1.849 MB / 0.9645 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001482/1.327, allocations: 293.1 kB / 0.9647 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002411/1.33, allocations: 1.397 MB / 0.9661 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of SimCode: time 1.342e-06/1.33, allocations: 0 / 0.9661 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4786/1.809, allocations: 93.49 MB / 1.057 GB, free: 198.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.45/22.26, allocations: 13.66 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 & /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: 27.840573712950572] Failed to read output from testmodel.py, exit status != 0: 22.43163117603399 22.449115975 21.863608813 Calling exit ...