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.00159/0.00159, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008546/0.0008546, allocations: 78.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.194e-05, allocations: 0 / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08909/0.08914, allocations: 47.59 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3169/0.4061, allocations: 85.47 MB / 448.7 MB, free: 9.934 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.4064, allocations: 84.02 kB / 448.7 MB, free: 9.887 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03691/0.4434, allocations: 15.34 MB / 464.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4434, allocations: 0 / 464.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.393e-05/0.4435, allocations: 24 kB / 464.1 MB, free: 13.21 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.001871/0.4454, allocations: 1.064 MB / 465.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4454, allocations: 12.03 kB / 465.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.4456, allocations: 114.7 kB / 465.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008889/0.4465, allocations: 0.6481 MB / 465.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.4465, allocations: 31.98 kB / 466 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4467, allocations: 52 kB / 466 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001064/0.4477, allocations: 0.6242 MB / 466.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.449, allocations: 0.8035 MB / 467.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4491, allocations: 4 kB / 467.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.078e-05/0.4491, allocations: 7.984 kB / 467.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/0.4492, allocations: 20 kB / 467.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.4535, allocations: 3.569 MB / 471.1 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009885/0.4545, allocations: 0.7394 MB / 471.8 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006428/0.4552, allocations: 442.3 kB / 472.2 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/0.4552, allocations: 8.781 kB / 472.2 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006386/0.4559, allocations: 419.3 kB / 472.6 MB, free: 6.652 MB / 346.7 MB Notification: Performance of pre-optimization done (n=83): time 2.916e-06/0.4559, allocations: 4 kB / 472.6 MB, free: 6.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=83): time 0.001225/0.4571, allocations: 0.7294 MB / 473.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.4572, allocations: 119 kB / 473.5 MB, free: 6.004 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000503/0.4577, allocations: 443.7 kB / 473.9 MB, free: 5.676 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.4578, allocations: 29.7 kB / 474 MB, free: 5.641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.458, allocations: 369.9 kB / 474.3 MB, free: 5.367 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.4582, allocations: 233.1 kB / 474.5 MB, free: 5.168 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.4582, allocations: 0 / 474.5 MB, free: 5.168 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4584, allocations: 378 kB / 474.9 MB, free: 4.816 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.4588, allocations: 230 kB / 475.1 MB, free: 4.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.4592, allocations: 383.4 kB / 475.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.4596, allocations: 241.4 kB / 475.7 MB, free: 4.258 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4596, allocations: 0 / 475.7 MB, free: 4.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001233/0.4608, allocations: 0.808 MB / 476.6 MB, free: 3.688 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005154/0.4613, allocations: 1.34 MB / 477.9 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.4614, allocations: 4 kB / 477.9 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00081/0.4622, allocations: 285.5 kB / 478.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.4626, allocations: 111.8 kB / 478.3 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004947/0.4676, allocations: 4.418 MB / 482.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006528/0.4683, allocations: 63.55 kB / 482.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.4684, allocations: 31.98 kB / 482.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.4684, allocations: 8 kB / 482.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001155/0.4695, allocations: 0.7032 MB / 483.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4695, allocations: 0 / 483.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007024/0.4703, allocations: 293.8 kB / 483.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.4707, allocations: 99.83 kB / 483.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004598/0.4753, allocations: 4.43 MB / 488.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005164/0.4758, allocations: 51.62 kB / 488.4 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.4759, allocations: 28 kB / 488.4 MB, free: 7.246 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: 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.0002448/0.4761, allocations: 142 kB / 488.5 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001178/0.4773, allocations: 0.716 MB / 489.3 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.436e-05/0.4774, allocations: 75.11 kB / 489.3 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.4776, allocations: 87.55 kB / 489.4 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.4777, allocations: 12 kB / 489.4 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.4777, allocations: 7.922 kB / 489.4 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.4777, allocations: 3.984 kB / 489.4 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.4801, allocations: 1.732 MB / 491.2 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.4801, allocations: 7.953 kB / 491.2 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.4805, allocations: 75.89 kB / 491.3 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006585/0.4812, allocations: 273.5 kB / 491.5 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.4813, allocations: 8 kB / 491.5 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00459/0.4859, allocations: 4.411 MB / 495.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4859, allocations: 0 / 495.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.4877, allocations: 1.222 MB / 497.2 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.4881, allocations: 228 kB / 497.4 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.4882, allocations: 15.94 kB / 497.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.4886, allocations: 23.97 kB / 497.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.4888, allocations: 84.66 kB / 497.5 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.4888, allocations: 31.88 kB / 497.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003822/0.4892, allocations: 319 kB / 497.8 MB, free: 13.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4892, allocations: 0 / 497.8 MB, free: 13.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001411/0.4906, allocations: 418.8 kB / 498.3 MB, free: 13.03 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.002073/0.4927, allocations: 1.79 MB / 0.4883 GB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002603/0.4953, allocations: 1.825 MB / 0.4901 GB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4954, allocations: 0 / 0.4901 GB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009478/0.4963, allocations: 0.6981 MB / 0.4908 GB, free: 8.594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.4969, allocations: 115 kB / 0.4909 GB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.4998, allocations: 1.306 MB / 0.4922 GB, free: 7.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.5004, allocations: 1.027 MB / 0.4932 GB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003955/0.5008, allocations: 93.61 kB / 0.4933 GB, free: 5.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.5012, allocations: 279.3 kB / 0.4935 GB, free: 5.699 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5012, allocations: 4 kB / 0.4935 GB, free: 5.695 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.5474, allocations: 20.49 MB / 0.5136 GB, free: 1.172 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.5477, allocations: 159.7 kB / 0.5137 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.239, allocations: 4 kB / 0.5137 GB, free: 0.9766 MB / 394.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