Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 186 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 2.073/2.073, 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.001105/0.001105, allocations: 88.89 kB / 267.1 MB, free: 9.27 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.2707/0.2707, allocations: 37.98 MB / 353.1 MB, free: 3.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.389e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 56.3 MB / 473.1 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4824/0.5891, allocations: 101.6 MB / 0.5613 GB, free: 2.102 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/0.5896, allocations: 91.94 kB / 0.5614 GB, free: 2.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07705/0.6666, allocations: 15.73 MB / 0.5767 GB, free: 2.129 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.6667, allocations: 0 / 0.5767 GB, free: 2.129 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.225e-05/0.6667, allocations: 12 kB / 0.5767 GB, free: 2.117 MB / 410.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.002145/0.6689, allocations: 0.7824 MB / 0.5775 GB, free: 1.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.669, allocations: 12.03 kB / 0.5775 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009353/0.6699, allocations: 87.3 kB / 0.5776 GB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.6727, allocations: 0.6973 MB / 0.5783 GB, free: 456 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.149e-05/0.6728, allocations: 28.78 kB / 0.5783 GB, free: 424 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.6729, allocations: 43.97 kB / 0.5783 GB, free: 380 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.6751, allocations: 0.8417 MB / 0.5792 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.6752, allocations: 4 kB / 0.5792 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-05/0.6753, allocations: 19.94 kB / 0.5792 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002709/0.6755, allocations: 64.73 kB / 0.5793 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.6776, allocations: 0.7567 MB / 0.58 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006274/0.684, allocations: 2.637 MB / 0.5826 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.6855, allocations: 0.5846 MB / 0.5831 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009799/0.6865, allocations: 475.1 kB / 0.5836 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.374e-05/0.6866, allocations: 11.98 kB / 0.5836 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.6867, allocations: 38.55 kB / 0.5836 GB, free: 10.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 3.657e-06/0.6867, allocations: 0 / 0.5836 GB, free: 10.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.00394/0.6906, allocations: 1.496 MB / 0.5851 GB, free: 9.223 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.6908, allocations: 142.8 kB / 0.5852 GB, free: 9.059 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.6912, allocations: 242.7 kB / 0.5855 GB, free: 8.812 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.621e-05/0.6913, allocations: 33.69 kB / 0.5855 GB, free: 8.773 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.6916, allocations: 295 kB / 0.5858 GB, free: 8.484 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.6918, allocations: 203.8 kB / 0.586 GB, free: 8.285 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.6919, allocations: 15.94 kB / 0.586 GB, free: 8.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.6921, allocations: 334.8 kB / 0.5863 GB, free: 7.934 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008165/0.6929, allocations: 357 kB / 0.5867 GB, free: 7.582 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009436/0.6939, allocations: 483 kB / 0.5871 GB, free: 7.062 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.6949, allocations: 475.3 kB / 0.5876 GB, free: 6.594 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.695, allocations: 3.938 kB / 0.5876 GB, free: 6.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002394/0.6974, allocations: 0.987 MB / 0.5885 GB, free: 5.586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.6976, allocations: 75.84 kB / 0.5886 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.6976, allocations: 4 kB / 0.5886 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/0.6979, allocations: 32.84 kB / 0.5886 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/0.6986, allocations: 91.81 kB / 0.5887 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.7004, allocations: 1.445 MB / 0.5901 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006814/0.7011, allocations: 39.95 kB / 0.5902 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-05/0.7012, allocations: 16 kB / 0.5902 GB, free: 3.742 MB / 426.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.0003715/0.7016, allocations: 202.6 kB / 0.5904 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.7018, allocations: 43.48 kB / 0.5904 GB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00276/0.7045, allocations: 1.124 MB / 0.5915 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.427e-05/0.7046, allocations: 16 kB / 0.5915 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7047, allocations: 0 / 0.5915 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.7047, allocations: 3.984 kB / 0.5915 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004266/0.709, allocations: 1.812 MB / 0.5933 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.709, allocations: 0 / 0.5933 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/0.7096, allocations: 67.83 kB / 0.5934 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001952/0.7098, allocations: 36.84 kB / 0.5934 GB, free: 348 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.444e-05/0.7099, allocations: 15.98 kB / 0.5934 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.7116, allocations: 1.437 MB / 0.5948 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7117, allocations: 0 / 0.5948 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/0.7145, allocations: 1.243 MB / 0.596 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.715, allocations: 188.4 kB / 0.5962 GB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.7151, allocations: 15.98 kB / 0.5962 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.7156, allocations: 31.97 kB / 0.5963 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.7158, allocations: 39.94 kB / 0.5963 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-05/0.7159, allocations: 20 kB / 0.5963 GB, free: 13.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003124/0.7163, allocations: 194.2 kB / 0.5965 GB, free: 12.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7163, allocations: 0 / 0.5965 GB, free: 12.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008823/0.7172, allocations: 171.9 kB / 0.5967 GB, free: 12.8 MB / 442.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.0003949/0.7176, allocations: 151.1 kB / 0.5968 GB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002968/0.7206, allocations: 1.401 MB / 0.5982 GB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.7206, allocations: 0 / 0.5982 GB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002371/0.723, allocations: 0.9376 MB / 0.5991 GB, free: 10.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009062/0.724, allocations: 64.75 kB / 0.5992 GB, free: 10.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.7281, allocations: 1.253 MB / 0.6004 GB, free: 8.895 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009796/0.7291, allocations: 0.914 MB / 0.6013 GB, free: 7.957 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/0.7296, allocations: 35.42 kB / 0.6013 GB, free: 7.922 MB / 442.7 MB Notification: Performance of SimCode: time 1.442e-06/0.7296, allocations: 0 / 0.6013 GB, free: 7.922 MB / 442.7 MB Notification: Performance of Templates: time 0.02654/0.7561, allocations: 8.375 MB / 0.6095 GB, free: 15.55 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1)