Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.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.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.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.00245/0.002449, allocations: 187.2 kB / 7.804 MB, free: 2.453 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.714/1.714, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.001303/0.001303, allocations: 85.55 kB / 261.4 MB, free: 13.6 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.3227/0.3227, allocations: 37.97 MB / 347.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.798e-06/9.818e-06, allocations: 0 / 409.3 MB, free: 47.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 56.32 MB / 465.6 MB, free: 6.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.352/0.4564, allocations: 99.18 MB / 0.5516 GB, free: 11.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/0.4568, allocations: 87.95 kB / 0.5517 GB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06506/0.5219, allocations: 14.12 MB / 0.5654 GB, free: 13.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.691e-05/0.522, allocations: 16 kB / 0.5655 GB, free: 13.25 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.002605/0.5246, allocations: 0.8722 MB / 0.5663 GB, free: 12.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.5246, allocations: 12.03 kB / 0.5663 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.5249, allocations: 75.16 kB / 0.5664 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004851/0.5297, allocations: 1.097 MB / 0.5675 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/0.53, allocations: 96.7 kB / 0.5676 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.5302, allocations: 39.91 kB / 0.5676 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001913/0.5321, allocations: 0.6117 MB / 0.5682 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.5339, allocations: 0.6671 MB / 0.5688 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.534, allocations: 0 / 0.5688 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-05/0.5341, allocations: 0 / 0.5688 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.5341, allocations: 20 kB / 0.5689 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006443/0.5405, allocations: 2.517 MB / 0.5713 GB, free: 7.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/0.5415, allocations: 357.4 kB / 0.5717 GB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008855/0.5424, allocations: 359.5 kB / 0.572 GB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.396e-05/0.5425, allocations: 12.42 kB / 0.572 GB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.5425, allocations: 46.88 kB / 0.5721 GB, free: 6.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 3.767e-06/0.5426, allocations: 0 / 0.5721 GB, free: 6.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.004115/0.5467, allocations: 1.461 MB / 0.5735 GB, free: 4.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.5468, allocations: 89.58 kB / 0.5736 GB, free: 4.586 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005624/0.5474, allocations: 294.1 kB / 0.5739 GB, free: 4.293 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.5475, allocations: 25.7 kB / 0.5739 GB, free: 4.262 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.5477, allocations: 278.8 kB / 0.5741 GB, free: 3.984 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.548, allocations: 177.4 kB / 0.5743 GB, free: 3.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.548, allocations: 0 / 0.5743 GB, free: 3.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5482, allocations: 331.6 kB / 0.5746 GB, free: 3.477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006946/0.5489, allocations: 233.2 kB / 0.5749 GB, free: 3.246 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.5497, allocations: 333.2 kB / 0.5752 GB, free: 2.887 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/0.5504, allocations: 261.3 kB / 0.5754 GB, free: 2.633 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.5505, allocations: 4 kB / 0.5754 GB, free: 2.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001976/0.5524, allocations: 0.7369 MB / 0.5761 GB, free: 1.859 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.5525, allocations: 4 kB / 0.5761 GB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.5525, allocations: 4 kB / 0.5762 GB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003692/0.5529, allocations: 77.98 kB / 0.5762 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003658/0.5566, allocations: 431.5 kB / 0.5766 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006399/0.563, allocations: 4.283 MB / 0.5808 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007295/0.5638, allocations: 36.06 kB / 0.5809 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.5639, allocations: 23.91 kB / 0.5809 GB, free: 12.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0001996/0.5641, allocations: 41.58 kB / 0.5809 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.5643, allocations: 43.44 kB / 0.581 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.5663, allocations: 0.7176 MB / 0.5817 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.5664, allocations: 11.94 kB / 0.5817 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.5664, allocations: 0 / 0.5817 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.5664, allocations: 3.984 kB / 0.5817 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/0.5707, allocations: 1.502 MB / 0.5831 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.5707, allocations: 3.938 kB / 0.5831 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004168/0.5749, allocations: 467.7 kB / 0.5836 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/0.5754, allocations: 85.58 kB / 0.5837 GB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.605e-05/0.5755, allocations: 8 kB / 0.5837 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003348/0.5789, allocations: 2.733 MB / 0.5863 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.579, allocations: 0 / 0.5863 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002999/0.582, allocations: 1.265 MB / 0.5876 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.5823, allocations: 120.5 kB / 0.5877 GB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.5824, allocations: 4 kB / 0.5877 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007106/0.5831, allocations: 35.97 kB / 0.5877 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.5833, allocations: 47.59 kB / 0.5878 GB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.5834, allocations: 16 kB / 0.5878 GB, free: 5.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004056/0.5838, allocations: 232.6 kB / 0.588 GB, free: 4.867 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009405/0.5847, allocations: 131.9 kB / 0.5881 GB, free: 4.738 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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.0002877/0.5851, allocations: 127 kB / 0.5883 GB, free: 4.605 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005425/0.5905, allocations: 1.157 MB / 0.5894 GB, free: 3.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5906, allocations: 0 / 0.5894 GB, free: 3.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005198/0.5958, allocations: 0.9879 MB / 0.5904 GB, free: 2.402 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.5969, allocations: 97.2 kB / 0.5905 GB, free: 2.305 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.6022, allocations: 1.327 MB / 0.5917 GB, free: 0.918 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/0.6035, allocations: 0.9912 MB / 0.5927 GB, free: 15.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6035, allocations: 0 / 0.5927 GB, free: 15.9 MB / 442.7 MB Notification: Performance of Templates: time 0.03054/0.634, allocations: 15.81 MB / 0.6082 GB, free: 76 kB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)