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.001486/0.001486, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.601/1.601, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001645/0.001645, allocations: 213.6 kB / 309.2 MB, free: 3.195 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.7114/0.7114, allocations: 107.3 MB / 473 MB, free: 29.97 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.002534/0.002534, allocations: 86.47 kB / 0.6332 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1786, allocations: 80.17 MB / 0.7115 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01543/0.194, allocations: 12.8 MB / 0.724 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.2048, allocations: 4.484 MB / 0.7284 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003142/0.208, allocations: 28 kB / 0.7284 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.2108, allocations: 0.7754 MB / 0.7292 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006942/0.2177, allocations: 2.015 MB / 0.7311 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.2217, allocations: 1.419 MB / 0.7325 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007558/0.2292, allocations: 4.547 MB / 0.737 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.2306, allocations: 0.5112 MB / 0.7375 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003472/0.234, allocations: 1.864 MB / 0.7393 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004089/0.2381, allocations: 2.193 MB / 0.7414 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001674/0.2398, allocations: 404 kB / 0.7418 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.2423, allocations: 0.5897 MB / 0.7424 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002133/0.2444, allocations: 0.9494 MB / 0.7433 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003811/0.2482, allocations: 1.624 MB / 0.7449 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009136/0.2574, allocations: 5.35 MB / 0.7501 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.2574, allocations: 0 / 0.7501 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2574, allocations: 0 / 0.7501 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000231/0.2576, allocations: 0 / 0.7501 GB, free: 15.84 MB / 0.5294 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.03416/0.2918, allocations: 8.216 MB / 0.7582 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.2918, allocations: 12.03 kB / 0.7582 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005765/0.2924, allocations: 286.6 kB / 0.7584 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.304, allocations: 1.773 MB / 0.7602 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005292/0.3093, allocations: 2.105 MB / 0.7622 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000976/0.3102, allocations: 0.8208 MB / 0.763 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009059/0.3111, allocations: 243.9 kB / 0.7633 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006868/0.318, allocations: 2.705 MB / 0.7659 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.265e-05/0.3181, allocations: 0 / 0.7659 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.3183, allocations: 80 kB / 0.766 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.616e-05/0.3183, allocations: 48 kB / 0.766 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007124/0.3255, allocations: 2.826 MB / 0.7688 GB, free: 12.48 MB / 0.545 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.02284/0.3483, allocations: 7.981 MB / 0.7766 GB, free: 4.355 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.3606, allocations: 3.882 MB / 0.7804 GB, free: 496 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004766/0.3654, allocations: 1.747 MB / 0.7821 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.3657, allocations: 37.92 kB / 0.7821 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.3658, allocations: 60.56 kB / 0.7822 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=253): time 5.019e-06/0.3658, allocations: 0 / 0.7822 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=253): time 0.1126/0.4784, allocations: 25.34 MB / 0.8069 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.4785, allocations: 81.39 kB / 0.807 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006659/0.4852, allocations: 2.914 MB / 0.8098 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009596/0.4861, allocations: 85.7 kB / 0.8099 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.4877, allocations: 1.27 MB / 0.8112 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.3678/0.8556, allocations: 0.9548 MB / 0.8121 GB, free: 86.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002007/0.8576, allocations: 0.7564 MB / 0.8128 GB, free: 86.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.001e-05/0.8576, allocations: 302.1 kB / 0.8131 GB, free: 86.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005547/0.8632, allocations: 2.286 MB / 0.8154 GB, free: 86.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005864/0.869, allocations: 2.688 MB / 0.818 GB, free: 85.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/0.8804, allocations: 4.867 MB / 0.8227 GB, free: 83.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-05/0.8805, allocations: 2.25 kB / 0.8227 GB, free: 83.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.02166/0.9021, allocations: 7.154 MB / 0.8297 GB, free: 80.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.9022, allocations: 12.62 kB / 0.8297 GB, free: 80.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/0.9022, allocations: 4.656 kB / 0.8297 GB, free: 80.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02062/0.9228, allocations: 5.726 MB / 0.8353 GB, free: 79.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003565/0.9264, allocations: 0.6701 MB / 0.836 GB, free: 79.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/0.9411, allocations: 5.448 MB / 0.8413 GB, free: 77.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00529/0.9464, allocations: 0.5206 MB / 0.8418 GB, free: 77.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008931/0.9473, allocations: 137.7 kB / 0.8419 GB, free: 77.3 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.002119/0.9494, allocations: 0.5252 MB / 0.8425 GB, free: 76.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/0.9506, allocations: 352.6 kB / 0.8428 GB, free: 76.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03283/0.9834, allocations: 10.45 MB / 0.853 GB, free: 69.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.9834, allocations: 24.94 kB / 0.853 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.9834, allocations: 4 kB / 0.853 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.315e-05/0.9835, allocations: 11.58 kB / 0.853 GB, free: 69.32 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.04027/1.024, allocations: 13.08 MB / 0.8658 GB, free: 56.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/1.024, allocations: 4 kB / 0.8658 GB, free: 56.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/1.025, allocations: 271.6 kB / 0.8661 GB, free: 55.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01552/1.041, allocations: 4.745 MB / 0.8707 GB, free: 51.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007054/1.042, allocations: 52.88 kB / 0.8708 GB, free: 51.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05409/1.096, allocations: 20.83 MB / 0.8911 GB, free: 30.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.096, allocations: 0 / 0.8911 GB, free: 30.28 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03816/1.134, allocations: 12.82 MB / 0.9036 GB, free: 17.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.135, allocations: 451.6 kB / 0.904 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001421/1.137, allocations: 40 kB / 0.9041 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003675/1.14, allocations: 251.7 kB / 0.9043 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001838/1.142, allocations: 0.5372 MB / 0.9048 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/1.142, allocations: 63.98 kB / 0.9049 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00263/1.145, allocations: 1.885 MB / 0.9067 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.145, allocations: 0 / 0.9067 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003689/1.149, allocations: 1.13 MB / 0.9079 GB, free: 13.11 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 (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.03653/1.185, allocations: 13.23 MB / 0.9208 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02025/1.206, allocations: 5.777 MB / 0.9264 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.206, allocations: 4 kB / 0.9264 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01357/1.219, allocations: 3.628 MB / 0.93 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0045/1.224, allocations: 269.5 kB / 0.9302 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09835/1.322, allocations: 35.48 MB / 0.9649 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/1.323, allocations: 1.298 MB / 0.9661 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001622/1.325, allocations: 297.2 kB / 0.9664 GB, free: 400 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002397/1.327, allocations: 1.411 MB / 0.9678 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of SimCode: time 1.853e-06/1.327, allocations: 2.625 kB / 0.9678 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1759/1.503, allocations: 93.36 MB / 1.059 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.29/19.79, allocations: 8 kB / 1.059 GB, free: 1.801 MB / 0.7169 GB " [Timeout remaining time 640] (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: 25.35831893561408] Failed to read output from testmodel.py, exit status != 0: 19.96528801228851 19.989711249 19.727454765 Calling exit ...