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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002986/0.002986, allocations: 186 kB / 7.809 MB, free: 120 kB / 6.207 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.2 MB / 213.4 MB, free: 2.141 MB / 174.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 86.39 kB / 261.4 MB, free: 1.469 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2662/0.2662, allocations: 37.97 MB / 347.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.054e-05, allocations: 4 kB / 409.3 MB, free: 69.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.122, allocations: 56.31 MB / 465.6 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.4917, allocations: 100.9 MB / 0.5533 GB, free: 2.301 MB / 366.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.492, allocations: 86.7 kB / 0.5534 GB, free: 2.258 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.07024/0.5623, allocations: 15.26 MB / 0.5683 GB, free: 5.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.183e-05/0.5624, allocations: 12 kB / 0.5683 GB, free: 5.328 MB / 382.1 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.002304/0.5647, allocations: 0.7709 MB / 0.569 GB, free: 4.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.5648, allocations: 12.03 kB / 0.5691 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009163/0.5657, allocations: 95.19 kB / 0.5692 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/0.5685, allocations: 0.7023 MB / 0.5698 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.5686, allocations: 16 kB / 0.5699 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.5687, allocations: 28 kB / 0.5699 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001652/0.5704, allocations: 0.6198 MB / 0.5705 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.5723, allocations: 0.7972 MB / 0.5713 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.5724, allocations: 4 kB / 0.5713 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.688e-05/0.5725, allocations: 3.938 kB / 0.5713 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002654/0.5728, allocations: 53.12 kB / 0.5713 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006965/0.5797, allocations: 2.628 MB / 0.5739 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.5812, allocations: 0.6102 MB / 0.5745 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009514/0.5822, allocations: 0.4904 MB / 0.575 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-05/0.5823, allocations: 4 kB / 0.575 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.5824, allocations: 41.75 kB / 0.575 GB, free: 15.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 3.577e-06/0.5824, allocations: 0 / 0.575 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=61): time 0.005511/0.5879, allocations: 1.685 MB / 0.5767 GB, free: 14.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.5881, allocations: 145.3 kB / 0.5768 GB, free: 13.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004352/0.5885, allocations: 230.7 kB / 0.577 GB, free: 13.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/0.5886, allocations: 29.7 kB / 0.577 GB, free: 13.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.5888, allocations: 270.9 kB / 0.5773 GB, free: 13.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.5891, allocations: 194 kB / 0.5775 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.5891, allocations: 0 / 0.5775 GB, free: 13.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5893, allocations: 344.9 kB / 0.5778 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008293/0.5902, allocations: 381.1 kB / 0.5782 GB, free: 12.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009354/0.5911, allocations: 0.4884 MB / 0.5787 GB, free: 12.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.593, allocations: 0.5536 MB / 0.5792 GB, free: 11.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.593, allocations: 0 / 0.5792 GB, free: 11.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003187/0.5962, allocations: 1.098 MB / 0.5803 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5963, allocations: 4.469 kB / 0.5803 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.5963, allocations: 8 kB / 0.5803 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002201/0.5966, allocations: 39.7 kB / 0.5803 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.5973, allocations: 78.64 kB / 0.5804 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.5989, allocations: 1.355 MB / 0.5817 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006201/0.5995, allocations: 20.02 kB / 0.5817 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-05/0.5996, allocations: 19.38 kB / 0.5818 GB, free: 9.41 MB / 398.1 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.0003452/0.6, allocations: 120.9 kB / 0.5819 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.6002, allocations: 39.53 kB / 0.5819 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/0.6038, allocations: 1.189 MB / 0.5831 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001338/0.604, allocations: 15.98 kB / 0.5831 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.604, allocations: 0 / 0.5831 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.604, allocations: 3.984 kB / 0.5831 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005275/0.6093, allocations: 1.819 MB / 0.5849 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.6093, allocations: 4 kB / 0.5849 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006252/0.61, allocations: 51.91 kB / 0.5849 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/0.6102, allocations: 36.59 kB / 0.5849 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.344e-05/0.6103, allocations: 8 kB / 0.585 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.6121, allocations: 1.361 MB / 0.5863 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/0.6121, allocations: 7.938 kB / 0.5863 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003555/0.6157, allocations: 1.321 MB / 0.5876 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005283/0.6162, allocations: 191.5 kB / 0.5878 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.6164, allocations: 15.98 kB / 0.5878 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/0.617, allocations: 15.98 kB / 0.5878 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.6172, allocations: 39.55 kB / 0.5878 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/0.6173, allocations: 19.98 kB / 0.5879 GB, free: 3.977 MB / 398.1 MB Notification: Performance of sort global known variables: time 0.0002812/0.6176, allocations: 177.8 kB / 0.588 GB, free: 3.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000835/0.6184, allocations: 147.9 kB / 0.5882 GB, free: 3.691 MB / 398.1 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.0003739/0.6188, allocations: 150 kB / 0.5883 GB, free: 3.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002777/0.6216, allocations: 1.157 MB / 0.5894 GB, free: 2.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6216, allocations: 0 / 0.5894 GB, free: 2.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.6237, allocations: 0.9504 MB / 0.5904 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.6244, allocations: 65 kB / 0.5904 GB, free: 2.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.6279, allocations: 1.271 MB / 0.5917 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/0.6289, allocations: 0.9576 MB / 0.5926 GB, free: 15.97 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.629, allocations: 0 / 0.5926 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Templates: time 0.01889/0.6479, allocations: 8.44 MB / 0.6008 GB, free: 7.594 MB / 414.1 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)