Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001952/0.001952, 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.592/1.592, 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.001698/0.001698, allocations: 116.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1817/0.1817, allocations: 37.9 MB / 336.4 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.072e-05/4.082e-05, allocations: 11.98 kB / 397.5 MB, free: 1.023 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2786, allocations: 53.21 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3339/0.6126, allocations: 96.58 MB / 0.5345 GB, free: 32.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.6129, allocations: 88 kB / 0.5346 GB, free: 32.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04058/0.6535, allocations: 15.74 MB / 0.55 GB, free: 30.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.6535, allocations: 0 / 0.55 GB, free: 30.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.6536, allocations: 11.75 kB / 0.55 GB, free: 30.5 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001005/0.6546, allocations: 0.7812 MB / 0.5507 GB, free: 29.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.6546, allocations: 11.84 kB / 0.5508 GB, free: 29.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/0.6551, allocations: 88.09 kB / 0.5508 GB, free: 29.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.6564, allocations: 0.6891 MB / 0.5515 GB, free: 29.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.6564, allocations: 35.22 kB / 0.5515 GB, free: 29.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/0.6565, allocations: 42.05 kB / 0.5516 GB, free: 29.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009182/0.6574, allocations: 0.8361 MB / 0.5524 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.6574, allocations: 0 / 0.5524 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/0.6575, allocations: 22.81 kB / 0.5524 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.6576, allocations: 56.94 kB / 0.5525 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008294/0.6585, allocations: 0.7555 MB / 0.5532 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.6611, allocations: 2.635 MB / 0.5558 GB, free: 28.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.6617, allocations: 0.5826 MB / 0.5564 GB, free: 28.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.6621, allocations: 475 kB / 0.5568 GB, free: 28.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.6621, allocations: 11.84 kB / 0.5568 GB, free: 28.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.6622, allocations: 45.83 kB / 0.5569 GB, free: 27.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 1.853e-06/0.6622, allocations: 0 / 0.5569 GB, free: 27.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.001751/0.6639, allocations: 1.491 MB / 0.5583 GB, free: 27.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.664, allocations: 140.9 kB / 0.5585 GB, free: 27.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.6642, allocations: 243.7 kB / 0.5587 GB, free: 27.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.6642, allocations: 36.62 kB / 0.5587 GB, free: 27.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.6643, allocations: 244.8 kB / 0.559 GB, free: 27.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.14e-05/0.6644, allocations: 203.5 kB / 0.5591 GB, free: 27.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.6644, allocations: 7.109 kB / 0.5592 GB, free: 27.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.6645, allocations: 351.3 kB / 0.5595 GB, free: 26.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.6649, allocations: 358.9 kB / 0.5598 GB, free: 26.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/0.6653, allocations: 485 kB / 0.5603 GB, free: 26.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004472/0.6657, allocations: 476.1 kB / 0.5607 GB, free: 26.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6657, allocations: 3.906 kB / 0.5608 GB, free: 26.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001045/0.6668, allocations: 1.001 MB / 0.5617 GB, free: 26.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.6669, allocations: 70.97 kB / 0.5618 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.6669, allocations: 7.844 kB / 0.5618 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.6671, allocations: 42.39 kB / 0.5618 GB, free: 26.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.6674, allocations: 80.69 kB / 0.5619 GB, free: 26.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007883/0.6682, allocations: 1.442 MB / 0.5633 GB, free: 25.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.6685, allocations: 38.19 kB / 0.5634 GB, free: 25.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.6685, allocations: 27.11 kB / 0.5634 GB, free: 25.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3],system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 1 * 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.0001515/0.6687, allocations: 210.5 kB / 0.5636 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.6688, allocations: 39.16 kB / 0.5636 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.67, allocations: 1.12 MB / 0.5647 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.67, allocations: 11.72 kB / 0.5647 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.6701, allocations: 7.859 kB / 0.5647 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6701, allocations: 3.797 kB / 0.5647 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.6719, allocations: 1.811 MB / 0.5665 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.672, allocations: 0 / 0.5665 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.6722, allocations: 57.22 kB / 0.5666 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.924e-05/0.6723, allocations: 38.11 kB / 0.5666 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/0.6724, allocations: 14.89 kB / 0.5666 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000717/0.6731, allocations: 1.429 MB / 0.568 GB, free: 23.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6731, allocations: 3.906 kB / 0.568 GB, free: 23.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.6742, allocations: 1.247 MB / 0.5692 GB, free: 22.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.6745, allocations: 188.2 kB / 0.5694 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/0.6745, allocations: 11.38 kB / 0.5694 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.6748, allocations: 38.89 kB / 0.5695 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.6749, allocations: 46 kB / 0.5695 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/0.675, allocations: 22.64 kB / 0.5695 GB, free: 22.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.6752, allocations: 191.8 kB / 0.5697 GB, free: 22.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6752, allocations: 0 / 0.5697 GB, free: 22.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005514/0.6757, allocations: 166.4 kB / 0.5699 GB, free: 22.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0002377/0.676, allocations: 160.2 kB / 0.57 GB, free: 22.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.6774, allocations: 1.393 MB / 0.5714 GB, free: 22.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6774, allocations: 0 / 0.5714 GB, free: 22.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007357/0.6781, allocations: 0.951 MB / 0.5723 GB, free: 22.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.6785, allocations: 64.34 kB / 0.5724 GB, free: 22.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.68, allocations: 1.189 MB / 0.5735 GB, free: 22.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.6803, allocations: 0.9198 MB / 0.5744 GB, free: 21.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002535/0.6806, allocations: 98.59 kB / 0.5745 GB, free: 21.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/0.6807, allocations: 34.5 kB / 0.5746 GB, free: 21.28 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6807, allocations: 3.906 kB / 0.5746 GB, free: 21.28 MB / 378.7 MB Notification: Performance of Templates: time 0.008166/0.6888, allocations: 5.758 MB / 0.5802 GB, free: 20.57 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1)