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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001385/0.001385, allocations: 178.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.156/1.156, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001526/0.001526, allocations: 117.7 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002756/0.0002756, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07488/0.07517, allocations: 44.5 MB / 355.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.242/0.3172, allocations: 78.02 MB / 433.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.3175, allocations: 86.14 kB / 433.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01552/0.333, allocations: 6.934 MB / 440.1 MB, free: 5.766 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3331, allocations: 4 kB / 440.1 MB, free: 5.762 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.262e-05/0.3331, allocations: 12 kB / 440.1 MB, free: 5.75 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.0009807/0.3341, allocations: 0.7286 MB / 440.9 MB, free: 5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.3341, allocations: 8.031 kB / 440.9 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.605e-05/0.3342, allocations: 55.39 kB / 440.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.3346, allocations: 362.5 kB / 441.3 MB, free: 4.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.3347, allocations: 31.19 kB / 441.3 MB, free: 4.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.3347, allocations: 46.75 kB / 441.4 MB, free: 4.539 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000635/0.3354, allocations: 462.3 kB / 441.8 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.3354, allocations: 4 kB / 441.8 MB, free: 4.195 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.3354, allocations: 17 kB / 441.8 MB, free: 4.191 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3354, allocations: 12 kB / 441.8 MB, free: 4.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005293/0.336, allocations: 324.1 kB / 442.2 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.3378, allocations: 1.666 MB / 443.8 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.3384, allocations: 315.2 kB / 444.1 MB, free: 2.297 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.3384, allocations: 4 kB / 444.1 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003443/0.3388, allocations: 246.8 kB / 444.4 MB, free: 2.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.964e-06/0.3388, allocations: 0 / 444.4 MB, free: 2.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001131/0.3399, allocations: 0.5582 MB / 444.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.34, allocations: 118.7 kB / 445.1 MB, free: 1.477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.3403, allocations: 328.4 kB / 445.4 MB, free: 1.215 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.3403, allocations: 34.02 kB / 445.4 MB, free: 1.184 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.3404, allocations: 224.9 kB / 445.6 MB, free: 1.012 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.3405, allocations: 104.4 kB / 445.7 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.3405, allocations: 7.625 kB / 445.7 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.3406, allocations: 348.2 kB / 446.1 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.3408, allocations: 124 kB / 446.2 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.3411, allocations: 247.8 kB / 446.4 MB, free: 264 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.3413, allocations: 171 kB / 446.6 MB, free: 136 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3413, allocations: 4 kB / 446.6 MB, free: 132 kB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007736/0.3421, allocations: 499.1 kB / 447.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005169/0.3426, allocations: 1.335 MB / 448.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3427, allocations: 4 kB / 448.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.3429, allocations: 66.52 kB / 448.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.3432, allocations: 80.27 kB / 448.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.3448, allocations: 1.715 MB / 450.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.3452, allocations: 67.72 kB / 450.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.3452, allocations: 16 kB / 450.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.3452, allocations: 5.25 kB / 450.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006659/0.3459, allocations: 422.5 kB / 450.8 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3459, allocations: 0 / 450.8 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.3461, allocations: 71.12 kB / 450.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.3463, allocations: 67.91 kB / 450.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.3478, allocations: 1.718 MB / 452.6 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.3481, allocations: 51.69 kB / 452.7 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.3482, allocations: 16 kB / 452.7 MB, free: 9.781 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002536/0.3484, allocations: 259.3 kB / 453 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.3485, allocations: 35.62 kB / 453 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.976e-05/0.3486, allocations: 40.06 kB / 453 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3486, allocations: 4 kB / 453 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.3486, allocations: 0 / 453 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.3486, allocations: 7.938 kB / 453.1 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.3498, allocations: 0.8864 MB / 453.9 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3498, allocations: 0 / 453.9 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.35, allocations: 39.97 kB / 454 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/0.3502, allocations: 80.72 kB / 454.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.3502, allocations: 8 kB / 454.1 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.3517, allocations: 1.702 MB / 455.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3517, allocations: 0 / 455.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008612/0.3526, allocations: 0.5863 MB / 456.4 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.3528, allocations: 140.6 kB / 456.5 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.3528, allocations: 9.812 kB / 456.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.3531, allocations: 39.97 kB / 456.5 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.3532, allocations: 31.95 kB / 456.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.3533, allocations: 21.98 kB / 456.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002815/0.3535, allocations: 255.1 kB / 456.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3536, allocations: 0 / 456.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007207/0.3543, allocations: 215.5 kB / 457 MB, free: 5.207 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * 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.0001549/0.3544, allocations: 120.1 kB / 457.2 MB, free: 5.078 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.3557, allocations: 0.8784 MB / 458 MB, free: 4.152 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3557, allocations: 0 / 458 MB, free: 4.152 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.3561, allocations: 294.5 kB / 458.3 MB, free: 3.852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.3564, allocations: 51.91 kB / 458.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.3579, allocations: 0.9996 MB / 459.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3582, allocations: 0.8312 MB / 460.2 MB, free: 1.918 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.3584, allocations: 43.27 kB / 460.3 MB, free: 1.879 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.3585, allocations: 27.44 kB / 460.3 MB, free: 1.852 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3585, allocations: 0 / 460.3 MB, free: 1.852 MB / 330.7 MB Notification: Performance of Templates: time 0.009516/0.368, allocations: 5.818 MB / 466.1 MB, free: 12.12 MB / 346.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)