Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002221/0.002221, allocations: 181 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03936/0.03936, allocations: 8.706 MB / 16.58 MB, free: 496 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 221.4 MB / 240.5 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009506/0.0009506, allocations: 96.69 kB / 293.5 MB, free: 5.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/6.061e-06, allocations: 0 / 352.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2013, allocations: 52.54 MB / 404.6 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.3028, allocations: 85.24 MB / 489.9 MB, free: 5.391 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.3031, allocations: 64.62 kB / 489.9 MB, free: 5.328 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2031/0.5062, allocations: 21.48 MB / 0.4994 GB, free: 86.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.601e-05/0.5064, allocations: 35.61 kB / 0.4994 GB, free: 86.98 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.002365/0.5087, allocations: 1.436 MB / 0.5009 GB, free: 86.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.5088, allocations: 10.81 kB / 0.5009 GB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.509, allocations: 150.8 kB / 0.501 GB, free: 86.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.5102, allocations: 0.9238 MB / 0.5019 GB, free: 86.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.5103, allocations: 41.06 kB / 0.5019 GB, free: 86.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.5104, allocations: 70.27 kB / 0.502 GB, free: 86.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001726/0.5121, allocations: 1.362 MB / 0.5033 GB, free: 86.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.5139, allocations: 1.47 MB / 0.5048 GB, free: 85.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.5139, allocations: 3.25 kB / 0.5048 GB, free: 85.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/0.514, allocations: 0 / 0.5048 GB, free: 85.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-05/0.5141, allocations: 45.58 kB / 0.5048 GB, free: 85.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006022/0.5201, allocations: 4.873 MB / 0.5096 GB, free: 84.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.5213, allocations: 1.101 MB / 0.5107 GB, free: 84.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.5227, allocations: 1.139 MB / 0.5118 GB, free: 84.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.771e-05/0.5228, allocations: 14.67 kB / 0.5118 GB, free: 84.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.5228, allocations: 48.59 kB / 0.5118 GB, free: 84.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 2.545e-06/0.5228, allocations: 0 / 0.5118 GB, free: 84.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.003421/0.5263, allocations: 2.667 MB / 0.5144 GB, free: 82.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.5263, allocations: 63.56 kB / 0.5145 GB, free: 82.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/0.527, allocations: 0.7204 MB / 0.5152 GB, free: 82.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.527, allocations: 25.7 kB / 0.5152 GB, free: 82.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.5272, allocations: 398.6 kB / 0.5156 GB, free: 82.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.5273, allocations: 300.2 kB / 0.5159 GB, free: 81.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.5274, allocations: 0 / 0.5159 GB, free: 81.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.5275, allocations: 401.1 kB / 0.5163 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.528, allocations: 467.5 kB / 0.5167 GB, free: 81.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.5287, allocations: 0.5287 MB / 0.5172 GB, free: 81.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.5293, allocations: 0.5142 MB / 0.5177 GB, free: 80.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.5294, allocations: 1.094 kB / 0.5177 GB, free: 80.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002289/0.5316, allocations: 1.459 MB / 0.5192 GB, free: 80.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5317, allocations: 5.438 kB / 0.5192 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.5317, allocations: 1.219 kB / 0.5192 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009928/0.5327, allocations: 0.4889 MB / 0.5196 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.5334, allocations: 149.5 kB / 0.5198 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009652/0.543, allocations: 8.15 MB / 0.5277 GB, free: 73.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.5442, allocations: 35.78 kB / 0.5278 GB, free: 73.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.742e-05/0.5443, allocations: 27.91 kB / 0.5278 GB, free: 73.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002754/0.5446, allocations: 123.8 kB / 0.5279 GB, free: 73.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.5448, allocations: 86.97 kB / 0.528 GB, free: 73.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.5452, allocations: 119.7 kB / 0.5281 GB, free: 72.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.5452, allocations: 14.48 kB / 0.5281 GB, free: 72.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.5452, allocations: 4 kB / 0.5281 GB, free: 72.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.5453, allocations: 7.078 kB / 0.5281 GB, free: 72.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006508/0.5518, allocations: 2.95 MB / 0.531 GB, free: 70.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5518, allocations: 0 / 0.531 GB, free: 70.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009071/0.5527, allocations: 133.9 kB / 0.5312 GB, free: 70.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/0.5542, allocations: 487.2 kB / 0.5316 GB, free: 69.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.75e-05/0.5543, allocations: 10.88 kB / 0.5316 GB, free: 69.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008147/0.5625, allocations: 8.059 MB / 0.5395 GB, free: 61.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5625, allocations: 0 / 0.5395 GB, free: 61.97 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003663/0.5662, allocations: 2.235 MB / 0.5417 GB, free: 59.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007314/0.5669, allocations: 286.2 kB / 0.542 GB, free: 59.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.5672, allocations: 11.47 kB / 0.542 GB, free: 59.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008875/0.5681, allocations: 50.91 kB / 0.542 GB, free: 59.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.5683, allocations: 62 kB / 0.5421 GB, free: 59.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/0.5684, allocations: 27.8 kB / 0.5421 GB, free: 59.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0008943/0.5693, allocations: 0.5641 MB / 0.5427 GB, free: 59.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001474/0.5708, allocations: 264 kB / 0.5429 GB, free: 58.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor1.v,capacitor2.v) * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002534/0.5711, allocations: 110.7 kB / 0.543 GB, free: 58.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002734/0.5738, allocations: 1.572 MB / 0.5445 GB, free: 57.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5738, allocations: 0 / 0.5445 GB, free: 57.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001753/0.5756, allocations: 1.083 MB / 0.5456 GB, free: 56.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.577, allocations: 212.2 kB / 0.5458 GB, free: 56.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005658/0.5827, allocations: 2.309 MB / 0.5481 GB, free: 54.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/0.5843, allocations: 1.478 MB / 0.5495 GB, free: 52.77 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5843, allocations: 0 / 0.5495 GB, free: 52.77 MB / 378.7 MB Notification: Performance of Templates: time 0.03702/0.6213, allocations: 16.5 MB / 0.5656 GB, free: 36.84 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Rectifier.makefile (rm -f HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Rectifier.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Rectifier.sim & ./HanserModelica_HanserModelica.Electrical.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1)