Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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.001868/0.001868, allocations: 73.8 kB / 21.24 MB, free: 0.5547 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.002031/0.002031, allocations: 159.3 kB / 24.5 MB, free: 3.715 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.534/1.534, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.1791/0.1791, allocations: 29.43 MB / 290.7 MB, free: 3.25 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.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") [Timeout 660] "Notification: PowerSystems 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.002076/0.002076, allocations: 71.89 kB / 431.2 MB, free: 3.227 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3439, allocations: 62.44 MB / 493.6 MB, free: 37.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002756/0.3467, allocations: 1.49 MB / 495.1 MB, free: 36.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006968/0.3474, allocations: 488.7 kB / 495.6 MB, free: 36.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.3474, allocations: 4 kB / 495.6 MB, free: 36.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.3476, allocations: 18.38 kB / 495.6 MB, free: 36.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.3479, allocations: 79.17 kB / 495.7 MB, free: 36.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.348, allocations: 81.97 kB / 495.8 MB, free: 36.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.3482, allocations: 77.8 kB / 495.8 MB, free: 36.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.3482, allocations: 192 / 495.8 MB, free: 36.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3483, allocations: 27.91 kB / 495.9 MB, free: 36.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/0.3484, allocations: 31.47 kB / 495.9 MB, free: 36.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3484, allocations: 3.312 kB / 495.9 MB, free: 36.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3485, allocations: 93.47 kB / 496 MB, free: 36.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.3486, allocations: 25.48 kB / 496 MB, free: 36.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.3486, allocations: 21.97 kB / 496 MB, free: 36.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.3488, allocations: 131.8 kB / 496.2 MB, free: 36.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3488, allocations: 0 / 496.2 MB, free: 36.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3488, allocations: 0 / 496.2 MB, free: 36.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3488, allocations: 0 / 496.2 MB, free: 36.2 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003604/0.3492, allocations: 332.2 kB / 496.5 MB, free: 35.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.3492, allocations: 13.42 kB / 496.5 MB, free: 35.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.3493, allocations: 7.984 kB / 496.5 MB, free: 35.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.3494, allocations: 141.5 kB / 496.6 MB, free: 35.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3495, allocations: 384 / 496.6 MB, free: 35.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-06/0.3495, allocations: 7.625 kB / 496.7 MB, free: 35.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.3496, allocations: 97.05 kB / 496.8 MB, free: 35.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.3496, allocations: 0 / 496.8 MB, free: 35.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3496, allocations: 0 / 496.8 MB, free: 35.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3496, allocations: 7.875 kB / 496.8 MB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.3496, allocations: 20.3 kB / 496.8 MB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.3499, allocations: 224.2 kB / 497 MB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.733e-05/0.35, allocations: 34.31 kB / 497 MB, free: 35.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.35, allocations: 19.88 kB / 497.1 MB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.35, allocations: 7.328 kB / 497.1 MB, free: 35.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.35, allocations: 33.59 kB / 497.1 MB, free: 35.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.35, allocations: 3.938 kB / 497.1 MB, free: 35.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001508/0.3502, allocations: 56.8 kB / 497.1 MB, free: 35.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.3502, allocations: 80.3 kB / 497.2 MB, free: 35.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.3503, allocations: 147.8 kB / 497.4 MB, free: 35.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.3503, allocations: 28.8 kB / 497.4 MB, free: 35.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.3504, allocations: 98.52 kB / 497.5 MB, free: 34.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.3504, allocations: 7.953 kB / 497.5 MB, free: 34.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.3504, allocations: 16.03 kB / 497.5 MB, free: 34.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.262e-05/0.3505, allocations: 326.2 kB / 497.8 MB, free: 34.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.3505, allocations: 10.5 kB / 497.8 MB, free: 34.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.3505, allocations: 45.61 kB / 497.9 MB, free: 34.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.18e-05/0.3505, allocations: 21.94 kB / 497.9 MB, free: 34.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3505, allocations: 0 / 497.9 MB, free: 34.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.669e-05/0.3506, allocations: 52.84 kB / 498 MB, free: 34.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.3506, allocations: 8.156 kB / 498 MB, free: 34.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.3506, allocations: 0 / 498 MB, free: 34.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3506, allocations: 0 / 498 MB, free: 34.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.3507, allocations: 7 kB / 498 MB, free: 34.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3507, allocations: 3.031 kB / 498 MB, free: 34.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.401e-05/0.3507, allocations: 3.969 kB / 498 MB, free: 34.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.3507, allocations: 4 kB / 498 MB, free: 34.47 MB / 446.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.3508, allocations: 123.3 kB / 498.1 MB, free: 34.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.3508, allocations: 7.047 kB / 498.1 MB, free: 34.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.758e-05/0.3509, allocations: 60.44 kB / 498.2 MB, free: 34.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3509, allocations: 0 / 498.2 MB, free: 34.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3509, allocations: 0 / 498.2 MB, free: 34.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3509, allocations: 0 / 498.2 MB, free: 34.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.351, allocations: 128.6 kB / 498.3 MB, free: 34.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.351, allocations: 0 / 498.3 MB, free: 34.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.351, allocations: 3.156 kB / 498.3 MB, free: 34.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.351, allocations: 11.19 kB / 498.3 MB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.351, allocations: 0 / 498.3 MB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.351, allocations: 0 / 498.3 MB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.351, allocations: 3.469 kB / 498.3 MB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.5e-05/0.3511, allocations: 146.6 kB / 498.5 MB, free: 34.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.3511, allocations: 19.5 kB / 498.5 MB, free: 34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.3512, allocations: 7.062 kB / 498.5 MB, free: 33.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.367e-05/0.3512, allocations: 0 / 498.5 MB, free: 33.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.3512, allocations: 3.422 kB / 498.5 MB, free: 33.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3512, allocations: 3.219 kB / 498.5 MB, free: 33.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.733e-05/0.3513, allocations: 116.7 kB / 498.6 MB, free: 33.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3513, allocations: 4 kB / 498.6 MB, free: 33.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.3516, allocations: 37.55 kB / 498.7 MB, free: 33.89 MB / 446.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.001553/0.3531, allocations: 471.4 kB / 499.1 MB, free: 33.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.3533, allocations: 23.86 kB / 499.1 MB, free: 33.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3533, allocations: 4 kB / 499.1 MB, free: 33.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.3533, allocations: 10.31 kB / 499.1 MB, free: 33.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3536, allocations: 28.44 kB / 499.2 MB, free: 33.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.3539, allocations: 161.4 kB / 499.3 MB, free: 33.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.703e-05/0.354, allocations: 74.36 kB / 499.4 MB, free: 33.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.412e-05/0.354, allocations: 20.77 kB / 499.4 MB, free: 33.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.354, allocations: 18 kB / 499.4 MB, free: 33.43 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.354, allocations: 7.938 kB / 499.5 MB, free: 33.43 MB / 446.1 MB Notification: Performance of Templates: time 0.004014/0.3581, allocations: 1.606 MB / 0.4893 GB, free: 33.2 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Tables.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.994092802982777] Failed to read output from testmodel.py, exit status != 0: 0.366302335052751 0.37781563500000004 0.025509727000000003 Calling exit ...