Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.0007584/0.0007584, allocations: 84.44 kB / 20.73 MB, free: 3.836 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.0007737/0.0007737, allocations: 165.9 kB / 24 MB, free: 0.5586 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.8634/0.8634, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.02215/0.02215, allocations: 4.466 MB / 265.2 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: translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 390.9 MB, free: 6.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.802e-05, allocations: 2.281 kB / 390.9 MB, free: 6.879 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.001855/0.001883, allocations: 1.501 MB / 392.4 MB, free: 5.379 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.003538, allocations: 1.544 MB / 393.9 MB, free: 3.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.227e-05/0.003631, allocations: 4 kB / 393.9 MB, free: 3.816 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.003955, allocations: 139.1 kB / 394 MB, free: 3.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.004224, allocations: 123.2 kB / 394.2 MB, free: 3.559 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009332/0.005158, allocations: 0.84 MB / 395 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.005454, allocations: 270.6 kB / 395.3 MB, free: 2.449 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.005597, allocations: 60.58 kB / 395.3 MB, free: 2.391 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.005711, allocations: 155.6 kB / 395.5 MB, free: 2.238 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.00585, allocations: 103.7 kB / 395.6 MB, free: 2.137 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.005878, allocations: 20 kB / 395.6 MB, free: 2.117 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.006182, allocations: 211.6 kB / 395.8 MB, free: 1.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.006215, allocations: 55.77 kB / 395.9 MB, free: 1.855 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.006282, allocations: 83.77 kB / 395.9 MB, free: 1.773 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.006705, allocations: 446.5 kB / 396.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.006707, allocations: 0 / 396.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006709, allocations: 0 / 396.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.006715, allocations: 7.984 kB / 396.4 MB, free: 1.328 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001473/0.008188, allocations: 0.7743 MB / 397.2 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.008221, allocations: 12.03 kB / 397.2 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.008281, allocations: 24.8 kB / 397.2 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.008514, allocations: 211 kB / 397.4 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.008528, allocations: 12.88 kB / 397.4 MB, free: 240 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.008553, allocations: 20.38 kB / 397.4 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.008912, allocations: 395.4 kB / 397.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.008922, allocations: 192 / 397.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.008945, allocations: 12.36 kB / 397.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.008951, allocations: 12.31 kB / 397.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.009224, allocations: 293.8 kB / 398.1 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008699/0.01009, allocations: 0.7365 MB / 398.9 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005113/0.01061, allocations: 356.1 kB / 399.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.01076, allocations: 164.8 kB / 399.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.0108, allocations: 4 kB / 399.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.01083, allocations: 42.55 kB / 399.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.492e-06/0.01083, allocations: 0 / 399.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001534/0.01236, allocations: 0.8691 MB / 400.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.01239, allocations: 67.34 kB / 400.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.01255, allocations: 219.8 kB / 400.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.01257, allocations: 33.7 kB / 400.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.01263, allocations: 136.8 kB / 400.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.01268, allocations: 99.12 kB / 400.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/0.01276, allocations: 85.58 kB / 400.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.01285, allocations: 326.8 kB / 401.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.01303, allocations: 179.9 kB / 401.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.01319, allocations: 179.9 kB / 401.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.01356, allocations: 405.2 kB / 402 MB, free: 11.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01356, allocations: 4 kB / 402 MB, free: 11.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007902/0.01435, allocations: 0.6463 MB / 402.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.01437, allocations: 6.969 kB / 402.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.01438, allocations: 4 kB / 402.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.01494, allocations: 252.5 kB / 402.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.01506, allocations: 51.91 kB / 402.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.01742, allocations: 2.529 MB / 405.5 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.01754, allocations: 27.73 kB / 405.5 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.01756, allocations: 16.03 kB / 405.5 MB, free: 7.883 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 (32): * Single equations (assignments): 31 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.01766, allocations: 141.8 kB / 405.7 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.01769, allocations: 27.8 kB / 405.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007815/0.01847, allocations: 0.5908 MB / 406.3 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01847, allocations: 8 kB / 406.3 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.01848, allocations: 0 / 406.3 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01848, allocations: 0 / 406.3 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009972/0.01948, allocations: 0.9329 MB / 407.2 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.01948, allocations: 0 / 407.2 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.01954, allocations: 35.98 kB / 407.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004972/0.02003, allocations: 240.9 kB / 407.5 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.02005, allocations: 8 kB / 407.5 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.02205, allocations: 2.496 MB / 410 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.02205, allocations: 7.938 kB / 410 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007243/0.02278, allocations: 0.6336 MB / 410.6 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.02281, allocations: 31.78 kB / 410.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.02283, allocations: 8 kB / 410.7 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.02294, allocations: 11.98 kB / 410.7 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.02298, allocations: 27.89 kB / 410.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.02299, allocations: 8 kB / 410.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.0231, allocations: 167 kB / 410.9 MB, free: 2.332 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0231, allocations: 4 kB / 410.9 MB, free: 2.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003061/0.02341, allocations: 108 kB / 411 MB, free: 2.223 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 (20): * Single equations (assignments): 19 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001653/0.02357, allocations: 119.1 kB / 411.1 MB, free: 2.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008039/0.02438, allocations: 0.5846 MB / 411.7 MB, free: 1.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.02438, allocations: 4 kB / 411.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.0248, allocations: 382.9 kB / 412.1 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.02507, allocations: 23.98 kB / 412.1 MB, free: 1.086 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007926/0.02586, allocations: 0.5404 MB / 412.6 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.02598, allocations: 142.5 kB / 412.8 MB, free: 364 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.02603, allocations: 32.48 kB / 412.8 MB, free: 328 kB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02603, allocations: 0 / 412.8 MB, free: 328 kB / 330.7 MB Notification: Performance of Templates: time 0.129/0.155, allocations: 4.812 MB / 417.6 MB, free: 33.51 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.252294737845659] Failed to read output from testmodel.py, exit status != 0: 0.16064673382788897 0.172861274 0.163908684 Calling exit ...