Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001706/0.001706, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008638/0.0008639, allocations: 100.9 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.716e-05/1.71e-05, allocations: 4 kB / 343.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 51.49 MB / 395.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3186/0.4203, allocations: 87.13 MB / 482.4 MB, free: 6.078 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.4206, allocations: 89.16 kB / 482.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02479/0.4454, allocations: 10.16 MB / 492.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4455, allocations: 0 / 492.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.408e-05/0.4455, allocations: 13.78 kB / 492.7 MB, free: 13.58 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00135/0.4469, allocations: 0.7735 MB / 493.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.4469, allocations: 12.03 kB / 493.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.447, allocations: 74.84 kB / 493.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.4476, allocations: 391.5 kB / 493.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.4476, allocations: 12 kB / 493.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/0.4477, allocations: 35.94 kB / 494 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005287/0.4482, allocations: 279.3 kB / 494.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/0.4489, allocations: 411 kB / 494.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.449, allocations: 8.594 kB / 494.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.449, allocations: 0 / 494.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.449, allocations: 15.95 kB / 494.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.4515, allocations: 1.691 MB / 496.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.4522, allocations: 354.9 kB / 496.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.4526, allocations: 207.3 kB / 496.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.4527, allocations: 11.97 kB / 496.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004036/0.4531, allocations: 240.2 kB / 497.1 MB, free: 9.773 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.004e-06/0.4531, allocations: 1.781 kB / 497.1 MB, free: 9.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005901/0.4537, allocations: 338.5 kB / 497.5 MB, free: 9.512 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.4538, allocations: 110.8 kB / 497.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.4541, allocations: 275 kB / 497.9 MB, free: 9.164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.4541, allocations: 37.69 kB / 497.9 MB, free: 9.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.4543, allocations: 251.7 kB / 498.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.4544, allocations: 122.9 kB / 498.3 MB, free: 8.824 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.4544, allocations: 0 / 498.3 MB, free: 8.824 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4546, allocations: 350.6 kB / 498.6 MB, free: 8.488 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.4548, allocations: 100 kB / 498.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.455, allocations: 230.6 kB / 498.9 MB, free: 8.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.4552, allocations: 112.5 kB / 499 MB, free: 8.137 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.4552, allocations: 0 / 499 MB, free: 8.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006001/0.4559, allocations: 415 kB / 499.4 MB, free: 7.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005943/0.4565, allocations: 1.333 MB / 0.489 GB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4565, allocations: 4 kB / 0.489 GB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/0.4567, allocations: 69.02 kB / 0.4891 GB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.4571, allocations: 99 kB / 0.4892 GB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.4587, allocations: 1.634 MB / 0.4908 GB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.459, allocations: 51.66 kB / 0.4908 GB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.4591, allocations: 23.31 kB / 0.4909 GB, free: 4.605 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.4591, allocations: 4 kB / 0.4909 GB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005499/0.4597, allocations: 341.6 kB / 0.4912 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4597, allocations: 4 kB / 0.4912 GB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/0.4599, allocations: 69.36 kB / 0.4913 GB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.4602, allocations: 91.27 kB / 0.4913 GB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.4616, allocations: 1.631 MB / 0.4929 GB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.462, allocations: 51.8 kB / 0.493 GB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.462, allocations: 26.23 kB / 0.493 GB, free: 2.574 MB / 362.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_last,meanCurrent.y_last,$PRE.meanVoltage.y_last,meanVoltage.y_last,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (50): * Single equations (assignments): 48 * 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.0001955/0.4622, allocations: 126.1 kB / 0.4931 GB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00053/0.4627, allocations: 330 kB / 0.4935 GB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.4628, allocations: 43.48 kB / 0.4935 GB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.4634, allocations: 351 kB / 0.4938 GB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4634, allocations: 8 kB / 0.4938 GB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.4634, allocations: 1.875 kB / 0.4938 GB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.4635, allocations: 7.984 kB / 0.4938 GB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.4647, allocations: 0.8821 MB / 0.4947 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4647, allocations: 0 / 0.4947 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.465, allocations: 75.23 kB / 0.4948 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.4652, allocations: 61.95 kB / 0.4948 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.4653, allocations: 11.86 kB / 0.4948 GB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.4667, allocations: 1.622 MB / 0.4964 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4667, allocations: 0 / 0.4964 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007906/0.4675, allocations: 0.614 MB / 0.497 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.4676, allocations: 147.8 kB / 0.4972 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.4677, allocations: 4.062 kB / 0.4972 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.468, allocations: 43.95 kB / 0.4972 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4682, allocations: 43.03 kB / 0.4973 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.4682, allocations: 19.89 kB / 0.4973 GB, free: 14.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002052/0.4684, allocations: 206.6 kB / 0.4975 GB, free: 14.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4684, allocations: 0 / 0.4975 GB, free: 14.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009104/0.4693, allocations: 215.3 kB / 0.4977 GB, free: 14.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.diode.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y_last,meanVoltage.y_last) * 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 (36): * Single equations (assignments): 29 * 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.001116/0.4705, allocations: 1.235 MB / 0.4989 GB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.4717, allocations: 0.8412 MB / 0.4997 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4717, allocations: 3.938 kB / 0.4997 GB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.472, allocations: 292.3 kB / 0.5 GB, free: 12.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.4725, allocations: 66.31 kB / 0.5001 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.4742, allocations: 0.778 MB / 0.5008 GB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.4746, allocations: 0.8636 MB / 0.5017 GB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002869/0.4749, allocations: 66.39 kB / 0.5017 GB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.4751, allocations: 164.1 kB / 0.5019 GB, free: 10.49 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.4751, allocations: 4 kB / 0.5019 GB, free: 10.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03874/0.5139, allocations: 9.773 MB / 0.5114 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.5142, allocations: 190.1 kB / 0.5116 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/2.834, allocations: 0 / 0.5116 GB, free: 0.6523 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat does not exist to compare? outputFormat=mat