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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009728, allocations: 93.83 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001246, allocations: 183.2 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.0004879, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2853, allocations: 47.58 MB / 327.7 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.004048/0.2895, allocations: 2.978 MB / 330.7 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.2913, allocations: 0.9542 MB / 331.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.2915, allocations: 11.62 kB / 331.7 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.2917, allocations: 47.98 kB / 331.7 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.292, allocations: 141.1 kB / 331.8 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.2925, allocations: 144.4 kB / 332 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005354/0.2931, allocations: 387.4 kB / 332.4 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.2934, allocations: 161.6 kB / 332.5 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.2937, allocations: 168.6 kB / 332.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.294, allocations: 193.7 kB / 332.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.456e-05/0.2941, allocations: 21.47 kB / 332.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.758e-05/0.2942, allocations: 22.88 kB / 332.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.2943, allocations: 90.8 kB / 333 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.2944, allocations: 109.9 kB / 333.1 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005032/0.295, allocations: 459.2 kB / 333.6 MB, free: 13.03 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.295, allocations: 0 / 333.6 MB, free: 13.03 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.295, allocations: 1.156 kB / 333.6 MB, free: 13.03 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.295, allocations: 0 / 333.6 MB, free: 13.03 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001488/0.2965, allocations: 0.7483 MB / 334.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.2965, allocations: 13.22 kB / 334.3 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.2967, allocations: 55.03 kB / 334.4 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/0.2973, allocations: 377.2 kB / 334.7 MB, free: 12.01 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.397e-05/0.2974, allocations: 39.67 kB / 334.8 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.114e-05/0.2975, allocations: 40.66 kB / 334.8 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008514/0.2984, allocations: 455.4 kB / 335.3 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.2984, allocations: 3.984 kB / 335.3 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/0.2985, allocations: 20 kB / 335.3 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.2985, allocations: 10.16 kB / 335.3 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/0.2992, allocations: 313 kB / 335.6 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.3015, allocations: 1.678 MB / 337.3 MB, free: 9.719 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.3021, allocations: 307.7 kB / 337.6 MB, free: 9.41 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.3022, allocations: 4.281 kB / 337.6 MB, free: 9.406 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004685/0.3026, allocations: 273.2 kB / 337.9 MB, free: 9.121 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/0.3027, allocations: 0 / 337.9 MB, free: 9.121 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001468/0.3041, allocations: 0.6272 MB / 338.5 MB, free: 8.465 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.3042, allocations: 110.8 kB / 338.6 MB, free: 8.332 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.3046, allocations: 353.6 kB / 338.9 MB, free: 7.973 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.3047, allocations: 37.7 kB / 339 MB, free: 7.93 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.3049, allocations: 228.4 kB / 339.2 MB, free: 7.699 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.446e-05/0.305, allocations: 114.4 kB / 339.3 MB, free: 7.586 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.305, allocations: 8 kB / 339.3 MB, free: 7.578 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3051, allocations: 346.8 kB / 339.7 MB, free: 7.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.3054, allocations: 116.8 kB / 339.8 MB, free: 7.117 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.3058, allocations: 255.7 kB / 340 MB, free: 6.812 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.3061, allocations: 162.7 kB / 340.2 MB, free: 6.648 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3061, allocations: 4 kB / 340.2 MB, free: 6.645 MB / 270.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007827/0.3069, allocations: 496.5 kB / 340.7 MB, free: 6.145 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005732/0.3074, allocations: 1.431 MB / 342.1 MB, free: 4.598 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3075, allocations: 4 kB / 342.1 MB, free: 4.594 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002752/0.3077, allocations: 72.75 kB / 342.2 MB, free: 4.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.308, allocations: 67.91 kB / 342.2 MB, free: 4.453 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.3097, allocations: 1.718 MB / 344 MB, free: 2.605 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.3099, allocations: 59.56 kB / 344 MB, free: 2.547 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.31, allocations: 20 kB / 344 MB, free: 2.527 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.154e-06/0.31, allocations: 4 kB / 344 MB, free: 2.523 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006642/0.3107, allocations: 414.1 kB / 344.4 MB, free: 2.109 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3107, allocations: 4 kB / 344.4 MB, free: 2.105 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/0.3109, allocations: 77.39 kB / 344.5 MB, free: 2.027 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.3111, allocations: 63.91 kB / 344.6 MB, free: 1.965 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.3126, allocations: 1.718 MB / 346.3 MB, free: 112 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.3129, allocations: 47.67 kB / 346.3 MB, free: 64 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.3129, allocations: 16 kB / 346.4 MB, free: 48 kB / 270.1 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.transistor.off,chopperStepDown.diode.off,signalPWM.notFire,$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 (45): * Single equations (assignments): 43 * 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.0002608/0.3132, allocations: 259.3 kB / 346.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.3132, allocations: 39.53 kB / 346.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.756e-05/0.3133, allocations: 48.14 kB / 346.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3133, allocations: 4 kB / 346.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3134, allocations: 0 / 346.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3134, allocations: 3.984 kB / 346.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.3147, allocations: 0.934 MB / 347.6 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3147, allocations: 0 / 347.6 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.3149, allocations: 43.91 kB / 347.7 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001779/0.3151, allocations: 68.86 kB / 347.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.3151, allocations: 11.98 kB / 347.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.3168, allocations: 1.723 MB / 349.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3168, allocations: 0 / 349.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.3179, allocations: 0.6439 MB / 350.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.318, allocations: 148.6 kB / 350.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.3181, allocations: 11.95 kB / 350.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.3184, allocations: 31.97 kB / 350.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-05/0.3185, allocations: 31.95 kB / 350.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.3185, allocations: 11.94 kB / 350.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002617/0.3188, allocations: 251.2 kB / 350.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3188, allocations: 4 kB / 350.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007774/0.3196, allocations: 211.4 kB / 350.8 MB, free: 11.33 MB / 286.1 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.transistor.off,chopperStepDown.diode.off,signalPWM.notFire,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 (30): * Single equations (assignments): 23 * 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.0001569/0.3197, allocations: 111.2 kB / 350.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.321, allocations: 0.8912 MB / 351.8 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.321, allocations: 0 / 351.8 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.3214, allocations: 311 kB / 352.1 MB, free: 9.957 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.3219, allocations: 69.33 kB / 352.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.3235, allocations: 1.018 MB / 353.2 MB, free: 8.844 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.3239, allocations: 0.8352 MB / 354 MB, free: 7.984 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.324, allocations: 51.28 kB / 354.1 MB, free: 7.93 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.3241, allocations: 27.44 kB / 354.1 MB, free: 7.902 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3241, allocations: 0 / 354.1 MB, free: 7.902 MB / 286.1 MB Notification: Performance of Templates: time 0.01027/0.3344, allocations: 5.881 MB / 360 MB, free: 2.02 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: