Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.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.HBridge.HBridge_RL,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001288/0.001288, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 227.2 MB / 245 MB, free: 7.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008533/0.0008533, allocations: 97.05 kB / 297.2 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002092/0.0002092, allocations: 4 kB / 358 MB, free: 9.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.213, allocations: 51.49 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.3134, allocations: 89.19 MB / 498.7 MB, free: 1.406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.3137, allocations: 87.94 kB / 498.8 MB, free: 1.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04147/0.3552, allocations: 16.21 MB / 0.5029 GB, free: 1.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3553, allocations: 0 / 0.5029 GB, free: 1.004 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.307e-05/0.3554, allocations: 24 kB / 0.503 GB, free: 0.9805 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.1779/0.5333, allocations: 1.182 MB / 0.5041 GB, free: 87.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.5334, allocations: 9.953 kB / 0.5041 GB, free: 87.84 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004766/0.5338, allocations: 140.9 kB / 0.5043 GB, free: 87.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003838/0.5342, allocations: 120.1 kB / 0.5044 GB, free: 87.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.5357, allocations: 0.6555 MB / 0.505 GB, free: 87.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.11e-05/0.5357, allocations: 69.39 kB / 0.5051 GB, free: 87.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.5359, allocations: 92.42 kB / 0.5052 GB, free: 87.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.5381, allocations: 0.9779 MB / 0.5061 GB, free: 87.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.5381, allocations: 5.875 kB / 0.5061 GB, free: 87.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/0.5382, allocations: 39.77 kB / 0.5062 GB, free: 87.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.5382, allocations: 25.45 kB / 0.5062 GB, free: 87.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.5398, allocations: 0.7566 MB / 0.5069 GB, free: 87.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004703/0.5445, allocations: 3.824 MB / 0.5107 GB, free: 85.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.546, allocations: 0.7991 MB / 0.5114 GB, free: 85.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-05/0.5461, allocations: 9.375 kB / 0.5115 GB, free: 85.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006929/0.5468, allocations: 474.8 kB / 0.5119 GB, free: 85.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=83): time 2.204e-06/0.5468, allocations: 0 / 0.5119 GB, free: 85.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.003338/0.5501, allocations: 1.575 MB / 0.5134 GB, free: 84.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.5502, allocations: 116 kB / 0.5136 GB, free: 84.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006656/0.5508, allocations: 0.6163 MB / 0.5142 GB, free: 84.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.5509, allocations: 49.25 kB / 0.5142 GB, free: 84.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.5511, allocations: 372.7 kB / 0.5146 GB, free: 84.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.5513, allocations: 249.2 kB / 0.5148 GB, free: 84.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.5513, allocations: 15.94 kB / 0.5148 GB, free: 84.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.5514, allocations: 392.8 kB / 0.5152 GB, free: 83.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.5518, allocations: 268 kB / 0.5154 GB, free: 83.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/0.5524, allocations: 420.4 kB / 0.5158 GB, free: 83.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004774/0.5528, allocations: 314.7 kB / 0.5161 GB, free: 83.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5529, allocations: 0 / 0.5161 GB, free: 83.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001372/0.5542, allocations: 0.9701 MB / 0.5171 GB, free: 82.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002462/0.5545, allocations: 1.343 MB / 0.5184 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.5545, allocations: 0 / 0.5184 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/0.5552, allocations: 290.7 kB / 0.5187 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.5556, allocations: 106.5 kB / 0.5188 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004068/0.5597, allocations: 4.667 MB / 0.5233 GB, free: 77.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.5603, allocations: 93.52 kB / 0.5234 GB, free: 77.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.5604, allocations: 28.62 kB / 0.5235 GB, free: 77.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.5604, allocations: 7.406 kB / 0.5235 GB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001235/0.5616, allocations: 0.8556 MB / 0.5243 GB, free: 76.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5616, allocations: 5.781 kB / 0.5243 GB, free: 76.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006182/0.5623, allocations: 289.9 kB / 0.5246 GB, free: 76.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.5626, allocations: 100 kB / 0.5247 GB, free: 76.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003865/0.5665, allocations: 4.672 MB / 0.5292 GB, free: 72.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.567, allocations: 86.77 kB / 0.5293 GB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.5671, allocations: 29.5 kB / 0.5293 GB, free: 72.91 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_last,meanCurrent.y_last,$PRE.meanVoltage.y_last,meanVoltage.y_last,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.fire_n,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.fire_n,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 () * Number of clocked 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.0005171/0.5676, allocations: 351.3 kB / 0.5297 GB, free: 72.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.5677, allocations: 90.62 kB / 0.5298 GB, free: 72.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.5679, allocations: 96.22 kB / 0.5299 GB, free: 72.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.5679, allocations: 10.44 kB / 0.5299 GB, free: 72.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5679, allocations: 4 kB / 0.5299 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.568, allocations: 6.375 kB / 0.5299 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.5704, allocations: 1.967 MB / 0.5318 GB, free: 71.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5704, allocations: 0 / 0.5318 GB, free: 71.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.5707, allocations: 77.28 kB / 0.5319 GB, free: 71.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006405/0.5714, allocations: 281.1 kB / 0.5321 GB, free: 71.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.5715, allocations: 18.2 kB / 0.5322 GB, free: 71.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003971/0.5754, allocations: 4.65 MB / 0.5367 GB, free: 67.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5755, allocations: 0 / 0.5367 GB, free: 67.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.5774, allocations: 1.351 MB / 0.538 GB, free: 66.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003826/0.5778, allocations: 253.4 kB / 0.5383 GB, free: 65.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.425e-05/0.5779, allocations: 16 kB / 0.5383 GB, free: 65.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.5783, allocations: 46.61 kB / 0.5383 GB, free: 65.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.5785, allocations: 81.72 kB / 0.5384 GB, free: 65.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.5786, allocations: 23 kB / 0.5384 GB, free: 65.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005309/0.5791, allocations: 486.2 kB / 0.5389 GB, free: 65.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.5791, allocations: 0 / 0.5389 GB, free: 65.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001339/0.5805, allocations: 455 kB / 0.5393 GB, free: 64.82 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.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.fire_n,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.fire_n,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_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 (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.002092/0.5826, allocations: 1.956 MB / 0.5412 GB, free: 62.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.5854, allocations: 1.981 MB / 0.5432 GB, free: 61.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.5854, allocations: 4.875 kB / 0.5432 GB, free: 61.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009727/0.5864, allocations: 0.7496 MB / 0.5439 GB, free: 60.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/0.5872, allocations: 171.8 kB / 0.5441 GB, free: 60.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.5907, allocations: 4.656 MB / 0.5486 GB, free: 55.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.5912, allocations: 1.03 MB / 0.5496 GB, free: 54.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.5915, allocations: 88.47 kB / 0.5497 GB, free: 54.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.5918, allocations: 311.7 kB / 0.55 GB, free: 54.38 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5919, allocations: 0 / 0.55 GB, free: 54.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.6275, allocations: 23.01 MB / 0.5725 GB, free: 33.57 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.6277, allocations: 233.3 kB / 0.5727 GB, free: 33.33 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.14, allocations: 0 / 0.5727 GB, free: 33.33 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_RL.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat does not exist to compare? outputFormat=mat