Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.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.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") [: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.001134/0.001134, allocations: 188.8 kB / 8.137 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.051/1.051, allocations: 194.2 MB / 202.8 MB, free: 8.734 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.001905/0.001905, allocations: 117.5 kB / 247.7 MB, free: 6.281 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.566e-06, allocations: 7.938 kB / 297.6 MB, free: 8.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07008/0.07011, allocations: 44.48 MB / 342.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/0.2612, allocations: 77.2 MB / 419.3 MB, free: 18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.2614, allocations: 85.23 kB / 419.3 MB, free: 17.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01637/0.2778, allocations: 6.606 MB / 426 MB, free: 12.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.331e-05/0.2778, allocations: 12 kB / 426 MB, free: 12.55 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001076/0.2789, allocations: 0.7028 MB / 426.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.279, allocations: 12.03 kB / 426.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.2791, allocations: 51.34 kB / 426.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.2798, allocations: 361.5 kB / 427.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.2798, allocations: 16 kB / 427.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.291e-05/0.2799, allocations: 24 kB / 427.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005256/0.2805, allocations: 253.3 kB / 427.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/0.281, allocations: 375.5 kB / 427.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.281, allocations: 0 / 427.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.2811, allocations: 3.984 kB / 427.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.2811, allocations: 12 kB / 427.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.2838, allocations: 1.572 MB / 429.3 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.2844, allocations: 239.8 kB / 429.6 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004208/0.2848, allocations: 147.7 kB / 429.7 MB, free: 9.285 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.2849, allocations: 4 kB / 429.7 MB, free: 9.281 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003813/0.2853, allocations: 194.2 kB / 429.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.406e-06/0.2853, allocations: 0 / 429.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007438/0.286, allocations: 285.3 kB / 430.2 MB, free: 8.895 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.2861, allocations: 136.5 kB / 430.3 MB, free: 8.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.2864, allocations: 246 kB / 430.5 MB, free: 8.531 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.2865, allocations: 29.7 kB / 430.6 MB, free: 8.496 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.2866, allocations: 198 kB / 430.8 MB, free: 8.316 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.627e-05/0.2867, allocations: 102.7 kB / 430.9 MB, free: 8.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.2868, allocations: 0 / 430.9 MB, free: 8.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.2869, allocations: 349.3 kB / 431.2 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.2872, allocations: 84.56 kB / 431.3 MB, free: 7.844 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.2875, allocations: 220.6 kB / 431.5 MB, free: 7.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.2878, allocations: 98.92 kB / 431.6 MB, free: 7.562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.2878, allocations: 4 kB / 431.6 MB, free: 7.559 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000957/0.2888, allocations: 369.7 kB / 432 MB, free: 7.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.289, allocations: 1.389 MB / 433.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.289, allocations: 5.188 kB / 433.4 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/0.2895, allocations: 78.09 kB / 433.4 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.2899, allocations: 70.91 kB / 433.5 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.2919, allocations: 1.637 MB / 435.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.2925, allocations: 57.78 kB / 435.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.2926, allocations: 15.38 kB / 435.2 MB, free: 4.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.2926, allocations: 7.906 kB / 435.2 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008189/0.2934, allocations: 300.1 kB / 435.5 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.2934, allocations: 6.109 kB / 435.5 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.2938, allocations: 72.17 kB / 435.6 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.2941, allocations: 59.47 kB / 435.7 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.296, allocations: 1.649 MB / 437.3 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.2965, allocations: 47.81 kB / 437.3 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.2965, allocations: 14.44 kB / 437.4 MB, free: 2.027 MB / 314.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: 21 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.diode.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.2967, allocations: 138.1 kB / 437.5 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.2968, allocations: 31.62 kB / 437.5 MB, free: 1.859 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.2969, allocations: 42.27 kB / 437.6 MB, free: 1.836 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.2969, allocations: 4 kB / 437.6 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2969, allocations: 4.922 kB / 437.6 MB, free: 1.828 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2969, allocations: 0 / 437.6 MB, free: 1.828 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.2985, allocations: 0.8658 MB / 438.4 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2986, allocations: 0 / 438.4 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.2989, allocations: 46.92 kB / 438.5 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002873/0.2992, allocations: 57.33 kB / 438.5 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.2993, allocations: 11.05 kB / 438.6 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.3011, allocations: 1.495 MB / 440.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3011, allocations: 1.125 kB / 440.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001264/0.3024, allocations: 0.5159 MB / 440.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.3026, allocations: 141.9 kB / 440.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.3028, allocations: 4 kB / 440.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000601/0.3034, allocations: 35.88 kB / 440.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.3035, allocations: 30.52 kB / 440.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.3036, allocations: 11.19 kB / 440.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003195/0.3039, allocations: 186.2 kB / 441 MB, free: 14.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001513/0.3055, allocations: 191.2 kB / 441.2 MB, free: 14.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.diode.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002457/0.3057, allocations: 115.6 kB / 441.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.3076, allocations: 0.6911 MB / 442 MB, free: 13.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3076, allocations: 4.062 kB / 442 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005969/0.3082, allocations: 242.7 kB / 442.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.3088, allocations: 48.97 kB / 442.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.3112, allocations: 0.5694 MB / 442.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007534/0.3119, allocations: 0.8621 MB / 443.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.312, allocations: 4 kB / 443.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of Templates: time 0.02356/0.3355, allocations: 6.579 MB / 450.3 MB, free: 5.676 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1)