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.001688/0.001688, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.479/1.479, allocations: 230.6 MB / 253.4 MB, free: 14.48 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.001717/0.001717, allocations: 215.2 kB / 310 MB, free: 3.113 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.4917/0.4917, allocations: 79.73 MB / 446.2 MB, free: 38.77 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="cs",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.002462/0.002462, allocations: 87.33 kB / 0.5937 GB, free: 38.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1297, allocations: 73.29 MB / 0.6653 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01557/0.1453, allocations: 15.06 MB / 0.68 GB, free: 3.016 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.1564, allocations: 4.666 MB / 0.6845 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003856/0.1602, allocations: 28 kB / 0.6846 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.1632, allocations: 0.7753 MB / 0.6853 GB, free: 13.53 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009673/0.1729, allocations: 2.577 MB / 0.6878 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003952/0.1768, allocations: 1.334 MB / 0.6891 GB, free: 9.648 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008907/0.1858, allocations: 4.903 MB / 0.6939 GB, free: 4.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.1875, allocations: 0.5462 MB / 0.6945 GB, free: 4.141 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003914/0.1914, allocations: 1.93 MB / 0.6963 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004615/0.196, allocations: 2.482 MB / 0.6988 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002058/0.1981, allocations: 400 kB / 0.6991 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.2008, allocations: 0.6364 MB / 0.6998 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001871/0.2027, allocations: 0.9806 MB / 0.7007 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003852/0.2065, allocations: 2.001 MB / 0.7027 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008818/0.2154, allocations: 5.35 MB / 0.7079 GB, free: 6.305 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2154, allocations: 4 kB / 0.7079 GB, free: 6.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2154, allocations: 0 / 0.7079 GB, free: 6.301 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002036/0.2156, allocations: 0 / 0.7079 GB, free: 6.301 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.0428/0.2584, allocations: 9.566 MB / 0.7173 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.2584, allocations: 12.03 kB / 0.7173 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.592e-05/0.2585, allocations: 47.56 kB / 0.7173 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00102/0.2595, allocations: 278.5 kB / 0.7176 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.2717, allocations: 1.773 MB / 0.7193 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005876/0.2776, allocations: 2.117 MB / 0.7214 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001127/0.2787, allocations: 0.8208 MB / 0.7222 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/0.28, allocations: 239.9 kB / 0.7224 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008779/0.2888, allocations: 2.682 MB / 0.725 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.56e-05/0.2889, allocations: 4 kB / 0.725 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005253/0.2894, allocations: 76 kB / 0.7251 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.676e-05/0.2894, allocations: 48 kB / 0.7251 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007532/0.297, allocations: 2.838 MB / 0.7279 GB, free: 1.543 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.02561/0.3226, allocations: 10.93 MB / 0.7386 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/0.3356, allocations: 3.849 MB / 0.7423 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004904/0.3405, allocations: 1.743 MB / 0.744 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004447/0.341, allocations: 45.95 kB / 0.7441 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/0.341, allocations: 60.56 kB / 0.7441 GB, free: 408 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 5.019e-06/0.341, allocations: 0 / 0.7441 GB, free: 408 kB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.133/0.474, allocations: 29.39 MB / 0.7729 GB, free: 2.949 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/0.4741, allocations: 81.34 kB / 0.7729 GB, free: 2.855 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005554/0.4797, allocations: 2.906 MB / 0.7758 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009041/0.4806, allocations: 81.7 kB / 0.7758 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001502/0.4821, allocations: 1.278 MB / 0.7771 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001681/0.4838, allocations: 0.9412 MB / 0.778 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003136/0.4869, allocations: 0.7563 MB / 0.7788 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.487, allocations: 305.1 kB / 0.779 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006023/0.4931, allocations: 2.28 MB / 0.7813 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006514/0.4996, allocations: 2.681 MB / 0.7839 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/0.5117, allocations: 4.847 MB / 0.7886 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/0.5118, allocations: 0 / 0.7886 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02144/0.5332, allocations: 7.144 MB / 0.7956 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.5332, allocations: 8 kB / 0.7956 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.5333, allocations: 4 kB / 0.7956 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02074/0.554, allocations: 5.734 MB / 0.8012 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003578/0.5576, allocations: 0.667 MB / 0.8019 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3188/0.8764, allocations: 5.445 MB / 0.8072 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005231/0.8816, allocations: 0.5155 MB / 0.8077 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007763/0.8824, allocations: 137.2 kB / 0.8078 GB, free: 122.1 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 (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.001468/0.8839, allocations: 0.5263 MB / 0.8083 GB, free: 122 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009928/0.8848, allocations: 348.3 kB / 0.8087 GB, free: 122 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03744/0.9223, allocations: 10.43 MB / 0.8188 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.031e-05/0.9224, allocations: 24.75 kB / 0.8189 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.9224, allocations: 2.5 kB / 0.8189 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.18e-05/0.9225, allocations: 19.06 kB / 0.8189 GB, free: 121.7 MB / 0.5762 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.03928/0.9617, allocations: 14.51 MB / 0.8331 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/0.9618, allocations: 7.938 kB / 0.8331 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.9634, allocations: 257.7 kB / 0.8333 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01499/0.9784, allocations: 4.765 MB / 0.838 GB, free: 114.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00072/0.9791, allocations: 50.73 kB / 0.838 GB, free: 114.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04774/1.027, allocations: 21.38 MB / 0.8589 GB, free: 93.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.027, allocations: 0 / 0.8589 GB, free: 93.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03636/1.063, allocations: 12.74 MB / 0.8713 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.065, allocations: 439.2 kB / 0.8718 GB, free: 80.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.066, allocations: 47.98 kB / 0.8718 GB, free: 80.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003211/1.069, allocations: 251.7 kB / 0.872 GB, free: 80.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001771/1.071, allocations: 0.5341 MB / 0.8726 GB, free: 79.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/1.071, allocations: 67.98 kB / 0.8726 GB, free: 79.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002423/1.073, allocations: 1.873 MB / 0.8745 GB, free: 77.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/1.073, allocations: 0 / 0.8745 GB, free: 77.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003695/1.077, allocations: 1.138 MB / 0.8756 GB, free: 76.81 MB / 0.5762 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.03554/1.113, allocations: 13.16 MB / 0.8884 GB, free: 63.56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01635/1.129, allocations: 5.768 MB / 0.8941 GB, free: 57.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.129, allocations: 0 / 0.8941 GB, free: 57.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01078/1.14, allocations: 3.615 MB / 0.8976 GB, free: 54.15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/1.142, allocations: 274.5 kB / 0.8978 GB, free: 53.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06949/1.212, allocations: 36.87 MB / 0.9339 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008959/1.213, allocations: 1.841 MB / 0.9356 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00124/1.214, allocations: 296.9 kB / 0.9359 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/1.215, allocations: 1.39 MB / 0.9373 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/1.215, allocations: 0 / 0.9373 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/1.38, allocations: 93.18 MB / 1.028 GB, free: 15.94 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.21/21.59, allocations: 2.5 kB / 1.028 GB, free: 15.94 MB / 0.67 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=0.001 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.176518150023185] Failed to read output from testmodel.py, exit status != 0: 21.805212480016053 21.821496748 21.602581153 Calling exit ...