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.001076/0.001076, allocations: 177.6 kB / 17.4 MB, free: 4.414 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.431/1.431, allocations: 194.5 MB / 212.6 MB, free: 2.859 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.001602/0.001602, allocations: 116.7 kB / 257.9 MB, free: 4.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1781/0.1781, allocations: 38 MB / 341.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004157, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3749/0.4779, allocations: 96.72 MB / 0.542 GB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.4782, allocations: 100.1 kB / 0.5421 GB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04542/0.5237, allocations: 15.73 MB / 0.5574 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5237, allocations: 0 / 0.5574 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.387e-05/0.5238, allocations: 12 kB / 0.5574 GB, free: 0.7422 MB / 362.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.001872/0.5257, allocations: 0.821 MB / 0.5582 GB, free: 15.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.5257, allocations: 8.031 kB / 0.5582 GB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006166/0.5263, allocations: 92.12 kB / 0.5583 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.5275, allocations: 0.5221 MB / 0.5588 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.5276, allocations: 32.61 kB / 0.5589 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.5278, allocations: 41.38 kB / 0.5589 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.5291, allocations: 0.8412 MB / 0.5597 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.5291, allocations: 8.172 kB / 0.5597 GB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/0.5292, allocations: 22.67 kB / 0.5598 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.5293, allocations: 52.53 kB / 0.5598 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.5307, allocations: 0.7674 MB / 0.5606 GB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/0.5348, allocations: 2.636 MB / 0.5631 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008842/0.5357, allocations: 0.5886 MB / 0.5637 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/0.5362, allocations: 477.6 kB / 0.5642 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.5363, allocations: 4.266 kB / 0.5642 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.5363, allocations: 42.11 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.206e-06/0.5363, allocations: 4 kB / 0.5642 GB, free: 10.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.00303/0.5394, allocations: 1.967 MB / 0.5661 GB, free: 9.277 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.5395, allocations: 146.2 kB / 0.5663 GB, free: 9.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.5398, allocations: 276.6 kB / 0.5665 GB, free: 8.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.5399, allocations: 37.33 kB / 0.5666 GB, free: 8.848 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.54, allocations: 250.6 kB / 0.5668 GB, free: 8.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.5402, allocations: 198.8 kB / 0.567 GB, free: 8.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.5402, allocations: 11 kB / 0.567 GB, free: 8.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5404, allocations: 353.5 kB / 0.5674 GB, free: 8.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/0.5409, allocations: 358.3 kB / 0.5677 GB, free: 7.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.5414, allocations: 477.6 kB / 0.5682 GB, free: 7.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.5428, allocations: 1.003 MB / 0.5691 GB, free: 6.672 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5428, allocations: 0 / 0.5691 GB, free: 6.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001667/0.5445, allocations: 1.005 MB / 0.5701 GB, free: 5.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.146e-05/0.5446, allocations: 68.42 kB / 0.5702 GB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.5446, allocations: 8 kB / 0.5702 GB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.5448, allocations: 44.08 kB / 0.5702 GB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.5452, allocations: 83.81 kB / 0.5703 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.5465, allocations: 1.444 MB / 0.5717 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.5468, allocations: 38.39 kB / 0.5718 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.42e-05/0.5469, allocations: 27.3 kB / 0.5718 GB, free: 4.164 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 () * Number of clocked 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.0004384/0.5474, allocations: 300.5 kB / 0.5721 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/0.5475, allocations: 39.53 kB / 0.5721 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.5491, allocations: 1.126 MB / 0.5732 GB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.991e-05/0.5491, allocations: 15.98 kB / 0.5732 GB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5491, allocations: 4 kB / 0.5732 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5491, allocations: 0 / 0.5732 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.5516, allocations: 1.812 MB / 0.575 GB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5516, allocations: 0 / 0.575 GB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.5519, allocations: 63.77 kB / 0.5751 GB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.552, allocations: 36.64 kB / 0.5751 GB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.5521, allocations: 19.8 kB / 0.5751 GB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.5533, allocations: 1.437 MB / 0.5765 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5533, allocations: 64 / 0.5765 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.5548, allocations: 1.22 MB / 0.5777 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.5551, allocations: 184.5 kB / 0.5779 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.5552, allocations: 15.42 kB / 0.5779 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.5555, allocations: 39.77 kB / 0.5779 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.5556, allocations: 50.12 kB / 0.578 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.5557, allocations: 14.81 kB / 0.578 GB, free: 14.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002058/0.5559, allocations: 197.6 kB / 0.5782 GB, free: 14.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5559, allocations: 0 / 0.5782 GB, free: 14.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006817/0.5566, allocations: 157.9 kB / 0.5783 GB, free: 14.41 MB / 394.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]) * Number of clocked states: 0 () * 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.0003146/0.5569, allocations: 161.4 kB / 0.5785 GB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.5586, allocations: 1.403 MB / 0.5799 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5587, allocations: 3.938 kB / 0.5799 GB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.5597, allocations: 0.9508 MB / 0.5808 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.5603, allocations: 66.3 kB / 0.5808 GB, free: 12.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.5626, allocations: 1.667 MB / 0.5825 GB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.5632, allocations: 0.903 MB / 0.5834 GB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003207/0.5636, allocations: 103.2 kB / 0.5835 GB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.5637, allocations: 27.44 kB / 0.5835 GB, free: 10.04 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5637, allocations: 0 / 0.5835 GB, free: 10.04 MB / 394.7 MB Notification: Performance of Templates: time 0.01103/0.5747, allocations: 5.791 MB / 0.5891 GB, free: 4.266 MB / 394.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)