Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [: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.001648/0.001648, allocations: 195.5 kB / 8.139 MB, free: 2.203 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.094/1.094, allocations: 194.2 MB / 202.8 MB, free: 8.715 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.001756/0.001756, allocations: 121.2 kB / 247.7 MB, free: 6.281 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.095e-06/8.125e-06, allocations: 0 / 297.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0742/0.07422, allocations: 44.48 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/0.2874, allocations: 78.53 MB / 420.6 MB, free: 16.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.2876, allocations: 88.69 kB / 420.7 MB, free: 16.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04671/0.3343, allocations: 19.93 MB / 440.6 MB, free: 380 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.599e-05/0.3344, allocations: 27.98 kB / 440.6 MB, free: 352 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002138/0.3366, allocations: 1.276 MB / 441.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3366, allocations: 12.02 kB / 441.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.3368, allocations: 138.4 kB / 442.1 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/0.3406, allocations: 1.666 MB / 443.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.3407, allocations: 28 kB / 443.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.3408, allocations: 63.81 kB / 443.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001738/0.3426, allocations: 1.149 MB / 445 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.3445, allocations: 1.273 MB / 446.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.3445, allocations: 0 / 446.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.627e-05/0.3446, allocations: 7.984 kB / 446.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/0.3447, allocations: 41.91 kB / 446.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005752/0.3504, allocations: 4.173 MB / 450.5 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.3516, allocations: 0.8936 MB / 451.4 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.3527, allocations: 0.8031 MB / 452.2 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.3528, allocations: 12.64 kB / 452.2 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007537/0.3536, allocations: 0.5447 MB / 452.7 MB, free: 7.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=75): time 1.983e-06/0.3536, allocations: 0 / 452.7 MB, free: 7.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=75): time 0.002059/0.3556, allocations: 1.204 MB / 453.9 MB, free: 6.141 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.3557, allocations: 115.5 kB / 454 MB, free: 6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008723/0.3566, allocations: 0.6733 MB / 454.7 MB, free: 5.492 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/0.3567, allocations: 25.7 kB / 454.7 MB, free: 5.461 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.3569, allocations: 374.8 kB / 455.1 MB, free: 5.129 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.3571, allocations: 235.7 kB / 455.3 MB, free: 4.926 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.3571, allocations: 3.938 kB / 455.3 MB, free: 4.922 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3573, allocations: 398.4 kB / 455.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/0.3578, allocations: 385.3 kB / 456.1 MB, free: 4.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.3584, allocations: 0.5101 MB / 456.6 MB, free: 3.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.359, allocations: 429.3 kB / 457 MB, free: 3.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.359, allocations: 0 / 457 MB, free: 3.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001824/0.3608, allocations: 1.226 MB / 458.3 MB, free: 2.379 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3609, allocations: 4.781 kB / 458.3 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3609, allocations: 4 kB / 458.3 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.362, allocations: 488.3 kB / 458.7 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.3624, allocations: 95.83 kB / 458.8 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006496/0.3689, allocations: 4.799 MB / 463.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/0.3696, allocations: 63.5 kB / 463.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.3697, allocations: 24 kB / 463.7 MB, free: 12.8 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 (52): * Single equations (assignments): 51 * 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 32} Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.3699, allocations: 126.4 kB / 463.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.37, allocations: 83.05 kB / 463.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.3702, allocations: 104.1 kB / 464 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3702, allocations: 12 kB / 464 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.3702, allocations: 0 / 464 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.3703, allocations: 3.984 kB / 464 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/0.374, allocations: 2.434 MB / 466.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.374, allocations: 0 / 466.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.3743, allocations: 63.89 kB / 466.5 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.3754, allocations: 476.6 kB / 467 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.3754, allocations: 7.984 kB / 467 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00606/0.3815, allocations: 4.746 MB / 471.8 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3815, allocations: 0 / 471.8 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002425/0.3839, allocations: 1.876 MB / 473.6 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/0.3844, allocations: 275.8 kB / 473.9 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.3845, allocations: 4 kB / 473.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.385, allocations: 23.97 kB / 473.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.3851, allocations: 48.58 kB / 474 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.3852, allocations: 27.98 kB / 474 MB, free: 2.285 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0006446/0.3859, allocations: 0.5264 MB / 474.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000906/0.3868, allocations: 299 kB / 474.8 MB, free: 1.469 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 (38): * Single equations (assignments): 34 * 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 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001998/0.387, allocations: 123.2 kB / 474.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001785/0.3888, allocations: 1.127 MB / 476.1 MB, free: 208 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3888, allocations: 0 / 476.1 MB, free: 208 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.3899, allocations: 0.7066 MB / 476.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009105/0.3908, allocations: 203.6 kB / 477 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.3942, allocations: 1.791 MB / 478.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.3954, allocations: 1.365 MB / 480.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.3954, allocations: 3.938 kB / 480.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of Templates: time 0.02522/0.4206, allocations: 15.78 MB / 495.9 MB, free: 12.3 MB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)