Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001402, allocations: 171.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000938/0.0009377, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.839e-05, allocations: 0 / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08225/0.0823, allocations: 47.57 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3043/0.3867, allocations: 85.89 MB / 456 MB, free: 7.488 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.387, allocations: 90.81 kB / 456.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03598/0.423, allocations: 15.5 MB / 471.6 MB, free: 9.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4231, allocations: 0 / 471.6 MB, free: 9.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.802e-05/0.4231, allocations: 27.94 kB / 471.6 MB, free: 9.199 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001738/0.4249, allocations: 1.075 MB / 472.7 MB, free: 8.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4249, allocations: 8.031 kB / 472.7 MB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.4251, allocations: 139.5 kB / 472.9 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.4253, allocations: 118.6 kB / 473 MB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00096/0.4262, allocations: 0.6369 MB / 473.6 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/0.4263, allocations: 70 kB / 473.7 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.4264, allocations: 88 kB / 473.8 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.428, allocations: 0.9281 MB / 474.7 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.428, allocations: 8 kB / 474.7 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/0.4281, allocations: 36 kB / 474.7 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.4281, allocations: 20 kB / 474.7 MB, free: 5.922 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.4293, allocations: 0.6873 MB / 475.4 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004656/0.4339, allocations: 3.767 MB / 479.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.4351, allocations: 0.7821 MB / 480 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/0.4359, allocations: 463.6 kB / 480.4 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.821e-05/0.4359, allocations: 12.77 kB / 480.5 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000698/0.4366, allocations: 469.1 kB / 480.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 2.455e-06/0.4366, allocations: 0 / 480.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.001419/0.4381, allocations: 0.794 MB / 481.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.403e-05/0.4382, allocations: 115.6 kB / 481.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007254/0.4389, allocations: 0.5895 MB / 482.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.439, allocations: 41.7 kB / 482.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.4392, allocations: 372.5 kB / 482.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.4394, allocations: 248.5 kB / 483.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.4394, allocations: 16 kB / 483.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4396, allocations: 390.8 kB / 483.4 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.44, allocations: 241.8 kB / 483.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/0.4405, allocations: 392.5 kB / 484.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.4409, allocations: 287.8 kB / 484.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4409, allocations: 0 / 484.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001382/0.4423, allocations: 0.9125 MB / 485.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004083/0.4428, allocations: 1.35 MB / 486.6 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4428, allocations: 4 kB / 486.6 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000748/0.4435, allocations: 290.2 kB / 486.9 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.444, allocations: 107.8 kB / 487 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/0.4485, allocations: 4.565 MB / 491.6 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.4491, allocations: 99.28 kB / 491.7 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.4492, allocations: 32 kB / 491.7 MB, free: 4.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.4492, allocations: 4 kB / 491.7 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/0.4505, allocations: 0.83 MB / 492.5 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4505, allocations: 4 kB / 492.5 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006636/0.4512, allocations: 286.2 kB / 492.8 MB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.4516, allocations: 104 kB / 492.9 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004515/0.4561, allocations: 4.565 MB / 497.5 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006106/0.4567, allocations: 75.42 kB / 497.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.4568, allocations: 31.94 kB / 497.6 MB, free: 14.11 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: 32 ($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,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.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 (70): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002463/0.4571, allocations: 180.9 kB / 497.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.4572, allocations: 86.91 kB / 497.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.4575, allocations: 100.4 kB / 497.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4575, allocations: 8 kB / 498 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4575, allocations: 0 / 498 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.4575, allocations: 3.984 kB / 498 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.4601, allocations: 1.93 MB / 499.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4601, allocations: 4 kB / 499.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.4604, allocations: 79.89 kB / 500 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006842/0.4611, allocations: 289.4 kB / 0.4885 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/0.4612, allocations: 16 kB / 0.4885 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00439/0.4656, allocations: 4.545 MB / 0.493 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4656, allocations: 8.031 kB / 0.493 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.4675, allocations: 1.3 MB / 0.4943 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.4678, allocations: 255.9 kB / 0.4945 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.586e-05/0.4679, allocations: 23.92 kB / 0.4945 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.4684, allocations: 47.91 kB / 0.4946 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.4686, allocations: 80.66 kB / 0.4946 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.4686, allocations: 20 kB / 0.4947 GB, free: 4.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005681/0.4692, allocations: 463.2 kB / 0.4951 GB, free: 4.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4692, allocations: 0 / 0.4951 GB, free: 4.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001298/0.4705, allocations: 455.1 kB / 0.4955 GB, free: 3.863 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * Number of discrete variables: 26 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002171/0.4727, allocations: 1.895 MB / 0.4974 GB, free: 1.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003243/0.476, allocations: 1.939 MB / 0.4993 GB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.476, allocations: 0 / 0.4993 GB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.4771, allocations: 0.7327 MB / 0.5 GB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008966/0.478, allocations: 155.3 kB / 0.5002 GB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.481, allocations: 1.391 MB / 0.5015 GB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.4816, allocations: 1.024 MB / 0.5025 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004836/0.4821, allocations: 114.6 kB / 0.5026 GB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/0.4825, allocations: 300.2 kB / 0.5029 GB, free: 12.11 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4825, allocations: 0 / 0.5029 GB, free: 12.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04239/0.5249, allocations: 23.88 MB / 0.5262 GB, free: 4.195 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.5252, allocations: 206.5 kB / 0.5264 GB, free: 3.965 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/3.203, allocations: 4 kB / 0.5264 GB, free: 3.961 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_RL.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat does not exist to compare? outputFormat=mat