Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 184.8 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001101, allocations: 86.61 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2681/0.2681, allocations: 37.97 MB / 353.1 MB, free: 3.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.153e-05/3.162e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 56.31 MB / 473.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4617/0.5659, allocations: 94.38 MB / 0.5542 GB, free: 9.355 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.5663, allocations: 87.94 kB / 0.5543 GB, free: 9.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03026/0.5965, allocations: 6.657 MB / 0.5608 GB, free: 2.547 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5966, allocations: 4 kB / 0.5608 GB, free: 2.543 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.961e-05/0.5966, allocations: 8 kB / 0.5608 GB, free: 2.535 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001236/0.5979, allocations: 0.5475 MB / 0.5613 GB, free: 1.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.5979, allocations: 11.97 kB / 0.5613 GB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.5981, allocations: 39.92 kB / 0.5614 GB, free: 1.895 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.6003, allocations: 0.5875 MB / 0.562 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.6004, allocations: 20.56 kB / 0.562 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.6004, allocations: 23.98 kB / 0.562 GB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.6012, allocations: 316.5 kB / 0.5623 GB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.6012, allocations: 4 kB / 0.5623 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.6013, allocations: 8 kB / 0.5623 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.6013, allocations: 8 kB / 0.5623 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005806/0.6019, allocations: 205.5 kB / 0.5625 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.6043, allocations: 1.348 MB / 0.5638 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.6048, allocations: 149.1 kB / 0.564 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.605, allocations: 57.77 kB / 0.564 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.605, allocations: 3.938 kB / 0.564 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.6051, allocations: 46.55 kB / 0.5641 GB, free: 14.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 3.266e-06/0.6051, allocations: 0 / 0.5641 GB, free: 14.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001037/0.6061, allocations: 307.8 kB / 0.5644 GB, free: 14.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.6062, allocations: 77.11 kB / 0.5644 GB, free: 14.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.6066, allocations: 231.4 kB / 0.5647 GB, free: 14.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.6066, allocations: 25.7 kB / 0.5647 GB, free: 14.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.6068, allocations: 262.1 kB / 0.5649 GB, free: 14.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.839e-05/0.6069, allocations: 51.3 kB / 0.565 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.6069, allocations: 4 kB / 0.565 GB, free: 13.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.607, allocations: 318.8 kB / 0.5653 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.6072, allocations: 47.97 kB / 0.5653 GB, free: 13.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.6074, allocations: 156.7 kB / 0.5655 GB, free: 13.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.6077, allocations: 68.94 kB / 0.5656 GB, free: 13.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6077, allocations: 4 kB / 0.5656 GB, free: 13.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005929/0.6083, allocations: 233.1 kB / 0.5658 GB, free: 13.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.6083, allocations: 8 kB / 0.5658 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.6083, allocations: 7.938 kB / 0.5658 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.6084, allocations: 7.938 kB / 0.5658 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.6088, allocations: 51.91 kB / 0.5659 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.6088, allocations: 11.98 kB / 0.5659 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.6091, allocations: 12.44 kB / 0.5659 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.6091, allocations: 11.95 kB / 0.5659 GB, free: 12.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.6092, allocations: 120.9 kB / 0.566 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.6093, allocations: 23.72 kB / 0.566 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005561/0.6099, allocations: 190.7 kB / 0.5662 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.6099, allocations: 4 kB / 0.5662 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.6099, allocations: 0 / 0.5662 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.6099, allocations: 0 / 0.5662 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.611, allocations: 0.5615 MB / 0.5668 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.611, allocations: 0 / 0.5668 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.6113, allocations: 27.92 kB / 0.5668 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.6113, allocations: 4 kB / 0.5668 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.6114, allocations: 4 kB / 0.5668 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.6114, allocations: 4 kB / 0.5668 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6114, allocations: 0 / 0.5668 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.6119, allocations: 320.2 kB / 0.5671 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.6121, allocations: 100.8 kB / 0.5672 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.6121, allocations: 7.953 kB / 0.5672 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.6123, allocations: 7.984 kB / 0.5672 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.6124, allocations: 7.984 kB / 0.5672 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.6124, allocations: 8 kB / 0.5672 GB, free: 11.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002592/0.6127, allocations: 179.1 kB / 0.5674 GB, free: 11.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6127, allocations: 0 / 0.5674 GB, free: 11.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004874/0.6132, allocations: 59.98 kB / 0.5675 GB, free: 11.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * Array equations: 0 * 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.0002076/0.6134, allocations: 111.1 kB / 0.5676 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004569/0.6139, allocations: 160.6 kB / 0.5677 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6139, allocations: 4 kB / 0.5677 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.6141, allocations: 63.92 kB / 0.5678 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005647/0.6147, allocations: 60.89 kB / 0.5678 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/0.6157, allocations: 386 kB / 0.5682 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.6162, allocations: 0.7911 MB / 0.569 GB, free: 9.605 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.6163, allocations: 23.44 kB / 0.569 GB, free: 9.582 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6164, allocations: 0 / 0.569 GB, free: 9.582 MB / 410.7 MB Notification: Performance of Templates: time 0.008512/0.6249, allocations: 3.166 MB / 0.5721 GB, free: 6.418 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1)