Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.001735/0.001735, allocations: 82.28 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001658/0.001658, allocations: 164.4 kB / 23.96 MB, free: 4.145 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.559/1.559, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1747/0.1747, allocations: 29.44 MB / 290.1 MB, free: 3.27 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.458e-05, allocations: 2.281 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006303/0.006327, allocations: 4.374 MB / 435.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002826/0.009153, allocations: 1.464 MB / 436.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.009396, allocations: 23.81 kB / 436.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009697/0.01037, allocations: 286.5 kB / 436.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007316/0.0111, allocations: 258.5 kB / 437.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.01192, allocations: 283.1 kB / 437.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009264/0.01284, allocations: 0.6506 MB / 438 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005073/0.01335, allocations: 240.9 kB / 438.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006941/0.01404, allocations: 390.8 kB / 438.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007155/0.01476, allocations: 375.1 kB / 439 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.01487, allocations: 44 kB / 439.1 MB, free: 9.551 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.01525, allocations: 155.7 kB / 439.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.01557, allocations: 263.3 kB / 439.5 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.0159, allocations: 191.5 kB / 439.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009595/0.01686, allocations: 0.6776 MB / 440.3 MB, free: 8.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.01686, allocations: 4 kB / 440.3 MB, free: 8.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01686, allocations: 0 / 440.3 MB, free: 8.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.01688, allocations: 0 / 440.3 MB, free: 8.27 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002057/0.01894, allocations: 0.8296 MB / 441.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.01898, allocations: 8.031 kB / 441.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007789/0.01975, allocations: 140.5 kB / 441.3 MB, free: 7.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.02084, allocations: 436.8 kB / 441.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.02088, allocations: 29.38 kB / 441.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.02103, allocations: 60.44 kB / 441.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.02217, allocations: 0.6843 MB / 442.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.02219, allocations: 4 kB / 442.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.02225, allocations: 23.92 kB / 442.5 MB, free: 5.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.02238, allocations: 40.97 kB / 442.6 MB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009329/0.02331, allocations: 0.5229 MB / 443.1 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/0.02749, allocations: 2.859 MB / 446 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/0.02817, allocations: 301.3 kB / 446.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.02848, allocations: 161.7 kB / 446.4 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.02852, allocations: 8 kB / 446.4 MB, free: 1.922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.02856, allocations: 38.5 kB / 446.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 2.986e-06/0.02856, allocations: 0 / 446.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002289/0.03085, allocations: 1.16 MB / 447.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.03092, allocations: 81.11 kB / 447.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.03147, allocations: 401.4 kB / 448.1 MB, free: 184 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.03152, allocations: 37.7 kB / 448.1 MB, free: 140 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2067/0.2382, allocations: 291.9 kB / 448.4 MB, free: 30.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.2384, allocations: 125.1 kB / 448.5 MB, free: 30.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.2385, allocations: 98.56 kB / 448.6 MB, free: 30.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.2386, allocations: 350.9 kB / 449 MB, free: 29.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.2389, allocations: 191.9 kB / 449.2 MB, free: 29.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.2393, allocations: 387.2 kB / 449.5 MB, free: 29.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.24, allocations: 0.6007 MB / 450.1 MB, free: 29.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.24, allocations: 2.125 kB / 450.1 MB, free: 29.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001885/0.2419, allocations: 0.8257 MB / 451 MB, free: 28.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2419, allocations: 8.938 kB / 451 MB, free: 28.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2419, allocations: 5.719 kB / 451 MB, free: 28.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.2432, allocations: 269.9 kB / 451.2 MB, free: 28.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/0.2438, allocations: 137.8 kB / 451.4 MB, free: 28.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/0.2483, allocations: 3.775 MB / 455.2 MB, free: 25.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.2487, allocations: 28.14 kB / 455.2 MB, free: 25.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-05/0.2488, allocations: 26.33 kB / 455.2 MB, free: 25.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002899/0.2491, allocations: 231 kB / 455.4 MB, free: 25.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.41e-05/0.2491, allocations: 41.03 kB / 455.5 MB, free: 25.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008573/0.25, allocations: 485.3 kB / 455.9 MB, free: 25.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.25, allocations: 4.125 kB / 455.9 MB, free: 25.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.25, allocations: 4.547 kB / 456 MB, free: 25.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.25, allocations: 10.02 kB / 456 MB, free: 25.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.2513, allocations: 0.88 MB / 456.8 MB, free: 25.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2513, allocations: 5.312 kB / 456.8 MB, free: 25.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.2518, allocations: 87.66 kB / 456.9 MB, free: 25.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.2518, allocations: 3.781 kB / 456.9 MB, free: 25.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.2518, allocations: 12.94 kB / 456.9 MB, free: 25.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2518, allocations: 3.484 kB / 457 MB, free: 25.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2518, allocations: 4.594 kB / 457 MB, free: 25.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009555/0.2528, allocations: 0.7467 MB / 457.7 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.2529, allocations: 45.31 kB / 457.7 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.2529, allocations: 11.38 kB / 457.8 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.2532, allocations: 14.95 kB / 457.8 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.2532, allocations: 25.62 kB / 457.8 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.2533, allocations: 12.78 kB / 457.8 MB, free: 24.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.2536, allocations: 269.4 kB / 458.1 MB, free: 24.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2536, allocations: 0 / 458.1 MB, free: 24.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000592/0.2542, allocations: 120.9 kB / 458.2 MB, free: 24.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001403/0.2543, allocations: 112.2 kB / 458.3 MB, free: 24.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.2559, allocations: 0.7751 MB / 459.1 MB, free: 24.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2559, allocations: 0 / 459.1 MB, free: 24.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.2562, allocations: 186.7 kB / 459.3 MB, free: 24.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.2568, allocations: 81.16 kB / 459.3 MB, free: 23.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.26, allocations: 1.354 MB / 460.7 MB, free: 23.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.2604, allocations: 302.1 kB / 461 MB, free: 23.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003673/0.2608, allocations: 135.2 kB / 461.1 MB, free: 23.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.2609, allocations: 37.31 kB / 461.2 MB, free: 23.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2609, allocations: 0 / 461.2 MB, free: 23.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01323/0.2741, allocations: 6.177 MB / 467.3 MB, free: 21.74 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.081203609704971] Failed to read output from testmodel.py, exit status != 0: 0.2831501476466656 0.292899255 0.273751 Calling exit ...