Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001631/0.001631, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.566/1.566, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001619/0.001619, allocations: 122.3 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1615/0.1615, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.482e-05, allocations: 4 kB / 397.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2668, allocations: 53.22 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4171/0.684, allocations: 95.2 MB / 0.5332 GB, free: 32.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.6843, allocations: 79.78 kB / 0.5332 GB, free: 32.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03868/0.723, allocations: 13.28 MB / 0.5462 GB, free: 30.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.723, allocations: 3.844 kB / 0.5462 GB, free: 30.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.776e-05/0.7231, allocations: 7.812 kB / 0.5462 GB, free: 30.41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001172/0.7243, allocations: 0.6699 MB / 0.5469 GB, free: 29.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.7243, allocations: 11.69 kB / 0.5469 GB, free: 29.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005377/0.7248, allocations: 94.14 kB / 0.547 GB, free: 29.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.7268, allocations: 0.8518 MB / 0.5478 GB, free: 29.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.7269, allocations: 31.8 kB / 0.5478 GB, free: 29.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.373e-05/0.727, allocations: 40.67 kB / 0.5479 GB, free: 29.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009325/0.7279, allocations: 0.6454 MB / 0.5485 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.728, allocations: 5.469 kB / 0.5485 GB, free: 29.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.728, allocations: 16.5 kB / 0.5485 GB, free: 29.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.7281, allocations: 55.88 kB / 0.5486 GB, free: 29.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008828/0.729, allocations: 0.6305 MB / 0.5492 GB, free: 29.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/0.7318, allocations: 2.405 MB / 0.5515 GB, free: 28.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.7323, allocations: 351.3 kB / 0.5519 GB, free: 28.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.7325, allocations: 253.3 kB / 0.5521 GB, free: 28.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.7326, allocations: 7.516 kB / 0.5521 GB, free: 28.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.7326, allocations: 38.19 kB / 0.5522 GB, free: 28.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/0.7326, allocations: 0 / 0.5522 GB, free: 28.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001625/0.7342, allocations: 1.265 MB / 0.5534 GB, free: 27.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.7343, allocations: 88.98 kB / 0.5535 GB, free: 27.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.7346, allocations: 249.8 kB / 0.5537 GB, free: 27.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.7346, allocations: 29.39 kB / 0.5537 GB, free: 27.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.7347, allocations: 246.2 kB / 0.554 GB, free: 27.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.925e-05/0.7348, allocations: 167.4 kB / 0.5541 GB, free: 27.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.7348, allocations: 11.41 kB / 0.5542 GB, free: 27.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.7349, allocations: 349.9 kB / 0.5545 GB, free: 26.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.7351, allocations: 212 kB / 0.5547 GB, free: 26.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.7355, allocations: 355.1 kB / 0.555 GB, free: 26.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.7358, allocations: 284.3 kB / 0.5553 GB, free: 26.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7358, allocations: 0 / 0.5553 GB, free: 26.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009593/0.7368, allocations: 0.7051 MB / 0.556 GB, free: 26.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.7368, allocations: 11.75 kB / 0.556 GB, free: 26.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000692/0.7375, allocations: 0.5184 MB / 0.5565 GB, free: 26.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002763/0.7378, allocations: 78.08 kB / 0.5566 GB, free: 26.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.7381, allocations: 94.8 kB / 0.5567 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.7393, allocations: 1.602 MB / 0.5582 GB, free: 25.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.7396, allocations: 33.42 kB / 0.5583 GB, free: 25.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.7396, allocations: 19.59 kB / 0.5583 GB, free: 25.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.7397, allocations: 131.6 kB / 0.5584 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.7398, allocations: 31.19 kB / 0.5584 GB, free: 25.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007961/0.7406, allocations: 0.5592 MB / 0.559 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/0.7407, allocations: 18.95 kB / 0.559 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.7407, allocations: 0 / 0.559 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.7407, allocations: 3.953 kB / 0.559 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.7422, allocations: 1.181 MB / 0.5602 GB, free: 24.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.7422, allocations: 4.094 kB / 0.5602 GB, free: 24.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.7426, allocations: 85.81 kB / 0.5602 GB, free: 24.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.7426, allocations: 3.953 kB / 0.5602 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.7427, allocations: 7.469 kB / 0.5603 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.7427, allocations: 3.938 kB / 0.5603 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7427, allocations: 0 / 0.5603 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.7436, allocations: 0.9713 MB / 0.5612 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.7437, allocations: 111.2 kB / 0.5613 GB, free: 24.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.7437, allocations: 7.594 kB / 0.5613 GB, free: 24.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.744, allocations: 25.45 kB / 0.5613 GB, free: 24.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.744, allocations: 30.11 kB / 0.5614 GB, free: 24.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.744, allocations: 11.25 kB / 0.5614 GB, free: 24.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.7442, allocations: 195.3 kB / 0.5616 GB, free: 24.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7442, allocations: 0 / 0.5616 GB, free: 24.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005115/0.7447, allocations: 136.8 kB / 0.5617 GB, free: 24.24 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000203/0.7449, allocations: 136.8 kB / 0.5618 GB, free: 24.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008319/0.7458, allocations: 0.6704 MB / 0.5625 GB, free: 24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7458, allocations: 0 / 0.5625 GB, free: 24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.7461, allocations: 262.2 kB / 0.5627 GB, free: 23.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.7465, allocations: 52.81 kB / 0.5628 GB, free: 23.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.7477, allocations: 0.9512 MB / 0.5637 GB, free: 23.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.748, allocations: 0.8877 MB / 0.5646 GB, free: 22.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002901/0.7483, allocations: 114.3 kB / 0.5647 GB, free: 22.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/0.7484, allocations: 30.69 kB / 0.5647 GB, free: 22.9 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.7485, allocations: 4 kB / 0.5647 GB, free: 22.89 MB / 378.7 MB Notification: Performance of Templates: time 0.00763/0.7561, allocations: 3.962 MB / 0.5686 GB, free: 22.61 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)