Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") [: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.002395/0.002394, allocations: 190.8 kB / 7.803 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.2 MB / 213.4 MB, free: 13.94 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.001237/0.001237, allocations: 97.98 kB / 261.4 MB, free: 13.62 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.2841/0.2841, allocations: 37.97 MB / 347.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.969e-06/1.006e-05, allocations: 0 / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09803, allocations: 56.32 MB / 465.6 MB, free: 6.855 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.369/0.4671, allocations: 99.48 MB / 0.5519 GB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/0.4675, allocations: 87.94 kB / 0.552 GB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1028/0.5704, allocations: 13.66 MB / 0.5653 GB, free: 13.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.751e-05/0.5705, allocations: 23.92 kB / 0.5653 GB, free: 13.48 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002635/0.5732, allocations: 0.8801 MB / 0.5662 GB, free: 12.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.5732, allocations: 8.031 kB / 0.5662 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.5735, allocations: 83.16 kB / 0.5663 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/0.5781, allocations: 1.113 MB / 0.5674 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.5784, allocations: 108.6 kB / 0.5675 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.5786, allocations: 39.97 kB / 0.5675 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001721/0.5803, allocations: 0.5726 MB / 0.5681 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.5821, allocations: 0.671 MB / 0.5687 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.5821, allocations: 0 / 0.5687 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.9e-05/0.5822, allocations: 0 / 0.5687 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.5823, allocations: 16 kB / 0.5687 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007154/0.5894, allocations: 2.722 MB / 0.5714 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.5907, allocations: 497.2 kB / 0.5719 GB, free: 6.543 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006796/0.5914, allocations: 291.3 kB / 0.5721 GB, free: 6.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.5914, allocations: 7.938 kB / 0.5721 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.5915, allocations: 38.56 kB / 0.5722 GB, free: 6.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 3.496e-06/0.5915, allocations: 0 / 0.5722 GB, free: 6.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.00341/0.5949, allocations: 1.31 MB / 0.5735 GB, free: 4.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.595, allocations: 85.05 kB / 0.5735 GB, free: 4.707 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.5956, allocations: 312.8 kB / 0.5738 GB, free: 4.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/0.5957, allocations: 29.69 kB / 0.5739 GB, free: 4.363 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.5958, allocations: 302.5 kB / 0.5742 GB, free: 4.062 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.596, allocations: 130 kB / 0.5743 GB, free: 3.934 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.5961, allocations: 0 / 0.5743 GB, free: 3.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5962, allocations: 330.9 kB / 0.5746 GB, free: 3.602 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.5968, allocations: 196.9 kB / 0.5748 GB, free: 3.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.5974, allocations: 296.8 kB / 0.5751 GB, free: 3.074 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005791/0.598, allocations: 231.6 kB / 0.5753 GB, free: 2.848 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.598, allocations: 0 / 0.5753 GB, free: 2.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001626/0.5997, allocations: 0.6404 MB / 0.5759 GB, free: 2.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5997, allocations: 8 kB / 0.5759 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5997, allocations: 4 kB / 0.5759 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003196/0.6, allocations: 65.69 kB / 0.576 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003431/0.6035, allocations: 415.5 kB / 0.5764 GB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006098/0.6096, allocations: 4.282 MB / 0.5806 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.6103, allocations: 36.12 kB / 0.5806 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.6104, allocations: 20 kB / 0.5806 GB, free: 13 MB / 426.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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.6106, allocations: 42.97 kB / 0.5807 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.6107, allocations: 47.44 kB / 0.5807 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.6124, allocations: 0.6253 MB / 0.5813 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.6124, allocations: 7.938 kB / 0.5813 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.6124, allocations: 4 kB / 0.5813 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.6125, allocations: 3.984 kB / 0.5813 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/0.6159, allocations: 1.307 MB / 0.5826 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.616, allocations: 8 kB / 0.5826 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003904/0.6199, allocations: 439.6 kB / 0.583 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003572/0.6203, allocations: 77.5 kB / 0.5831 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-05/0.6203, allocations: 4 kB / 0.5831 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003023/0.6234, allocations: 2.702 MB / 0.5858 GB, free: 7.402 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.6234, allocations: 4 kB / 0.5858 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002272/0.6257, allocations: 1.03 MB / 0.5868 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.6259, allocations: 116.5 kB / 0.5869 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.6261, allocations: 0 / 0.5869 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/0.6267, allocations: 47.8 kB / 0.5869 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.6269, allocations: 31.7 kB / 0.5869 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/0.6269, allocations: 16 kB / 0.587 GB, free: 6.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004145/0.6273, allocations: 243.2 kB / 0.5872 GB, free: 5.836 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008721/0.6282, allocations: 128 kB / 0.5873 GB, free: 5.711 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000255/0.6285, allocations: 114.3 kB / 0.5874 GB, free: 5.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00496/0.6335, allocations: 1.054 MB / 0.5885 GB, free: 4.504 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.6335, allocations: 0 / 0.5885 GB, free: 4.504 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004759/0.6383, allocations: 0.925 MB / 0.5894 GB, free: 3.559 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.6393, allocations: 101.5 kB / 0.5895 GB, free: 3.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.6426, allocations: 1.12 MB / 0.5905 GB, free: 2.293 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.6436, allocations: 1.002 MB / 0.5915 GB, free: 1.262 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6437, allocations: 0 / 0.5915 GB, free: 1.262 MB / 426.7 MB Notification: Performance of Templates: time 0.02845/0.6721, allocations: 15.88 MB / 0.607 GB, free: 1.363 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)