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.001319/0.00132, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009173/0.0009173, allocations: 94.3 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.378e-05, allocations: 4 kB / 350.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 51.49 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/0.4464, allocations: 87.8 MB / 489.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4467, allocations: 85.33 kB / 490 MB, free: 1.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02751/0.4742, allocations: 10.25 MB / 0.4885 GB, free: 9.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4742, allocations: 0 / 0.4885 GB, free: 9.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.615e-05/0.4743, allocations: 12 kB / 0.4886 GB, free: 9.02 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.001542/0.4758, allocations: 0.7785 MB / 0.4893 GB, free: 8.199 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4759, allocations: 12.03 kB / 0.4893 GB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/0.476, allocations: 86.12 kB / 0.4894 GB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.4762, allocations: 63.25 kB / 0.4895 GB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.4768, allocations: 388.5 kB / 0.4898 GB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.4768, allocations: 37 kB / 0.4899 GB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.937e-05/0.4769, allocations: 55.98 kB / 0.4899 GB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007875/0.4777, allocations: 472.8 kB / 0.4904 GB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.4777, allocations: 7.844 kB / 0.4904 GB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.4778, allocations: 20.69 kB / 0.4904 GB, free: 7.012 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.4778, allocations: 12 kB / 0.4904 GB, free: 7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005442/0.4783, allocations: 303.9 kB / 0.4907 GB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.4809, allocations: 1.795 MB / 0.4925 GB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008322/0.4818, allocations: 384 kB / 0.4928 GB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/0.4822, allocations: 208.8 kB / 0.493 GB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.4822, allocations: 4 kB / 0.493 GB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004168/0.4827, allocations: 252 kB / 0.4933 GB, free: 3.969 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.023e-06/0.4827, allocations: 4 kB / 0.4933 GB, free: 3.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006692/0.4833, allocations: 365.3 kB / 0.4936 GB, free: 3.598 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.4834, allocations: 118.8 kB / 0.4937 GB, free: 3.457 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.4838, allocations: 330.8 kB / 0.4941 GB, free: 3.129 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.4839, allocations: 39.3 kB / 0.4941 GB, free: 3.086 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.484, allocations: 252.2 kB / 0.4943 GB, free: 2.832 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.89e-05/0.4841, allocations: 122.3 kB / 0.4945 GB, free: 2.711 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.4842, allocations: 12 kB / 0.4945 GB, free: 2.699 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4843, allocations: 358.7 kB / 0.4948 GB, free: 2.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.4845, allocations: 113.1 kB / 0.4949 GB, free: 2.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.4848, allocations: 240.1 kB / 0.4951 GB, free: 1.941 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.485, allocations: 157.4 kB / 0.4953 GB, free: 1.781 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.485, allocations: 0 / 0.4953 GB, free: 1.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007399/0.4858, allocations: 486.7 kB / 0.4958 GB, free: 1.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004215/0.4862, allocations: 1.338 MB / 0.4971 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.4862, allocations: 5.406 kB / 0.4971 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002609/0.4865, allocations: 68.86 kB / 0.4971 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.4869, allocations: 103.8 kB / 0.4972 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.4883, allocations: 1.684 MB / 0.4989 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.4887, allocations: 68.25 kB / 0.4989 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.4887, allocations: 16 kB / 0.499 GB, free: 13.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.4888, allocations: 4 kB / 0.499 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006361/0.4894, allocations: 425.7 kB / 0.4994 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4894, allocations: 7.953 kB / 0.4994 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.4896, allocations: 72.81 kB / 0.4994 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.4899, allocations: 92.3 kB / 0.4995 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.4913, allocations: 1.685 MB / 0.5012 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.4917, allocations: 59.56 kB / 0.5012 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.4917, allocations: 16 kB / 0.5013 GB, free: 11.28 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 () * 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.0001453/0.4919, allocations: 151.2 kB / 0.5014 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.492, allocations: 47.52 kB / 0.5014 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006658/0.4926, allocations: 396 kB / 0.5018 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4927, allocations: 4 kB / 0.5018 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.4927, allocations: 0 / 0.5018 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4927, allocations: 7.984 kB / 0.5018 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.494, allocations: 0.9879 MB / 0.5028 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.494, allocations: 0 / 0.5028 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.4944, allocations: 77.64 kB / 0.5029 GB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000203/0.4946, allocations: 71.58 kB / 0.5029 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.4946, allocations: 12 kB / 0.5029 GB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.4961, allocations: 1.679 MB / 0.5046 GB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4961, allocations: 4.031 kB / 0.5046 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.4971, allocations: 0.6323 MB / 0.5052 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.4973, allocations: 164.4 kB / 0.5054 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.397e-05/0.4973, allocations: 12 kB / 0.5054 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.4977, allocations: 35.97 kB / 0.5054 GB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.4978, allocations: 44.03 kB / 0.5055 GB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.4979, allocations: 19.98 kB / 0.5055 GB, free: 6.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003203/0.4982, allocations: 257.2 kB / 0.5057 GB, free: 6.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4982, allocations: 0 / 0.5057 GB, free: 6.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008364/0.4991, allocations: 243.4 kB / 0.5059 GB, free: 6.215 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.001195/0.5003, allocations: 1.282 MB / 0.5072 GB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.5015, allocations: 0.9053 MB / 0.5081 GB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5015, allocations: 0.9375 kB / 0.5081 GB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.5019, allocations: 302.3 kB / 0.5084 GB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.5023, allocations: 79.27 kB / 0.5085 GB, free: 3.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.5039, allocations: 0.8375 MB / 0.5093 GB, free: 2.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.5043, allocations: 0.8603 MB / 0.5101 GB, free: 1.781 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003058/0.5046, allocations: 71.41 kB / 0.5102 GB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.5048, allocations: 167.4 kB / 0.5103 GB, free: 1.551 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5049, allocations: 0 / 0.5103 GB, free: 1.551 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.5324, allocations: 11.18 MB / 0.5213 GB, free: 6.746 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.5327, allocations: 214.8 kB / 0.5215 GB, free: 6.523 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/2.871, allocations: 2.953 kB / 0.5215 GB, free: 6.523 MB / 394.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