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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 113.3 kB / 17.69 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 192 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 224.5 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1718/0.1718, allocations: 38 MB / 309.8 MB, free: 5.98 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 67.91 kB / 376.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2314, allocations: 55.23 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002485/0.2339, allocations: 1.422 MB / 433.4 MB, free: 18.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004232/0.2344, allocations: 275.7 kB / 433.7 MB, free: 17.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.2344, allocations: 0 / 433.7 MB, free: 17.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.2346, allocations: 23.84 kB / 433.7 MB, free: 17.8 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.2347, allocations: 31.84 kB / 433.8 MB, free: 17.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.2349, allocations: 62.11 kB / 433.8 MB, free: 17.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.926e-05/0.235, allocations: 59.81 kB / 433.9 MB, free: 17.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.2351, allocations: 8 kB / 433.9 MB, free: 17.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.2352, allocations: 23.92 kB / 433.9 MB, free: 17.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.2352, allocations: 27.78 kB / 433.9 MB, free: 17.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.2353, allocations: 4 kB / 433.9 MB, free: 17.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.2353, allocations: 47.98 kB / 434 MB, free: 17.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.2354, allocations: 23.91 kB / 434 MB, free: 17.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.2354, allocations: 15.88 kB / 434 MB, free: 17.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.2356, allocations: 91.72 kB / 434.1 MB, free: 17.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2356, allocations: 0 / 434.1 MB, free: 17.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2356, allocations: 0 / 434.1 MB, free: 17.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.2356, allocations: 0 / 434.1 MB, free: 17.41 MB / 318.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.0002872/0.2359, allocations: 388.8 kB / 434.5 MB, free: 16.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.647e-05/0.2359, allocations: 11.89 kB / 434.5 MB, free: 16.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.236, allocations: 8.844 kB / 434.5 MB, free: 16.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.2361, allocations: 192.2 kB / 434.7 MB, free: 16.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.2361, allocations: 4.375 kB / 434.7 MB, free: 16.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.2361, allocations: 384 / 434.7 MB, free: 16.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.391e-05/0.2362, allocations: 63.53 kB / 434.8 MB, free: 16.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2362, allocations: 0 / 434.8 MB, free: 16.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.2363, allocations: 8 kB / 434.8 MB, free: 16.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2363, allocations: 0 / 434.8 MB, free: 16.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.2363, allocations: 15.98 kB / 434.8 MB, free: 16.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.2366, allocations: 284.8 kB / 435.1 MB, free: 16.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.872e-05/0.2366, allocations: 38.56 kB / 435.1 MB, free: 16.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.2367, allocations: 8.922 kB / 435.1 MB, free: 16.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2367, allocations: 4 kB / 435.1 MB, free: 16.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.2367, allocations: 38.55 kB / 435.2 MB, free: 16.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.2367, allocations: 0 / 435.2 MB, free: 16.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001297/0.2369, allocations: 61.53 kB / 435.2 MB, free: 16.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.2369, allocations: 77.11 kB / 435.3 MB, free: 16.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.237, allocations: 137.8 kB / 435.4 MB, free: 15.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.237, allocations: 25.7 kB / 435.5 MB, free: 15.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/0.237, allocations: 96.12 kB / 435.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.2371, allocations: 11.81 kB / 435.6 MB, free: 15.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.2371, allocations: 17.72 kB / 435.6 MB, free: 15.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.2371, allocations: 326.8 kB / 435.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.2372, allocations: 4 kB / 435.9 MB, free: 15.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.2372, allocations: 13.72 kB / 435.9 MB, free: 15.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.817e-05/0.2372, allocations: 24.78 kB / 435.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2372, allocations: 0 / 435.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.192e-05/0.2373, allocations: 57.98 kB / 436 MB, free: 15.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.2373, allocations: 4 kB / 436 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.2373, allocations: 0 / 436 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2373, allocations: 4 kB / 436 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.578e-05/0.2374, allocations: 8 kB / 436 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2374, allocations: 4 kB / 436 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.2374, allocations: 3.906 kB / 436 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.2374, allocations: 0 / 436 MB, free: 15.27 MB / 318.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.269e-05/0.2375, allocations: 121.7 kB / 436.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.2375, allocations: 15.92 kB / 436.1 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.2376, allocations: 15.84 kB / 436.2 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2376, allocations: 0 / 436.2 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2376, allocations: 0 / 436.2 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2376, allocations: 0 / 436.2 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.2377, allocations: 177.6 kB / 436.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2377, allocations: 0 / 436.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.2377, allocations: 4 kB / 436.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2377, allocations: 0 / 436.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.2378, allocations: 0 / 436.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2378, allocations: 4 kB / 436.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2378, allocations: 4 kB / 436.3 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.149e-05/0.2379, allocations: 147.4 kB / 436.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.2379, allocations: 85.02 kB / 436.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.2379, allocations: 0 / 436.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.783e-05/0.238, allocations: 3.984 kB / 436.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-06/0.238, allocations: 4 kB / 436.6 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.238, allocations: 0 / 436.6 MB, free: 14.6 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.2381, allocations: 119.2 kB / 436.7 MB, free: 14.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2381, allocations: 0 / 436.7 MB, free: 14.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.2383, allocations: 15.98 kB / 436.7 MB, free: 14.47 MB / 318.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.0007473/0.2391, allocations: 407.1 kB / 437.1 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.393e-05/0.2391, allocations: 12 kB / 437.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2392, allocations: 0 / 437.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.6e-05/0.2392, allocations: 15.98 kB / 437.1 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.2395, allocations: 15.98 kB / 437.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.2397, allocations: 148.8 kB / 437.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.741e-05/0.2398, allocations: 0.6924 MB / 438 MB, free: 13.19 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.167e-05/0.2398, allocations: 15.97 kB / 438 MB, free: 13.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.2398, allocations: 15.44 kB / 438 MB, free: 13.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2399, allocations: 0 / 438 MB, free: 13.16 MB / 318.1 MB Notification: Performance of Templates: time 0.002917/0.2428, allocations: 1.159 MB / 439.2 MB, free: 12 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Tables.makefile (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 gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)