Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_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_TrianglePWM_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_TrianglePWM_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_TrianglePWM_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.001599/0.001599, 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.345/1.345, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009416/0.0009417, allocations: 100.7 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002088/0.0002089, allocations: 8 kB / 358 MB, free: 9.414 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2096, allocations: 51.47 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.3165, allocations: 89.37 MB / 498.9 MB, free: 1.223 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.3168, allocations: 95.92 kB / 499 MB, free: 1.129 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.218/0.5348, allocations: 18.88 MB / 0.5057 GB, free: 88.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5349, allocations: 0 / 0.5057 GB, free: 88.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001234/0.535, allocations: 25.03 kB / 0.5057 GB, free: 88.72 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.003484/0.5385, allocations: 1.259 MB / 0.507 GB, free: 88.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.5386, allocations: 11.97 kB / 0.507 GB, free: 88.03 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000363/0.5389, allocations: 144 kB / 0.5071 GB, free: 87.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.5393, allocations: 124.6 kB / 0.5072 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.5405, allocations: 0.671 MB / 0.5079 GB, free: 87.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.5406, allocations: 73.16 kB / 0.508 GB, free: 87.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.5407, allocations: 95.16 kB / 0.5081 GB, free: 87.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.5424, allocations: 1.04 MB / 0.5091 GB, free: 87.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.5425, allocations: 3.812 kB / 0.5091 GB, free: 87.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.5425, allocations: 39.28 kB / 0.5091 GB, free: 87.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.5426, allocations: 24.16 kB / 0.5091 GB, free: 87.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.5442, allocations: 0.8392 MB / 0.51 GB, free: 87.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004339/0.5485, allocations: 3.909 MB / 0.5138 GB, free: 86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.5498, allocations: 0.8919 MB / 0.5146 GB, free: 85.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.5499, allocations: 7.875 kB / 0.5146 GB, free: 85.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007592/0.5507, allocations: 0.5243 MB / 0.5152 GB, free: 85.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=88): time 2.595e-06/0.5507, allocations: 0 / 0.5152 GB, free: 85.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.003504/0.5542, allocations: 1.714 MB / 0.5168 GB, free: 84.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.5542, allocations: 117.6 kB / 0.5169 GB, free: 84.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/0.5549, allocations: 0.6397 MB / 0.5176 GB, free: 84.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.555, allocations: 49.08 kB / 0.5176 GB, free: 84.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.5552, allocations: 382.7 kB / 0.518 GB, free: 83.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.5553, allocations: 263.5 kB / 0.5182 GB, free: 83.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.5554, allocations: 15.09 kB / 0.5182 GB, free: 83.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.5555, allocations: 393.3 kB / 0.5186 GB, free: 83.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/0.556, allocations: 316.6 kB / 0.5189 GB, free: 83.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/0.5566, allocations: 481.7 kB / 0.5194 GB, free: 82.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.5572, allocations: 362.4 kB / 0.5197 GB, free: 82.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5572, allocations: 0 / 0.5197 GB, free: 82.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001592/0.5588, allocations: 1.089 MB / 0.5208 GB, free: 82.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002374/0.559, allocations: 1.591 MB / 0.5223 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.5591, allocations: 11.72 kB / 0.5224 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006981/0.5598, allocations: 299.3 kB / 0.5226 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.5602, allocations: 126.2 kB / 0.5228 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003837/0.5641, allocations: 4.664 MB / 0.5273 GB, free: 76.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006338/0.5647, allocations: 116.2 kB / 0.5274 GB, free: 76.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.5648, allocations: 24.84 kB / 0.5275 GB, free: 76.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.5648, allocations: 3.969 kB / 0.5275 GB, free: 76.57 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00143/0.5662, allocations: 0.9716 MB / 0.5284 GB, free: 76.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5663, allocations: 6.906 kB / 0.5284 GB, free: 76.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/0.5669, allocations: 293.7 kB / 0.5287 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.5673, allocations: 123 kB / 0.5288 GB, free: 76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.5711, allocations: 4.677 MB / 0.5334 GB, free: 72.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/0.5719, allocations: 104.3 kB / 0.5335 GB, free: 72.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.5719, allocations: 25.53 kB / 0.5335 GB, free: 72.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 38 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y_last,meanCurrent.y_last,$PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.zeroOrderHold.firstTrigger,zeroOrderHold.firstTrigger,$whenCondition3,$whenCondition2,$whenCondition1,zeroOrderHold.sampleTrigger,$PRE.zeroOrderHold.ySample,$whenCondition5,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition4,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.triangle.T_start,signalPWM.triangle.T_start,$PRE.signalPWM.triangle.count,signalPWM.triangle.count,zeroOrderHold.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * 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.0005938/0.5725, allocations: 353.9 kB / 0.5338 GB, free: 71.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.5727, allocations: 91.08 kB / 0.5339 GB, free: 71.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.573, allocations: 108.2 kB / 0.534 GB, free: 71.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.573, allocations: 10.95 kB / 0.534 GB, free: 71.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.573, allocations: 0 / 0.534 GB, free: 71.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.573, allocations: 7.516 kB / 0.534 GB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/0.5761, allocations: 2.122 MB / 0.5361 GB, free: 69.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5761, allocations: 0 / 0.5361 GB, free: 69.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.5765, allocations: 96.91 kB / 0.5362 GB, free: 69.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006419/0.5772, allocations: 287.7 kB / 0.5365 GB, free: 69.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/0.5772, allocations: 19.94 kB / 0.5365 GB, free: 69.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003879/0.5811, allocations: 4.646 MB / 0.541 GB, free: 64.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5811, allocations: 0 / 0.541 GB, free: 64.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.5834, allocations: 1.51 MB / 0.5425 GB, free: 63.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/0.5838, allocations: 265.8 kB / 0.5428 GB, free: 63.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.5839, allocations: 16 kB / 0.5428 GB, free: 63.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005293/0.5845, allocations: 66.02 kB / 0.5429 GB, free: 63.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.5847, allocations: 95.2 kB / 0.5429 GB, free: 63.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/0.5847, allocations: 23.94 kB / 0.543 GB, free: 63.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005585/0.5853, allocations: 0.4982 MB / 0.5435 GB, free: 62.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5853, allocations: 0 / 0.5435 GB, free: 62.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0014/0.5867, allocations: 467.1 kB / 0.5439 GB, free: 62.19 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: 30 (signalPWM.zeroOrderHold.sampleTrigger,zeroOrderHold.sampleTrigger,$whenCondition5,$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.triangle.T_start,signalPWM.triangle.count,meanCurrent.y_last,meanVoltage.y_last,zeroOrderHold.firstTrigger,zeroOrderHold.ySample) * Number of discrete states: 5 (signalPWM.triangle.count,meanCurrent.x,meanVoltage.x,zeroOrderHold.ySample,signalPWM.zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002322/0.589, allocations: 2.094 MB / 0.5459 GB, free: 60.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002923/0.592, allocations: 2.139 MB / 0.548 GB, free: 58.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.592, allocations: 8.062 kB / 0.548 GB, free: 58.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009717/0.593, allocations: 0.8057 MB / 0.5488 GB, free: 57.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.5937, allocations: 173.8 kB / 0.549 GB, free: 57.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.5975, allocations: 5.22 MB / 0.5541 GB, free: 52.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.5979, allocations: 1.044 MB / 0.5551 GB, free: 51.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003539/0.5983, allocations: 94.34 kB / 0.5552 GB, free: 51.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.5986, allocations: 319.9 kB / 0.5555 GB, free: 50.87 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5986, allocations: 4 kB / 0.5555 GB, free: 50.87 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.6335, allocations: 24 MB / 0.5789 GB, free: 28.23 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.6337, allocations: 242.7 kB / 0.5792 GB, free: 27.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/3.235, allocations: 0 / 0.5792 GB, free: 27.98 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_TrianglePWM_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_TrianglePWM_RL.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe 2>&1)