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.001746/0.001746, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.525/1.525, allocations: 230.6 MB / 253.4 MB, free: 14.42 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.001528/0.001528, allocations: 216 kB / 310 MB, free: 3.074 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.5829/0.5829, allocations: 101.3 MB / 467.8 MB, free: 30.63 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.00238/0.00238, allocations: 84.41 kB / 0.6252 GB, free: 33.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1345, allocations: 78.62 MB / 0.7019 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.016/0.1505, allocations: 15.13 MB / 0.7167 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.1612, allocations: 4.659 MB / 0.7213 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003286/0.1645, allocations: 28 kB / 0.7213 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002691/0.1672, allocations: 0.7792 MB / 0.722 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007175/0.1744, allocations: 2.04 MB / 0.724 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004142/0.1785, allocations: 1.435 MB / 0.7254 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007754/0.1863, allocations: 4.559 MB / 0.7299 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.1879, allocations: 0.5424 MB / 0.7304 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003725/0.1916, allocations: 1.86 MB / 0.7322 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004375/0.196, allocations: 2.412 MB / 0.7346 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001508/0.1975, allocations: 404 kB / 0.735 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.1999, allocations: 0.6365 MB / 0.7356 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.2015, allocations: 0.9494 MB / 0.7365 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003676/0.2052, allocations: 1.985 MB / 0.7385 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009327/0.2145, allocations: 5.307 MB / 0.7436 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2145, allocations: 4 kB / 0.7436 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2145, allocations: 0 / 0.7436 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001866/0.2147, allocations: 0 / 0.7436 GB, free: 6.152 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.03352/0.2482, allocations: 8.223 MB / 0.7517 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.2482, allocations: 12.03 kB / 0.7517 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.651e-05/0.2483, allocations: 51.59 kB / 0.7517 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009368/0.2493, allocations: 286.6 kB / 0.752 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.2618, allocations: 1.773 MB / 0.7537 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006258/0.2681, allocations: 2.113 MB / 0.7558 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/0.2692, allocations: 0.8169 MB / 0.7566 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/0.2703, allocations: 244 kB / 0.7568 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.2808, allocations: 2.698 MB / 0.7595 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.2809, allocations: 0 / 0.7595 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009114/0.2818, allocations: 80 kB / 0.7595 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.391e-05/0.2819, allocations: 48 kB / 0.7596 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/0.2938, allocations: 2.846 MB / 0.7624 GB, free: 2.719 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.04017/0.334, allocations: 10.96 MB / 0.7731 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02383/0.3578, allocations: 3.905 MB / 0.7769 GB, free: 3.316 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008479/0.3663, allocations: 1.751 MB / 0.7786 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004957/0.3668, allocations: 45.95 kB / 0.7786 GB, free: 1.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.3669, allocations: 56.56 kB / 0.7787 GB, free: 1.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=253): time 8.226e-06/0.3669, allocations: 3.938 kB / 0.7787 GB, free: 1.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=253): time 0.1208/0.4877, allocations: 25.34 MB / 0.8034 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.4878, allocations: 81.41 kB / 0.8035 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00611/0.4939, allocations: 2.91 MB / 0.8064 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009163/0.4948, allocations: 85.7 kB / 0.8064 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/0.4964, allocations: 1.274 MB / 0.8077 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001703/0.4981, allocations: 0.9529 MB / 0.8086 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002886/0.501, allocations: 0.7486 MB / 0.8093 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.5011, allocations: 309.1 kB / 0.8096 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2888/0.7899, allocations: 2.284 MB / 0.8119 GB, free: 92.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006959/0.7969, allocations: 2.685 MB / 0.8145 GB, free: 92.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/0.8086, allocations: 4.865 MB / 0.8192 GB, free: 90.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-05/0.8086, allocations: 2.688 kB / 0.8192 GB, free: 90.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.0179/0.8265, allocations: 7.158 MB / 0.8262 GB, free: 87.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.8265, allocations: 6.812 kB / 0.8262 GB, free: 87.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.8266, allocations: 6.484 kB / 0.8263 GB, free: 87.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01951/0.8461, allocations: 5.733 MB / 0.8318 GB, free: 87.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003379/0.8494, allocations: 0.6603 MB / 0.8325 GB, free: 87.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/0.8628, allocations: 5.453 MB / 0.8378 GB, free: 84.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005569/0.8683, allocations: 0.5161 MB / 0.8383 GB, free: 84.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/0.8694, allocations: 141.3 kB / 0.8385 GB, free: 84.81 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.00169/0.871, allocations: 0.5302 MB / 0.839 GB, free: 84.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009011/0.8719, allocations: 350.5 kB / 0.8393 GB, free: 84.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03251/0.9045, allocations: 10.45 MB / 0.8495 GB, free: 79.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/0.9045, allocations: 28 kB / 0.8495 GB, free: 79.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/0.9045, allocations: 0 / 0.8495 GB, free: 79.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.568e-05/0.9046, allocations: 11.53 kB / 0.8496 GB, free: 79.69 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.03915/0.9437, allocations: 14.59 MB / 0.8638 GB, free: 65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-05/0.9437, allocations: 10.48 kB / 0.8638 GB, free: 65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.9454, allocations: 263.6 kB / 0.8641 GB, free: 64.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01478/0.9602, allocations: 4.753 MB / 0.8687 GB, free: 59.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006735/0.9609, allocations: 55.98 kB / 0.8688 GB, free: 59.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04964/1.01, allocations: 21.37 MB / 0.8896 GB, free: 38.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.01, allocations: 10.12 kB / 0.8896 GB, free: 38.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03738/1.048, allocations: 12.81 MB / 0.9021 GB, free: 25.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/1.049, allocations: 443.2 kB / 0.9026 GB, free: 25.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.05, allocations: 48 kB / 0.9026 GB, free: 25.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003444/1.054, allocations: 251.7 kB / 0.9029 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00183/1.055, allocations: 0.541 MB / 0.9034 GB, free: 24.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003132/1.056, allocations: 67.98 kB / 0.9034 GB, free: 24.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002554/1.058, allocations: 1.881 MB / 0.9053 GB, free: 22.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.058, allocations: 0 / 0.9053 GB, free: 22.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00411/1.062, allocations: 1.135 MB / 0.9064 GB, free: 21.3 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.03667/1.099, allocations: 13.23 MB / 0.9193 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0167/1.116, allocations: 5.781 MB / 0.925 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.116, allocations: 0 / 0.925 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01118/1.127, allocations: 3.625 MB / 0.9285 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/1.129, allocations: 270.1 kB / 0.9288 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07913/1.208, allocations: 35.5 MB / 0.9634 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/1.21, allocations: 1.849 MB / 0.9652 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001329/1.211, allocations: 293 kB / 0.9655 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002181/1.214, allocations: 1.397 MB / 0.9669 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of SimCode: time 1.363e-06/1.214, allocations: 0 / 0.9669 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1652/1.379, allocations: 93.54 MB / 1.058 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.19/21.57, allocations: 13 kB / 1.058 GB, free: 9.215 MB / 0.7169 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.628195588942617] Failed to read output from testmodel.py, exit status != 0: 21.79419343895279 21.823879507 21.603959408 Calling exit ...