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/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.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001087/0.001087, allocations: 182 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.678/1.678, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001633/0.001634, allocations: 116.7 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1551/0.1551, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.298e-05, allocations: 0 / 397.5 MB, free: 1.055 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3168, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.7293, allocations: 97.08 MB / 0.535 GB, free: 88.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.7297, allocations: 87.19 kB / 0.5351 GB, free: 88.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03935/0.7691, allocations: 13.71 MB / 0.5485 GB, free: 80.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7691, allocations: 0 / 0.5485 GB, free: 80.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.102e-05/0.7692, allocations: 16 kB / 0.5485 GB, free: 80.55 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001305/0.7705, allocations: 0.7071 MB / 0.5492 GB, free: 79.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.7705, allocations: 12.03 kB / 0.5492 GB, free: 79.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004927/0.771, allocations: 95.23 kB / 0.5493 GB, free: 79.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.7731, allocations: 0.9314 MB / 0.5502 GB, free: 78.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.7732, allocations: 36.98 kB / 0.5502 GB, free: 78.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.7733, allocations: 43.91 kB / 0.5503 GB, free: 78.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007935/0.7741, allocations: 0.6719 MB / 0.5509 GB, free: 77.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.7741, allocations: 3.953 kB / 0.5509 GB, free: 77.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.7742, allocations: 23.97 kB / 0.5509 GB, free: 77.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.408e-05/0.7742, allocations: 32.78 kB / 0.551 GB, free: 77.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.7749, allocations: 0.4947 MB / 0.5515 GB, free: 77.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.7778, allocations: 3.013 MB / 0.5544 GB, free: 74.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.7783, allocations: 325.6 kB / 0.5547 GB, free: 73.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.7786, allocations: 198 kB / 0.5549 GB, free: 73.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.7786, allocations: 12.25 kB / 0.5549 GB, free: 73.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.7786, allocations: 42.48 kB / 0.5549 GB, free: 73.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.176e-06/0.7787, allocations: 4 kB / 0.555 GB, free: 73.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001644/0.7803, allocations: 1.151 MB / 0.5561 GB, free: 72.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.7803, allocations: 81.11 kB / 0.5562 GB, free: 72.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.7806, allocations: 339.5 kB / 0.5565 GB, free: 71.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.7807, allocations: 29.7 kB / 0.5565 GB, free: 71.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.7808, allocations: 287.4 kB / 0.5568 GB, free: 71.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.7809, allocations: 130.1 kB / 0.5569 GB, free: 71.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.7809, allocations: 8 kB / 0.5569 GB, free: 71.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.781, allocations: 350.8 kB / 0.5572 GB, free: 71.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.7812, allocations: 201 kB / 0.5574 GB, free: 70.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.7815, allocations: 378.9 kB / 0.5578 GB, free: 70.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.7819, allocations: 261.1 kB / 0.558 GB, free: 70.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7819, allocations: 4 kB / 0.5581 GB, free: 70.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001836/0.7837, allocations: 0.8593 MB / 0.5589 GB, free: 69.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.7838, allocations: 16.02 kB / 0.5589 GB, free: 69.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.7838, allocations: 4 kB / 0.5589 GB, free: 69.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.7853, allocations: 289.7 kB / 0.5592 GB, free: 69.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/0.7859, allocations: 143.8 kB / 0.5593 GB, free: 68.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/0.7901, allocations: 3.793 MB / 0.563 GB, free: 64.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.7906, allocations: 32.28 kB / 0.5631 GB, free: 64.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.7906, allocations: 24 kB / 0.5631 GB, free: 64.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.7908, allocations: 132.6 kB / 0.5632 GB, free: 64.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.7908, allocations: 47.39 kB / 0.5633 GB, free: 64.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008484/0.7917, allocations: 0.5365 MB / 0.5638 GB, free: 64.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.7917, allocations: 8 kB / 0.5638 GB, free: 64.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.7917, allocations: 0 / 0.5638 GB, free: 64.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.7917, allocations: 3.984 kB / 0.5638 GB, free: 64.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.7932, allocations: 1.081 MB / 0.5648 GB, free: 62.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.7932, allocations: 64 / 0.5648 GB, free: 62.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.7936, allocations: 91.88 kB / 0.5649 GB, free: 62.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.7936, allocations: 4 kB / 0.5649 GB, free: 62.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.7937, allocations: 12 kB / 0.5649 GB, free: 62.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.7937, allocations: 4 kB / 0.565 GB, free: 62.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7937, allocations: 0 / 0.565 GB, free: 62.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009435/0.7946, allocations: 0.8711 MB / 0.5658 GB, free: 61.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.98e-05/0.7947, allocations: 116.7 kB / 0.5659 GB, free: 61.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.7948, allocations: 11.98 kB / 0.5659 GB, free: 61.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.795, allocations: 23.92 kB / 0.5659 GB, free: 61.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.7951, allocations: 23.97 kB / 0.566 GB, free: 61.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.7951, allocations: 16 kB / 0.566 GB, free: 61.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002261/0.7954, allocations: 250.1 kB / 0.5662 GB, free: 61.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7954, allocations: 0 / 0.5662 GB, free: 61.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006025/0.796, allocations: 144 kB / 0.5664 GB, free: 61.3 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 1 * 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.0001985/0.7962, allocations: 127 kB / 0.5665 GB, free: 61.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.7976, allocations: 0.8337 MB / 0.5673 GB, free: 60.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.7976, allocations: 0.8125 kB / 0.5673 GB, free: 60.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.7979, allocations: 235.8 kB / 0.5675 GB, free: 60.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.7984, allocations: 69.23 kB / 0.5676 GB, free: 60.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.7999, allocations: 1.049 MB / 0.5686 GB, free: 58.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.8003, allocations: 0.9093 MB / 0.5695 GB, free: 58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003429/0.8006, allocations: 139.3 kB / 0.5696 GB, free: 57.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.8007, allocations: 43.42 kB / 0.5697 GB, free: 57.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.723e-06/0.8008, allocations: 0 / 0.5697 GB, free: 57.82 MB / 378.7 MB Notification: Performance of Templates: time 0.00933/0.8101, allocations: 5.867 MB / 0.5754 GB, free: 51.96 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (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)