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.001531/0.001532, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000965/0.0009656, allocations: 101 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.304e-05/2.302e-05, allocations: 4 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.09981, allocations: 51.48 MB / 395.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3237/0.4235, allocations: 88.47 MB / 483.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.4238, allocations: 78.39 kB / 483.8 MB, free: 4.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03685/0.4607, allocations: 16.03 MB / 499.9 MB, free: 7.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4608, allocations: 0 / 499.9 MB, free: 7.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.742e-05/0.4608, allocations: 31.94 kB / 499.9 MB, free: 7.309 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001887/0.4627, allocations: 1.089 MB / 0.4892 GB, free: 6.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4628, allocations: 8.031 kB / 0.4892 GB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.463, allocations: 122.3 kB / 0.4894 GB, free: 6.105 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009426/0.4639, allocations: 0.648 MB / 0.49 GB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.464, allocations: 28 kB / 0.49 GB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.4641, allocations: 56 kB / 0.4901 GB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001245/0.4654, allocations: 0.6427 MB / 0.4907 GB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.4668, allocations: 0.8258 MB / 0.4915 GB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.4669, allocations: 3.188 kB / 0.4915 GB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/0.467, allocations: 4 kB / 0.4915 GB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.467, allocations: 24.34 kB / 0.4915 GB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005162/0.4722, allocations: 3.616 MB / 0.4951 GB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.4733, allocations: 0.7324 MB / 0.4958 GB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006717/0.474, allocations: 438.5 kB / 0.4962 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.345e-05/0.474, allocations: 8.781 kB / 0.4962 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006796/0.4747, allocations: 425.7 kB / 0.4966 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 3.417e-06/0.4747, allocations: 0 / 0.4966 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.0013/0.476, allocations: 0.7303 MB / 0.4973 GB, free: 56 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.4762, allocations: 119.6 kB / 0.4974 GB, free: 15.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005912/0.4768, allocations: 446 kB / 0.4979 GB, free: 15.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/0.4768, allocations: 29.7 kB / 0.4979 GB, free: 15.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.4771, allocations: 380.4 kB / 0.4983 GB, free: 15.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.4773, allocations: 236.5 kB / 0.4985 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.4774, allocations: 0 / 0.4985 GB, free: 14.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4775, allocations: 382.8 kB / 0.4988 GB, free: 14.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.4779, allocations: 230.1 kB / 0.4991 GB, free: 14.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.4784, allocations: 376.7 kB / 0.4994 GB, free: 13.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.4788, allocations: 244.5 kB / 0.4997 GB, free: 13.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4788, allocations: 0 / 0.4997 GB, free: 13.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001326/0.4801, allocations: 0.8059 MB / 0.5004 GB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005269/0.4807, allocations: 1.336 MB / 0.5017 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4807, allocations: 4 kB / 0.5018 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008081/0.4815, allocations: 279.6 kB / 0.502 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.482, allocations: 115.8 kB / 0.5021 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004628/0.4866, allocations: 4.436 MB / 0.5065 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005987/0.4873, allocations: 59.61 kB / 0.5065 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.4873, allocations: 36 kB / 0.5066 GB, free: 6.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.4873, allocations: 4.781 kB / 0.5066 GB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/0.4885, allocations: 0.7075 MB / 0.5072 GB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.4886, allocations: 8 kB / 0.5073 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006523/0.4892, allocations: 275.2 kB / 0.5075 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.4896, allocations: 99.83 kB / 0.5076 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/0.4941, allocations: 4.426 MB / 0.5119 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.4946, allocations: 55.7 kB / 0.512 GB, free: 340 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.4947, allocations: 31.98 kB / 0.512 GB, free: 308 kB / 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 () * 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.00023/0.4949, allocations: 138 kB / 0.5121 GB, free: 164 kB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001155/0.4961, allocations: 0.7315 MB / 0.5129 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/0.4962, allocations: 71.16 kB / 0.5129 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.4964, allocations: 83.45 kB / 0.513 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4964, allocations: 8 kB / 0.513 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.4964, allocations: 0 / 0.513 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.4965, allocations: 3.984 kB / 0.513 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.4988, allocations: 1.747 MB / 0.5147 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4988, allocations: 0 / 0.5147 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.4992, allocations: 91.88 kB / 0.5148 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006868/0.4999, allocations: 271.5 kB / 0.5151 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.5, allocations: 4 kB / 0.5151 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004424/0.5044, allocations: 4.416 MB / 0.5194 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5044, allocations: 1.875 kB / 0.5194 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.5062, allocations: 1.23 MB / 0.5206 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.5066, allocations: 236.1 kB / 0.5208 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.951e-05/0.5067, allocations: 7.938 kB / 0.5208 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.5071, allocations: 35.97 kB / 0.5209 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.5073, allocations: 84.66 kB / 0.5209 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.5074, allocations: 20 kB / 0.521 GB, free: 6.801 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004114/0.5078, allocations: 327 kB / 0.5213 GB, free: 6.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5078, allocations: 0 / 0.5213 GB, free: 6.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001402/0.5092, allocations: 414.8 kB / 0.5217 GB, free: 6.074 MB / 394.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) * 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.002096/0.5113, allocations: 1.797 MB / 0.5234 GB, free: 4.238 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002842/0.5141, allocations: 1.821 MB / 0.5252 GB, free: 2.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5142, allocations: 0 / 0.5252 GB, free: 2.352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009498/0.5151, allocations: 0.7024 MB / 0.5259 GB, free: 1.633 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008904/0.516, allocations: 119.1 kB / 0.526 GB, free: 1.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.5195, allocations: 1.334 MB / 0.5273 GB, free: 148 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007743/0.5204, allocations: 1.027 MB / 0.5283 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005132/0.5209, allocations: 93.67 kB / 0.5284 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/0.5213, allocations: 287.3 kB / 0.5287 GB, free: 14.71 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5213, allocations: 0 / 0.5287 GB, free: 14.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/0.5662, allocations: 20.73 MB / 0.5489 GB, free: 10.16 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.5664, allocations: 156.5 kB / 0.5491 GB, free: 9.973 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/3.087, allocations: 0 / 0.5491 GB, free: 9.973 MB / 426.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