Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [: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 3.2.2+maint.om/package.mo): time 0.001594/0.001594, allocations: 190.3 kB / 8.135 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.106/1.106, allocations: 194.2 MB / 202.8 MB, free: 8.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001837/0.001837, allocations: 122.7 kB / 247.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.52e-06, allocations: 0 / 297.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0708/0.07083, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.2737, allocations: 77.83 MB / 419.9 MB, free: 17.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.274, allocations: 93.56 kB / 420 MB, free: 17.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04952/0.3235, allocations: 20.53 MB / 440.5 MB, free: 384 kB / 314.7 MB Notification: Performance of Transformations before backend: time 8.211e-05/0.3236, allocations: 36.16 kB / 440.6 MB, free: 348 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.00299/0.3266, allocations: 1.377 MB / 441.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3266, allocations: 12.03 kB / 441.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004049/0.3271, allocations: 150.2 kB / 442.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.3289, allocations: 0.9493 MB / 443 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.3289, allocations: 36 kB / 443.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.3291, allocations: 60 kB / 443.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002001/0.3311, allocations: 1.253 MB / 444.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.3332, allocations: 1.36 MB / 445.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.3333, allocations: 4 kB / 445.8 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.3334, allocations: 0 / 445.8 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/0.3335, allocations: 46.02 kB / 445.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006813/0.3403, allocations: 4.817 MB / 450.6 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.3413, allocations: 0.8351 MB / 451.4 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009711/0.3423, allocations: 0.7117 MB / 452.2 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.3424, allocations: 12.41 kB / 452.2 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007797/0.3432, allocations: 0.5444 MB / 452.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.395e-06/0.3432, allocations: 0 / 452.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=72): time 0.001954/0.3451, allocations: 1.146 MB / 453.9 MB, free: 5.906 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.3452, allocations: 88.45 kB / 454 MB, free: 5.805 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.3465, allocations: 0.773 MB / 454.7 MB, free: 5.215 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/0.3466, allocations: 30.25 kB / 454.8 MB, free: 5.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.3469, allocations: 414.3 kB / 455.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.3471, allocations: 225 kB / 455.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.3472, allocations: 4 kB / 455.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3474, allocations: 335.3 kB / 455.7 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.3479, allocations: 377.5 kB / 456.1 MB, free: 4.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/0.3485, allocations: 0.5083 MB / 456.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.3491, allocations: 414.7 kB / 457 MB, free: 3.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3491, allocations: 0 / 457 MB, free: 3.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001796/0.3509, allocations: 1.177 MB / 458.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.351, allocations: 8.781 kB / 458.2 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.351, allocations: 0 / 458.2 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009037/0.3519, allocations: 407.2 kB / 458.6 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.3524, allocations: 115.9 kB / 458.7 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004688/0.3571, allocations: 3.693 MB / 462.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/0.3577, allocations: 67.48 kB / 462.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.3578, allocations: 27.91 kB / 462.5 MB, free: 13.92 MB / 346.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: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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 (58): * Single equations (assignments): 57 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.358, allocations: 126.6 kB / 462.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.3582, allocations: 86.97 kB / 462.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.3585, allocations: 112.1 kB / 462.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.3585, allocations: 8 kB / 462.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3585, allocations: 0 / 462.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.3585, allocations: 3.984 kB / 462.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.3622, allocations: 2.339 MB / 465.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3622, allocations: 0 / 465.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.3627, allocations: 91.88 kB / 465.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008306/0.3635, allocations: 396.9 kB / 465.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.3636, allocations: 4 kB / 465.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004342/0.3679, allocations: 3.638 MB / 469.3 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3679, allocations: 0 / 469.3 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00248/0.3704, allocations: 1.86 MB / 471.1 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004467/0.3709, allocations: 283.7 kB / 471.4 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.3711, allocations: 4 kB / 471.4 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/0.3716, allocations: 35.95 kB / 471.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.3717, allocations: 56.58 kB / 471.5 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.3718, allocations: 19.98 kB / 471.5 MB, free: 4.664 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000791/0.3726, allocations: 0.6123 MB / 472.1 MB, free: 4.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008375/0.3735, allocations: 310.8 kB / 472.4 MB, free: 3.746 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001881/0.3736, allocations: 119.2 kB / 472.5 MB, free: 3.621 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.3753, allocations: 1.115 MB / 473.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3754, allocations: 0 / 473.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3764, allocations: 0.6867 MB / 474.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009027/0.3773, allocations: 187.5 kB / 474.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.3819, allocations: 2.107 MB / 476.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/0.3831, allocations: 1.439 MB / 478.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3831, allocations: 4 kB / 478.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Templates: time 0.02452/0.4076, allocations: 14.56 MB / 492.6 MB, free: 15.48 MB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)