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.001279/0.001279, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001431/0.001431, allocations: 209.9 kB / 24.49 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.402/1.402, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.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.1835/0.1835, allocations: 38.53 MB / 353.2 MB, free: 12.56 MB / 286.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.002113/0.002113, allocations: 67.91 kB / 493.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3102, allocations: 62.48 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002716/0.3129, allocations: 1.488 MB / 0.5447 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009197/0.3138, allocations: 0.5077 MB / 0.5452 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.3139, allocations: 0 / 0.5452 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.3141, allocations: 21.16 kB / 0.5452 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.3144, allocations: 75.66 kB / 0.5453 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.3146, allocations: 84.8 kB / 0.5453 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.3148, allocations: 65.55 kB / 0.5454 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.3148, allocations: 3.062 kB / 0.5454 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.315, allocations: 37.16 kB / 0.5454 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.3151, allocations: 28.89 kB / 0.5455 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3151, allocations: 11.83 kB / 0.5455 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.3153, allocations: 102 kB / 0.5456 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.3153, allocations: 22.53 kB / 0.5456 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.3154, allocations: 21.47 kB / 0.5456 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.3156, allocations: 142.3 kB / 0.5457 GB, free: 14.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3156, allocations: 3.984 kB / 0.5458 GB, free: 14.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3156, allocations: 0 / 0.5458 GB, free: 14.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3156, allocations: 1.281 kB / 0.5458 GB, free: 14.69 MB / 398.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.0004629/0.3161, allocations: 325.6 kB / 0.5461 GB, free: 14.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3161, allocations: 13.45 kB / 0.5461 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.3162, allocations: 12.55 kB / 0.5461 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.3164, allocations: 146.3 kB / 0.5462 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3164, allocations: 1.938 kB / 0.5462 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.3164, allocations: 1.781 kB / 0.5462 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.3165, allocations: 72.06 kB / 0.5463 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3165, allocations: 0 / 0.5463 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3166, allocations: 0 / 0.5463 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3166, allocations: 1.844 kB / 0.5463 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.754e-05/0.3166, allocations: 22.17 kB / 0.5463 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.317, allocations: 251.2 kB / 0.5466 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.133e-05/0.3171, allocations: 39.16 kB / 0.5466 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.3171, allocations: 16.81 kB / 0.5466 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3171, allocations: 0 / 0.5466 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.3172, allocations: 36.12 kB / 0.5467 GB, free: 13.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3172, allocations: 0 / 0.5467 GB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.000168/0.3173, allocations: 54.23 kB / 0.5467 GB, free: 13.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.3174, allocations: 82.73 kB / 0.5468 GB, free: 13.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3176, allocations: 158.5 kB / 0.5469 GB, free: 13.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3176, allocations: 25.7 kB / 0.547 GB, free: 13.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.3177, allocations: 96.56 kB / 0.547 GB, free: 13.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.3177, allocations: 8.938 kB / 0.5471 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.3177, allocations: 17.22 kB / 0.5471 GB, free: 13.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.3179, allocations: 325.1 kB / 0.5474 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.3179, allocations: 7.453 kB / 0.5474 GB, free: 13.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.3179, allocations: 14.41 kB / 0.5474 GB, free: 12.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.3179, allocations: 22.12 kB / 0.5474 GB, free: 12.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3179, allocations: 0 / 0.5474 GB, free: 12.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.518e-05/0.318, allocations: 56.33 kB / 0.5475 GB, free: 12.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.318, allocations: 9.188 kB / 0.5475 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.318, allocations: 0 / 0.5475 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3181, allocations: 5.062 kB / 0.5475 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.3181, allocations: 12.19 kB / 0.5475 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3181, allocations: 1.094 kB / 0.5475 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.3181, allocations: 3.938 kB / 0.5475 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3182, allocations: 6.188 kB / 0.5475 GB, free: 12.91 MB / 398.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 9.089e-05/0.3182, allocations: 114.1 kB / 0.5476 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.3183, allocations: 11.58 kB / 0.5476 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.3184, allocations: 53.08 kB / 0.5477 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3184, allocations: 9.203 kB / 0.5477 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.3184, allocations: 3.984 kB / 0.5477 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3184, allocations: 0 / 0.5477 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.3186, allocations: 157.8 kB / 0.5478 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3186, allocations: 0 / 0.5478 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.3186, allocations: 4.812 kB / 0.5479 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3186, allocations: 0 / 0.5479 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.3186, allocations: 1.312 kB / 0.5479 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3186, allocations: 3.984 kB / 0.5479 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3186, allocations: 1.219 kB / 0.5479 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.3188, allocations: 155.1 kB / 0.548 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.3188, allocations: 6.672 kB / 0.548 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.3188, allocations: 5.406 kB / 0.548 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.3189, allocations: 0 / 0.548 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.3189, allocations: 1.344 kB / 0.548 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3189, allocations: 5.422 kB / 0.548 GB, free: 12.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.319, allocations: 121.2 kB / 0.5481 GB, free: 12.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.319, allocations: 1.656 kB / 0.5481 GB, free: 12.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.3193, allocations: 41.11 kB / 0.5482 GB, free: 12.25 MB / 398.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.001496/0.3208, allocations: 448.2 kB / 0.5486 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.549e-05/0.3209, allocations: 11.12 kB / 0.5486 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3209, allocations: 0 / 0.5486 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.3209, allocations: 18.77 kB / 0.5486 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.3213, allocations: 13.78 kB / 0.5487 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.3216, allocations: 200.5 kB / 0.5488 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.322, allocations: 0.6894 MB / 0.5495 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.322, allocations: 17.92 kB / 0.5495 GB, free: 11.11 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.322, allocations: 3.938 kB / 0.5495 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Templates: time 0.003966/0.326, allocations: 1.78 MB / 0.5513 GB, free: 10.19 MB / 398.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.390304222935811] Failed to read output from testmodel.py, exit status != 0: 0.335274713113904 0.34961172700000004 0.030918532000000002 Calling exit ...