Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.0008093/0.0008093, allocations: 76.55 kB / 19.97 MB, free: 4.594 MB / 18.57 MB " [Timeout remaining time 180] 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.001368/0.001368, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.928/0.928, allocations: 177.1 MB / 203.6 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02431/0.02431, allocations: 4.472 MB / 264.5 MB, free: 8.75 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.38e-05, allocations: 4.953 kB / 389.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.001997/0.002021, allocations: 1.275 MB / 390.9 MB, free: 6.121 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.003873, allocations: 1.505 MB / 392.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.003958, allocations: 4 kB / 392.4 MB, free: 4.598 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.00432, allocations: 115.3 kB / 392.5 MB, free: 4.484 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.004609, allocations: 91.27 kB / 392.6 MB, free: 4.395 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.005769, allocations: 0.8358 MB / 393.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.006056, allocations: 191 kB / 393.6 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.006206, allocations: 41.78 kB / 393.7 MB, free: 3.324 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.006323, allocations: 111.7 kB / 393.8 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.006447, allocations: 79.77 kB / 393.8 MB, free: 3.137 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.006471, allocations: 16 kB / 393.9 MB, free: 3.121 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.00682, allocations: 207.6 kB / 394.1 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.371e-05/0.006853, allocations: 35.84 kB / 394.1 MB, free: 2.883 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.653e-05/0.00691, allocations: 59.84 kB / 394.2 MB, free: 2.824 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.007325, allocations: 378.8 kB / 394.5 MB, free: 2.453 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.007327, allocations: 0 / 394.5 MB, free: 2.453 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007329, allocations: 0 / 394.5 MB, free: 2.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.007334, allocations: 0 / 394.5 MB, free: 2.453 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001277/0.008611, allocations: 0.6065 MB / 395.1 MB, free: 1.809 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.008663, allocations: 8.031 kB / 395.1 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.513e-05/0.008718, allocations: 46.73 kB / 395.2 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.803e-05/0.008786, allocations: 24.8 kB / 395.2 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.009039, allocations: 174.2 kB / 395.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.009056, allocations: 12.66 kB / 395.4 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.009081, allocations: 16.38 kB / 395.4 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.009405, allocations: 298.3 kB / 395.7 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.009414, allocations: 4.125 kB / 395.7 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.009434, allocations: 4.375 kB / 395.7 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.009443, allocations: 8.125 kB / 395.7 MB, free: 1.172 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.009663, allocations: 204.8 kB / 395.9 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.01047, allocations: 0.6167 MB / 396.5 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/0.01096, allocations: 278.3 kB / 396.8 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.01112, allocations: 128.1 kB / 396.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.01117, allocations: 11.8 kB / 396.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.0112, allocations: 34.56 kB / 397 MB, free: 15.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.094e-06/0.0112, allocations: 0 / 397 MB, free: 15.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001245/0.01244, allocations: 0.6422 MB / 397.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.01248, allocations: 55.41 kB / 397.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.01264, allocations: 186.9 kB / 397.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.01266, allocations: 29.7 kB / 397.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.01272, allocations: 120.6 kB / 398 MB, free: 14.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.01277, allocations: 87.11 kB / 398.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.01284, allocations: 53.7 kB / 398.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.01294, allocations: 330.8 kB / 398.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.01307, allocations: 123.9 kB / 398.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.01319, allocations: 124 kB / 398.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.01347, allocations: 281.9 kB / 399 MB, free: 13.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01347, allocations: 3.938 kB / 399 MB, free: 13.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000596/0.01407, allocations: 482 kB / 399.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01409, allocations: 4 kB / 399.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01409, allocations: 0 / 399.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/0.01455, allocations: 188.6 kB / 399.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/0.01464, allocations: 39.98 kB / 399.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.01666, allocations: 2.204 MB / 401.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.533e-05/0.01676, allocations: 27.78 kB / 401.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.01677, allocations: 4 kB / 401.9 MB, free: 10.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.01687, allocations: 137.7 kB / 402 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.0169, allocations: 15.91 kB / 402.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006086/0.01751, allocations: 472 kB / 402.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01751, allocations: 0 / 402.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01752, allocations: 0 / 402.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01752, allocations: 0 / 402.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008435/0.01836, allocations: 0.7718 MB / 403.3 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.01837, allocations: 3.984 kB / 403.3 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.01842, allocations: 20 kB / 403.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003797/0.0188, allocations: 180.6 kB / 403.5 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.01881, allocations: 4 kB / 403.5 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.02062, allocations: 2.198 MB / 405.7 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02062, allocations: 0 / 405.7 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.02119, allocations: 0.5129 MB / 406.2 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.02121, allocations: 19.83 kB / 406.2 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.02123, allocations: 11.94 kB / 406.2 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.313e-05/0.02132, allocations: 8.094 kB / 406.2 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.02137, allocations: 27.94 kB / 406.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.02138, allocations: 8 kB / 406.3 MB, free: 6.152 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.943e-05/0.02147, allocations: 143.2 kB / 406.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02147, allocations: 0 / 406.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000295/0.02177, allocations: 75.94 kB / 406.5 MB, free: 5.938 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (16): * Single equations (assignments): 15 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008437/0.02261, allocations: 1.072 MB / 407.6 MB, free: 4.832 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006515/0.02326, allocations: 470.3 kB / 408 MB, free: 4.359 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.02326, allocations: 3.938 kB / 408 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.02362, allocations: 326.4 kB / 408.3 MB, free: 4.023 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.02388, allocations: 27.94 kB / 408.4 MB, free: 3.996 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.02648, allocations: 2.736 MB / 411.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.946e-05/0.02657, allocations: 121.1 kB / 411.2 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.606e-05/0.02664, allocations: 25.61 kB / 411.3 MB, free: 1.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.201e-05/0.02671, allocations: 56.48 kB / 411.3 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02671, allocations: 192 / 411.3 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1912/0.2179, allocations: 7.33 MB / 418.6 MB, free: 32.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.014, allocations: 10.69 kB / 418.7 MB, free: 32.77 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.784226678311825] Failed to read output from testmodel.py, exit status != 0: 8.107869741506875 8.11818045 8.109312689 Calling exit ...