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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 104.5 kB / 17.79 MB, free: 5.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 186.1 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 246.4 MB, free: 4.352 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.162/0.162, allocations: 8.087 MB / 306.7 MB, free: 2.648 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001846/0.001846, allocations: 60.05 kB / 423.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2443, allocations: 51.52 MB / 475.4 MB, free: 22.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002366/0.2467, allocations: 1.681 MB / 477.1 MB, free: 20.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.2484, allocations: 1.572 MB / 478.6 MB, free: 19.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.2486, allocations: 3.719 kB / 478.7 MB, free: 19.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.249, allocations: 126.3 kB / 478.8 MB, free: 19.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.2493, allocations: 134.5 kB / 478.9 MB, free: 19.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.2507, allocations: 0.9202 MB / 479.8 MB, free: 18.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.2511, allocations: 260.7 kB / 480.1 MB, free: 18.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.2513, allocations: 90.28 kB / 480.2 MB, free: 18.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.2514, allocations: 112 kB / 480.3 MB, free: 18.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.2516, allocations: 140.6 kB / 480.4 MB, free: 18.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.2516, allocations: 24.44 kB / 480.4 MB, free: 18.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.252, allocations: 203.1 kB / 480.6 MB, free: 18.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.2521, allocations: 59.8 kB / 480.7 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.2522, allocations: 125.6 kB / 480.8 MB, free: 18.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.2527, allocations: 422.3 kB / 481.2 MB, free: 17.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2527, allocations: 0 / 481.2 MB, free: 17.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2527, allocations: 0 / 481.2 MB, free: 17.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2527, allocations: 1.688 kB / 481.2 MB, free: 17.91 MB / 350.1 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.00235/0.2551, allocations: 0.8583 MB / 482.1 MB, free: 17.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2551, allocations: 13.52 kB / 482.1 MB, free: 17.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/0.2552, allocations: 27.17 kB / 482.1 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.2554, allocations: 257.5 kB / 482.4 MB, free: 16.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.2555, allocations: 17.81 kB / 482.4 MB, free: 16.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.2555, allocations: 27.16 kB / 482.4 MB, free: 16.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.2559, allocations: 293.4 kB / 482.7 MB, free: 16.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2559, allocations: 192 / 482.7 MB, free: 16.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.256, allocations: 10.22 kB / 482.7 MB, free: 16.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.256, allocations: 5.469 kB / 482.7 MB, free: 16.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.2564, allocations: 281.4 kB / 483 MB, free: 16.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.2576, allocations: 1.044 MB / 484 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008285/0.2584, allocations: 448.5 kB / 484.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.2587, allocations: 180.9 kB / 484.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.836e-05/0.2587, allocations: 5.062 kB / 484.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.2587, allocations: 44.94 kB / 484.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.443e-06/0.2587, allocations: 3.938 kB / 484.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002727/0.2615, allocations: 0.9565 MB / 485.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.2615, allocations: 62.23 kB / 485.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.2618, allocations: 209.1 kB / 485.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2618, allocations: 31.89 kB / 486 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.2619, allocations: 146.3 kB / 486.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.91e-05/0.262, allocations: 99 kB / 486.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.2621, allocations: 72.39 kB / 486.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.2622, allocations: 331.4 kB / 486.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.2624, allocations: 172.1 kB / 486.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.2627, allocations: 187 kB / 487 MB, free: 13.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/0.2632, allocations: 391.7 kB / 487.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2632, allocations: 3.938 kB / 487.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00126/0.2645, allocations: 0.6562 MB / 488 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2645, allocations: 13.72 kB / 488 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2645, allocations: 0 / 488 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009909/0.2655, allocations: 243.6 kB / 488.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.2657, allocations: 56.28 kB / 488.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/0.2689, allocations: 2.706 MB / 491 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.2692, allocations: 26.75 kB / 491 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.2692, allocations: 19.3 kB / 491.1 MB, free: 10.55 MB / 350.1 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.000123/0.2693, allocations: 142.1 kB / 491.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.2694, allocations: 26.48 kB / 491.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.2707, allocations: 0.6059 MB / 491.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2707, allocations: 3.375 kB / 491.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2707, allocations: 0 / 491.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2707, allocations: 1.281 kB / 491.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.2723, allocations: 1.057 MB / 492.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2723, allocations: 4 kB / 492.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.2724, allocations: 32.42 kB / 492.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009137/0.2733, allocations: 241.5 kB / 493.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.2734, allocations: 6.188 kB / 493.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.2762, allocations: 2.673 MB / 495.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2763, allocations: 4 kB / 495.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.2774, allocations: 0.6529 MB / 496.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.2775, allocations: 109 kB / 496.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.2775, allocations: 9.828 kB / 496.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.2778, allocations: 9.438 kB / 496.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.2778, allocations: 23.03 kB / 496.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.2779, allocations: 5.312 kB / 496.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.278, allocations: 166.7 kB / 496.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.278, allocations: 0 / 496.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.2785, allocations: 109.9 kB / 496.9 MB, free: 6.09 MB / 350.1 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.0001893/0.2787, allocations: 129.5 kB / 497 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.2798, allocations: 0.6165 MB / 497.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.2798, allocations: 0 / 497.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006732/0.2805, allocations: 406.3 kB / 498.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.2808, allocations: 23.94 kB / 498.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007811/0.2816, allocations: 0.554 MB / 498.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.2818, allocations: 0.7446 MB / 499.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.2819, allocations: 27.44 kB / 499.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2819, allocations: 0 / 499.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of Templates: time 0.006238/0.2881, allocations: 4.71 MB / 0.4923 GB, free: 14.92 MB / 366.1 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: 6.621412594104186] Failed to read output from testmodel.py, exit status != 0: 0.2951696061063558 0.308285246 0.053004676 Calling exit ...