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.001357/0.001357, allocations: 199.1 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 227.2 MB / 245 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008397/0.0008397, allocations: 96.53 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002377/0.0002377, allocations: 8 kB / 358 MB, free: 9.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2068, allocations: 51.48 MB / 409.5 MB, free: 26.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09977/0.3066, allocations: 87.86 MB / 497.4 MB, free: 2.676 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.3069, allocations: 91.94 kB / 497.5 MB, free: 2.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02632/0.3332, allocations: 10.27 MB / 0.4958 GB, free: 8.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3333, allocations: 0 / 0.4958 GB, free: 8.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.3333, allocations: 15.98 kB / 0.4959 GB, free: 8.242 MB / 378.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.001357/0.3347, allocations: 0.8415 MB / 0.4967 GB, free: 7.344 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3347, allocations: 12.02 kB / 0.4967 GB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.569e-05/0.3348, allocations: 86.52 kB / 0.4968 GB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.912e-05/0.3349, allocations: 67.2 kB / 0.4968 GB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.3355, allocations: 391.6 kB / 0.4972 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.3355, allocations: 33 kB / 0.4972 GB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.924e-05/0.3356, allocations: 55.94 kB / 0.4973 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/0.3365, allocations: 0.5084 MB / 0.4978 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3365, allocations: 7.938 kB / 0.4978 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.3365, allocations: 16 kB / 0.4978 GB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3366, allocations: 12 kB / 0.4978 GB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/0.3374, allocations: 395.7 kB / 0.4982 GB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.3398, allocations: 1.792 MB / 0.4999 GB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.3408, allocations: 458.6 kB / 0.5004 GB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.3409, allocations: 7.984 kB / 0.5004 GB, free: 3.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00054/0.3414, allocations: 292.6 kB / 0.5007 GB, free: 3.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.3415, allocations: 7.875 kB / 0.5007 GB, free: 3.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001607/0.3431, allocations: 0.717 MB / 0.5014 GB, free: 2.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.3431, allocations: 110.8 kB / 0.5015 GB, free: 2.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.3435, allocations: 336.8 kB / 0.5018 GB, free: 1.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.3435, allocations: 37.7 kB / 0.5018 GB, free: 1.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.3437, allocations: 256.2 kB / 0.5021 GB, free: 1.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.596e-05/0.3438, allocations: 126.2 kB / 0.5022 GB, free: 1.418 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.3438, allocations: 12 kB / 0.5022 GB, free: 1.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.344, allocations: 358.7 kB / 0.5026 GB, free: 1.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.3443, allocations: 153 kB / 0.5027 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.3447, allocations: 280 kB / 0.503 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.3451, allocations: 205.2 kB / 0.5032 GB, free: 376 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3451, allocations: 4 kB / 0.5032 GB, free: 372 kB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.1775/0.5226, allocations: 0.5485 MB / 0.5037 GB, free: 92.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003078/0.523, allocations: 1.336 MB / 0.505 GB, free: 91.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.523, allocations: 3.344 kB / 0.505 GB, free: 91.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003549/0.5234, allocations: 73.61 kB / 0.5051 GB, free: 91.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.5239, allocations: 91.27 kB / 0.5052 GB, free: 91.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.5257, allocations: 1.711 MB / 0.5068 GB, free: 90.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.5262, allocations: 64.92 kB / 0.5069 GB, free: 90.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/0.5263, allocations: 18.61 kB / 0.5069 GB, free: 90.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.5263, allocations: 3.125 kB / 0.5069 GB, free: 90.04 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001062/0.5274, allocations: 485.5 kB / 0.5074 GB, free: 90 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.5274, allocations: 3.719 kB / 0.5074 GB, free: 90 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.5277, allocations: 71.16 kB / 0.5075 GB, free: 89.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.5281, allocations: 94 kB / 0.5076 GB, free: 89.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.5294, allocations: 1.711 MB / 0.5092 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.5298, allocations: 56.14 kB / 0.5093 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.5299, allocations: 17.86 kB / 0.5093 GB, free: 88.66 MB / 378.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 () * Number of clocked 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.0003083/0.5302, allocations: 266.6 kB / 0.5095 GB, free: 88.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-05/0.5303, allocations: 48.02 kB / 0.5096 GB, free: 88.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009701/0.5313, allocations: 485.1 kB / 0.5101 GB, free: 88.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5313, allocations: 4.312 kB / 0.5101 GB, free: 88.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5313, allocations: 8.094 kB / 0.5101 GB, free: 88.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5313, allocations: 2.062 kB / 0.5101 GB, free: 88.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.533, allocations: 1.046 MB / 0.5111 GB, free: 88.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.533, allocations: 1.375 kB / 0.5111 GB, free: 88.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.5334, allocations: 68.66 kB / 0.5112 GB, free: 88.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002017/0.5336, allocations: 70.95 kB / 0.5112 GB, free: 88.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.5336, allocations: 15.16 kB / 0.5112 GB, free: 88.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.5349, allocations: 1.704 MB / 0.5129 GB, free: 86.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5349, allocations: 0 / 0.5129 GB, free: 86.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.5364, allocations: 0.7575 MB / 0.5136 GB, free: 86.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.5366, allocations: 153 kB / 0.5138 GB, free: 86.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/0.5367, allocations: 13.56 kB / 0.5138 GB, free: 86.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.537, allocations: 42.31 kB / 0.5138 GB, free: 86.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.5371, allocations: 44.81 kB / 0.5139 GB, free: 86.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.5372, allocations: 17.47 kB / 0.5139 GB, free: 86.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002413/0.5374, allocations: 258.3 kB / 0.5141 GB, free: 86.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5374, allocations: 0 / 0.5141 GB, free: 86.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008816/0.5383, allocations: 242.1 kB / 0.5144 GB, free: 86.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * 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.001364/0.5397, allocations: 1.323 MB / 0.5157 GB, free: 85.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.5412, allocations: 1.006 MB / 0.5167 GB, free: 84.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5412, allocations: 8.375 kB / 0.5167 GB, free: 84.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.5417, allocations: 346.8 kB / 0.517 GB, free: 84.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.5421, allocations: 82.36 kB / 0.5171 GB, free: 84.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.5446, allocations: 3.743 MB / 0.5207 GB, free: 81.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.5449, allocations: 0.861 MB / 0.5216 GB, free: 80.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002297/0.5451, allocations: 48.3 kB / 0.5216 GB, free: 80.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.5453, allocations: 165.5 kB / 0.5218 GB, free: 80.43 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5453, allocations: 0 / 0.5218 GB, free: 80.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.5692, allocations: 10.55 MB / 0.5321 GB, free: 76.25 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.5694, allocations: 246.2 kB / 0.5323 GB, free: 76.01 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.681, allocations: 0 / 0.5323 GB, free: 76.01 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