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.00132/0.00132, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.463/1.463, allocations: 230.6 MB / 253.5 MB, free: 14.29 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.002053/0.002053, allocations: 209.7 kB / 310 MB, free: 3.035 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.5854/0.5854, allocations: 101.3 MB / 467.7 MB, free: 32.03 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_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.003326/0.003326, allocations: 88.11 kB / 0.6251 GB, free: 33.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1728, allocations: 78.61 MB / 0.7018 GB, free: 0.832 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01421/0.187, allocations: 12.78 MB / 0.7143 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009446/0.1964, allocations: 4.449 MB / 0.7187 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/0.1991, allocations: 28 kB / 0.7187 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.2017, allocations: 0.7792 MB / 0.7194 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006379/0.2081, allocations: 2.015 MB / 0.7214 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.2116, allocations: 1.412 MB / 0.7228 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006684/0.2183, allocations: 4.559 MB / 0.7272 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.2194, allocations: 0.5346 MB / 0.7278 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.2222, allocations: 1.871 MB / 0.7296 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003363/0.2255, allocations: 2.42 MB / 0.732 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008692/0.2264, allocations: 404 kB / 0.7323 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.2277, allocations: 0.5936 MB / 0.7329 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009115/0.2286, allocations: 0.9496 MB / 0.7338 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.2305, allocations: 1.628 MB / 0.7354 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006124/0.2366, allocations: 5.335 MB / 0.7406 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2367, allocations: 0 / 0.7406 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2367, allocations: 0 / 0.7406 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001181/0.2368, allocations: 0 / 0.7406 GB, free: 8.906 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.03166/0.2684, allocations: 8.219 MB / 0.7487 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.2685, allocations: 16.02 kB / 0.7487 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.842e-05/0.2685, allocations: 47.59 kB / 0.7487 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004147/0.269, allocations: 286.6 kB / 0.749 GB, free: 284 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.2803, allocations: 1.765 MB / 0.7507 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004502/0.2848, allocations: 2.113 MB / 0.7528 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008754/0.2856, allocations: 0.8246 MB / 0.7536 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006309/0.2863, allocations: 243.9 kB / 0.7538 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006162/0.2924, allocations: 2.701 MB / 0.7565 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.2925, allocations: 4 kB / 0.7565 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.2927, allocations: 76 kB / 0.7565 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.2928, allocations: 48 kB / 0.7566 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006385/0.2991, allocations: 2.846 MB / 0.7594 GB, free: 5.473 MB / 0.5294 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.02139/0.3205, allocations: 7.985 MB / 0.7672 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/0.3325, allocations: 3.878 MB / 0.771 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004364/0.3369, allocations: 1.751 MB / 0.7727 GB, free: 7.723 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.3372, allocations: 37.97 kB / 0.7727 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/0.3372, allocations: 64.44 kB / 0.7728 GB, free: 7.613 MB / 0.545 GB Notification: Performance of pre-optimization done (n=253): time 5.06e-06/0.3372, allocations: 4 kB / 0.7728 GB, free: 7.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=253): time 0.1117/0.4489, allocations: 25.34 MB / 0.7975 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.449, allocations: 77.41 kB / 0.7976 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005611/0.4546, allocations: 2.91 MB / 0.8004 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008947/0.4555, allocations: 81.7 kB / 0.8005 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.457, allocations: 1.274 MB / 0.8018 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001737/0.4588, allocations: 0.9528 MB / 0.8027 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003153/0.4619, allocations: 0.7525 MB / 0.8034 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4621, allocations: 305.1 kB / 0.8037 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005994/0.4681, allocations: 2.296 MB / 0.8059 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006461/0.4745, allocations: 2.681 MB / 0.8086 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3116/0.7861, allocations: 4.864 MB / 0.8133 GB, free: 92.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/0.7861, allocations: 1.125 kB / 0.8133 GB, free: 92.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01605/0.8021, allocations: 7.156 MB / 0.8203 GB, free: 91.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.8022, allocations: 11.48 kB / 0.8203 GB, free: 91.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.8022, allocations: 5.156 kB / 0.8203 GB, free: 91.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01946/0.8217, allocations: 5.719 MB / 0.8259 GB, free: 90.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/0.8254, allocations: 0.6656 MB / 0.8266 GB, free: 90.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.8379, allocations: 5.457 MB / 0.8319 GB, free: 88.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004572/0.8425, allocations: 0.5214 MB / 0.8324 GB, free: 88.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005183/0.843, allocations: 136.4 kB / 0.8325 GB, free: 88.05 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.00119/0.8442, allocations: 0.5291 MB / 0.833 GB, free: 87.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006031/0.8448, allocations: 354.1 kB / 0.8334 GB, free: 87.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03007/0.8749, allocations: 10.45 MB / 0.8436 GB, free: 84.36 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.8749, allocations: 24 kB / 0.8436 GB, free: 84.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/0.8749, allocations: 0 / 0.8436 GB, free: 84.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.286e-05/0.875, allocations: 15.7 kB / 0.8436 GB, free: 84.34 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.03508/0.9101, allocations: 13.09 MB / 0.8564 GB, free: 71.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/0.9101, allocations: 0 / 0.8564 GB, free: 71.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/0.9119, allocations: 269.7 kB / 0.8567 GB, free: 71.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01433/0.9262, allocations: 4.749 MB / 0.8613 GB, free: 66.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005487/0.9268, allocations: 55.98 kB / 0.8614 GB, free: 66.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0455/0.9723, allocations: 20.82 MB / 0.8817 GB, free: 45.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9723, allocations: 3.938 kB / 0.8817 GB, free: 45.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0339/1.006, allocations: 12.81 MB / 0.8942 GB, free: 33.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/1.007, allocations: 447.4 kB / 0.8946 GB, free: 32.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006822/1.008, allocations: 48 kB / 0.8947 GB, free: 32.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/1.011, allocations: 251.7 kB / 0.8949 GB, free: 32.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001655/1.013, allocations: 0.5372 MB / 0.8954 GB, free: 31.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/1.013, allocations: 64 kB / 0.8955 GB, free: 31.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002128/1.015, allocations: 1.881 MB / 0.8973 GB, free: 29.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.015, allocations: 0 / 0.8973 GB, free: 29.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002769/1.018, allocations: 1.13 MB / 0.8984 GB, free: 28.79 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.03465/1.052, allocations: 13.24 MB / 0.9114 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01559/1.068, allocations: 5.788 MB / 0.917 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.068, allocations: 0 / 0.917 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01019/1.078, allocations: 3.623 MB / 0.9206 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/1.081, allocations: 276.8 kB / 0.9208 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07404/1.155, allocations: 35.46 MB / 0.9554 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/1.156, allocations: 1.304 MB / 0.9567 GB, free: 380 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001405/1.158, allocations: 301.2 kB / 0.957 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002388/1.16, allocations: 1.407 MB / 0.9584 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of SimCode: time 2.154e-06/1.16, allocations: 3.938 kB / 0.9584 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1567/1.317, allocations: 92.2 MB / 1.048 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.28/21.59, allocations: 15.94 kB / 1.048 GB, free: 2.832 MB / 0.7012 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: 26.71710393403191] Failed to read output from testmodel.py, exit status != 0: 21.81769075698685 21.845674853 21.602933615 Calling exit ...