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.0007759/0.0007759, allocations: 100.9 kB / 16.65 MB, free: 6.254 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.0008351/0.000835, allocations: 180.4 kB / 17.57 MB, free: 5.844 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.383/1.383, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0004198/0.0004198, allocations: 8 kB / 280.7 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08196/0.08239, allocations: 47.59 MB / 328.3 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.003493/0.08592, allocations: 3.261 MB / 331.6 MB, free: 468 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.08746, allocations: 0.9552 MB / 332.6 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.08765, allocations: 11.94 kB / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.08783, allocations: 55.55 kB / 332.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.08805, allocations: 103.2 kB / 332.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.08849, allocations: 179.8 kB / 332.9 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.08901, allocations: 0.5524 MB / 333.4 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.08935, allocations: 206.6 kB / 333.6 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.08954, allocations: 171.2 kB / 333.8 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.08977, allocations: 202.9 kB / 334 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.122e-05/0.08983, allocations: 24 kB / 334 MB, free: 14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.247e-05/0.08989, allocations: 20 kB / 334.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.312e-05/0.08999, allocations: 87.55 kB / 334.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.09021, allocations: 248.4 kB / 334.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.09068, allocations: 0.5603 MB / 334.9 MB, free: 13.08 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.09069, allocations: 4 kB / 334.9 MB, free: 13.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0907, allocations: 0 / 334.9 MB, free: 13.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.09072, allocations: 3.938 kB / 335 MB, free: 13.07 MB / 286.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.001227/0.09195, allocations: 0.7493 MB / 335.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.09199, allocations: 8.031 kB / 335.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.0921, allocations: 56.38 kB / 335.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.09258, allocations: 384.1 kB / 336.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/0.09267, allocations: 41.55 kB / 336.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.936e-05/0.09274, allocations: 44.38 kB / 336.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007692/0.09352, allocations: 468.8 kB / 336.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.09354, allocations: 0 / 336.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.09359, allocations: 19.98 kB / 336.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.09361, allocations: 12 kB / 336.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006239/0.09424, allocations: 323.8 kB / 337 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.09648, allocations: 1.674 MB / 338.7 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.09716, allocations: 311.6 kB / 339 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.09754, allocations: 173.3 kB / 339.2 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.09758, allocations: 20.2 kB / 339.2 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004722/0.09806, allocations: 257.7 kB / 339.4 MB, free: 8.328 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.813e-06/0.09808, allocations: 0 / 339.4 MB, free: 8.328 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001522/0.0996, allocations: 0.6352 MB / 340.1 MB, free: 7.664 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.0997, allocations: 140.5 kB / 340.2 MB, free: 7.496 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.1001, allocations: 349.6 kB / 340.6 MB, free: 7.141 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.1001, allocations: 41.69 kB / 340.6 MB, free: 7.094 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1003, allocations: 224.4 kB / 340.8 MB, free: 6.867 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.455e-05/0.1004, allocations: 106.5 kB / 340.9 MB, free: 6.762 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.1005, allocations: 49.69 kB / 341 MB, free: 6.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1006, allocations: 354.7 kB / 341.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.1009, allocations: 120.8 kB / 341.4 MB, free: 6.23 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.1012, allocations: 248.6 kB / 341.7 MB, free: 5.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.1018, allocations: 389 kB / 342.1 MB, free: 5.492 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1018, allocations: 4 kB / 342.1 MB, free: 5.488 MB / 286.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008332/0.1027, allocations: 499.6 kB / 342.6 MB, free: 4.984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.1028, allocations: 232.5 kB / 342.8 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1028, allocations: 12 kB / 342.8 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002624/0.1031, allocations: 68.83 kB / 342.9 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.1034, allocations: 71.83 kB / 342.9 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.105, allocations: 1.714 MB / 344.6 MB, free: 2.699 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.1053, allocations: 55.64 kB / 344.7 MB, free: 2.645 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.1053, allocations: 20 kB / 344.7 MB, free: 2.625 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/0.1054, allocations: 4 kB / 344.7 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006721/0.106, allocations: 418.6 kB / 345.1 MB, free: 2.203 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1061, allocations: 4 kB / 345.1 MB, free: 2.199 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/0.1063, allocations: 72.75 kB / 345.2 MB, free: 2.125 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.1065, allocations: 63.86 kB / 345.3 MB, free: 2.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.1081, allocations: 1.698 MB / 347 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.1083, allocations: 47.8 kB / 347 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.1084, allocations: 24 kB / 347 MB, free: 164 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 21 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y,$PRE.meanCurrent.y,meanVoltage.y,$PRE.meanVoltage.y,$whenCondition2,$whenCondition1,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,chopperStepDown.diode.off,chopperStepDown.transistor.off,chopperStepDown.andCondition_p.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.1087, allocations: 263.3 kB / 347.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.1088, allocations: 39.53 kB / 347.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.835e-05/0.1089, allocations: 40.14 kB / 347.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1089, allocations: 8.062 kB / 347.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1089, allocations: 0 / 347.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.1089, allocations: 11.91 kB / 347.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.1103, allocations: 1.021 MB / 348.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1104, allocations: 0 / 348.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.1106, allocations: 39.97 kB / 348.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001965/0.1108, allocations: 72.81 kB / 348.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.1108, allocations: 15.98 kB / 348.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/0.1123, allocations: 1.691 MB / 350.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.1123, allocations: 7.922 kB / 350.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.1134, allocations: 0.6304 MB / 350.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.1136, allocations: 144.6 kB / 351 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.1136, allocations: 8 kB / 351 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.1139, allocations: 35.97 kB / 351 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-05/0.114, allocations: 35.89 kB / 351.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.114, allocations: 16.05 kB / 351.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.1143, allocations: 251.2 kB / 351.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1143, allocations: 0 / 351.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007972/0.1151, allocations: 211.4 kB / 351.6 MB, free: 11.39 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.1153, allocations: 114.9 kB / 351.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.1166, allocations: 0.8878 MB / 352.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1167, allocations: 0 / 352.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.1171, allocations: 306.3 kB / 352.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.1176, allocations: 73.86 kB / 352.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.1193, allocations: 1.083 MB / 354 MB, free: 8.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.1198, allocations: 0.8274 MB / 354.8 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.1199, allocations: 43.3 kB / 354.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.12, allocations: 31.44 kB / 354.9 MB, free: 7.895 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.12, allocations: 0 / 354.9 MB, free: 7.895 MB / 302.1 MB Notification: Performance of Templates: time 0.01094/0.131, allocations: 6.06 MB / 361 MB, free: 1.844 MB / 302.1 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)