Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [: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.001188/0.001188, allocations: 190.5 kB / 8.134 MB, free: 2.219 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.097/1.097, allocations: 194.2 MB / 202.8 MB, free: 8.66 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.001843/0.001843, allocations: 122.6 kB / 247.8 MB, free: 6.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/6.903e-06, allocations: 0 / 297.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07789/0.07792, allocations: 44.49 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/0.2896, allocations: 77.25 MB / 419.3 MB, free: 17.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.2898, allocations: 84.44 kB / 419.4 MB, free: 17.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03266/0.3225, allocations: 12.99 MB / 432.4 MB, free: 7.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.09e-05/0.3226, allocations: 24.16 kB / 432.4 MB, free: 7.176 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001759/0.3244, allocations: 0.9241 MB / 433.3 MB, free: 6.258 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.3244, allocations: 12.03 kB / 433.4 MB, free: 6.246 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.3247, allocations: 88.38 kB / 433.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.3257, allocations: 0.6238 MB / 434.1 MB, free: 5.605 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.3258, allocations: 24 kB / 434.1 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.3259, allocations: 39.98 kB / 434.1 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001043/0.3269, allocations: 0.6925 MB / 434.8 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.328, allocations: 0.8106 MB / 435.6 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.3281, allocations: 0 / 435.6 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/0.3281, allocations: 4 kB / 435.6 MB, free: 4.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.3282, allocations: 29.3 kB / 435.7 MB, free: 4.473 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.3316, allocations: 2.699 MB / 438.4 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.3321, allocations: 451.1 kB / 438.8 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.3327, allocations: 374.1 kB / 439.2 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.3327, allocations: 8.266 kB / 439.2 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/0.3331, allocations: 335.4 kB / 439.5 MB, free: 1.434 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.824e-06/0.3331, allocations: 0 / 439.5 MB, free: 1.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009264/0.3341, allocations: 0.6058 MB / 440.1 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.3341, allocations: 117.4 kB / 440.2 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004779/0.3346, allocations: 481.2 kB / 440.7 MB, free: 480 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.3347, allocations: 37.61 kB / 440.7 MB, free: 440 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.3348, allocations: 285.3 kB / 441 MB, free: 180 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/0.3349, allocations: 134.2 kB / 441.1 MB, free: 60 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.3349, allocations: 0 / 441.1 MB, free: 60 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.335, allocations: 364.1 kB / 441.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.3353, allocations: 199.9 kB / 441.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.3357, allocations: 319.2 kB / 442 MB, free: 15.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.336, allocations: 225.3 kB / 442.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.336, allocations: 0 / 442.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001029/0.3371, allocations: 0.6826 MB / 442.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3371, allocations: 5.094 kB / 442.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3371, allocations: 4.469 kB / 442.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005121/0.3376, allocations: 205.5 kB / 443.1 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.338, allocations: 75.7 kB / 443.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.3408, allocations: 2.559 MB / 445.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.3412, allocations: 43.81 kB / 445.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.3412, allocations: 23.17 kB / 445.8 MB, free: 12.14 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.3414, allocations: 136.4 kB / 446 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/0.3415, allocations: 55.34 kB / 446 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.3416, allocations: 59.03 kB / 446.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3416, allocations: 8 kB / 446.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.3416, allocations: 0 / 446.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3416, allocations: 0 / 446.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.344, allocations: 1.612 MB / 447.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.344, allocations: 0 / 447.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.3443, allocations: 51.94 kB / 447.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004459/0.3447, allocations: 195 kB / 447.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.3448, allocations: 11.89 kB / 447.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.3472, allocations: 2.353 MB / 450.3 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3472, allocations: 0 / 450.3 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00142/0.3486, allocations: 1.072 MB / 451.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.3489, allocations: 196 kB / 451.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.349, allocations: 0 / 451.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.3494, allocations: 23.97 kB / 451.6 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/0.3495, allocations: 34.64 kB / 451.6 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.3495, allocations: 15.38 kB / 451.6 MB, free: 7.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0004172/0.35, allocations: 376.2 kB / 452 MB, free: 7.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000664/0.3506, allocations: 183.3 kB / 452.2 MB, free: 6.883 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.3508, allocations: 119 kB / 452.3 MB, free: 6.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009984/0.3518, allocations: 0.6173 MB / 452.9 MB, free: 6.293 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3518, allocations: 4.188 kB / 452.9 MB, free: 6.289 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005724/0.3524, allocations: 400.3 kB / 453.3 MB, free: 5.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.353, allocations: 109.9 kB / 453.4 MB, free: 5.895 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.3553, allocations: 1.09 MB / 454.5 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008011/0.3561, allocations: 1.118 MB / 455.6 MB, free: 3.836 MB / 330.7 MB Notification: Performance of SimCode: time 2.154e-06/0.3561, allocations: 0 / 455.6 MB, free: 3.836 MB / 330.7 MB Notification: Performance of Templates: time 0.01471/0.3708, allocations: 8.151 MB / 463.8 MB, free: 11.75 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)