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.001123/0.001123, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.451/1.451, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001558/0.001558, allocations: 116.7 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1514/0.1514, allocations: 37.92 MB / 330.9 MB, free: 2.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.018e-05, allocations: 4 kB / 390.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.239, allocations: 53.22 MB / 443.6 MB, free: 17.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.3547, allocations: 95.93 MB / 0.5269 GB, free: 1.727 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.355, allocations: 87.94 kB / 0.527 GB, free: 1.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.222/0.577, allocations: 15.6 MB / 0.5422 GB, free: 87.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5771, allocations: 0 / 0.5422 GB, free: 87.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.377e-05/0.5771, allocations: 8 kB / 0.5422 GB, free: 87.23 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.001111/0.5782, allocations: 0.7824 MB / 0.543 GB, free: 86.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.5783, allocations: 12.03 kB / 0.543 GB, free: 86.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005288/0.5788, allocations: 83.3 kB / 0.5431 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.5802, allocations: 0.7086 MB / 0.5437 GB, free: 85.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5803, allocations: 12.34 kB / 0.5438 GB, free: 85.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.877e-05/0.5803, allocations: 27.95 kB / 0.5438 GB, free: 85.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007079/0.581, allocations: 0.6033 MB / 0.5444 GB, free: 84.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.5819, allocations: 0.7778 MB / 0.5451 GB, free: 84.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.5819, allocations: 8.922 kB / 0.5451 GB, free: 84.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/0.582, allocations: 3.984 kB / 0.5451 GB, free: 84.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.5821, allocations: 52.75 kB / 0.5452 GB, free: 84.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/0.5852, allocations: 2.633 MB / 0.5478 GB, free: 81.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.5859, allocations: 0.5955 MB / 0.5484 GB, free: 80.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/0.5864, allocations: 494.8 kB / 0.5488 GB, free: 80.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.5864, allocations: 4 kB / 0.5488 GB, free: 80.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.5864, allocations: 42.77 kB / 0.5489 GB, free: 80.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.765e-06/0.5865, allocations: 7.938 kB / 0.5489 GB, free: 80.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.002632/0.5891, allocations: 1.672 MB / 0.5505 GB, free: 78.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.5892, allocations: 138.8 kB / 0.5506 GB, free: 78.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.5894, allocations: 233.2 kB / 0.5509 GB, free: 78.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.5894, allocations: 25.7 kB / 0.5509 GB, free: 78.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.5895, allocations: 248.4 kB / 0.5511 GB, free: 77.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5896, allocations: 197.1 kB / 0.5513 GB, free: 77.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.5896, allocations: 4 kB / 0.5513 GB, free: 77.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.63e-05/0.5897, allocations: 350.8 kB / 0.5517 GB, free: 77.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.5901, allocations: 369 kB / 0.552 GB, free: 76.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.5905, allocations: 498.5 kB / 0.5525 GB, free: 76.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008855/0.5913, allocations: 0.5623 MB / 0.553 GB, free: 75.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5914, allocations: 4 kB / 0.553 GB, free: 75.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001485/0.5929, allocations: 1.079 MB / 0.5541 GB, free: 74.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/0.5929, allocations: 73.66 kB / 0.5542 GB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5929, allocations: 0 / 0.5542 GB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.5931, allocations: 36.84 kB / 0.5542 GB, free: 74.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.5934, allocations: 88.28 kB / 0.5543 GB, free: 74.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008254/0.5943, allocations: 1.378 MB / 0.5556 GB, free: 72.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.5946, allocations: 31.95 kB / 0.5556 GB, free: 72.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.5947, allocations: 32.06 kB / 0.5557 GB, free: 72.91 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.000183/0.5949, allocations: 190.5 kB / 0.5559 GB, free: 72.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.595, allocations: 39.53 kB / 0.5559 GB, free: 72.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.5967, allocations: 1.15 MB / 0.557 GB, free: 71.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.385e-05/0.5968, allocations: 19.98 kB / 0.557 GB, free: 71.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.5968, allocations: 0 / 0.557 GB, free: 71.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.5969, allocations: 3.984 kB / 0.557 GB, free: 71.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.5993, allocations: 1.779 MB / 0.5588 GB, free: 69.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.5993, allocations: 3.953 kB / 0.5588 GB, free: 69.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.5996, allocations: 59.89 kB / 0.5588 GB, free: 69.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.5997, allocations: 40.91 kB / 0.5589 GB, free: 69.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/0.5997, allocations: 7.984 kB / 0.5589 GB, free: 69.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007252/0.6005, allocations: 1.373 MB / 0.5602 GB, free: 68.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6005, allocations: 0 / 0.5602 GB, free: 68.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.6021, allocations: 1.276 MB / 0.5615 GB, free: 66.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.6024, allocations: 192.5 kB / 0.5617 GB, free: 66.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/0.6025, allocations: 11.95 kB / 0.5617 GB, free: 66.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.6028, allocations: 35.94 kB / 0.5617 GB, free: 66.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.603, allocations: 43.89 kB / 0.5617 GB, free: 66.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.603, allocations: 12 kB / 0.5618 GB, free: 66.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001829/0.6032, allocations: 188.6 kB / 0.5619 GB, free: 66.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6032, allocations: 0 / 0.5619 GB, free: 66.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006837/0.6039, allocations: 151.9 kB / 0.5621 GB, free: 66.11 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.0002784/0.6042, allocations: 147.1 kB / 0.5622 GB, free: 65.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.6056, allocations: 1.419 MB / 0.5636 GB, free: 64.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.6056, allocations: 0 / 0.5636 GB, free: 64.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008201/0.6064, allocations: 0.9516 MB / 0.5645 GB, free: 63.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.607, allocations: 61.48 kB / 0.5646 GB, free: 63.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.6087, allocations: 1.197 MB / 0.5658 GB, free: 62.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.609, allocations: 0.918 MB / 0.5667 GB, free: 61.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002787/0.6093, allocations: 107.2 kB / 0.5668 GB, free: 61.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-05/0.6094, allocations: 39.36 kB / 0.5668 GB, free: 61.17 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6094, allocations: 4 kB / 0.5668 GB, free: 61.16 MB / 378.7 MB Notification: Performance of Templates: time 0.008882/0.6183, allocations: 5.734 MB / 0.5724 GB, free: 55.45 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)