Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",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.001342/0.001342, allocations: 180.8 kB / 17.01 MB, free: 5.125 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.335/1.335, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009472/0.0009472, allocations: 94.14 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002987, allocations: 12 kB / 328.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3172, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.4273, allocations: 87.72 MB / 463.6 MB, free: 8.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.4276, allocations: 91.94 kB / 463.7 MB, free: 8.812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03003/0.4577, allocations: 10.92 MB / 474.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4577, allocations: 4 kB / 474.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.672e-05/0.4578, allocations: 12 kB / 474.7 MB, free: 13.82 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002222/0.46, allocations: 0.946 MB / 475.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.4601, allocations: 8.031 kB / 475.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002519/0.4603, allocations: 106.5 kB / 475.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.4606, allocations: 86.97 kB / 475.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009571/0.4616, allocations: 497.9 kB / 476.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.18e-05/0.4616, allocations: 49.3 kB / 476.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.4618, allocations: 67.98 kB / 476.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.4631, allocations: 0.6864 MB / 477.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.4631, allocations: 0 / 477.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.023e-05/0.4632, allocations: 24 kB / 477.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.4632, allocations: 16 kB / 477.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.4643, allocations: 0.5243 MB / 477.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/0.4685, allocations: 2.597 MB / 480.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.4696, allocations: 0.5701 MB / 480.8 MB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.4696, allocations: 8.438 kB / 480.8 MB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005662/0.4702, allocations: 345.6 kB / 481.2 MB, free: 7.031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=55): time 3.036e-06/0.4702, allocations: 0 / 481.2 MB, free: 7.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.002444/0.4727, allocations: 0.9769 MB / 482.2 MB, free: 6.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/0.4728, allocations: 124 kB / 482.3 MB, free: 5.883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00072/0.4735, allocations: 441 kB / 482.7 MB, free: 5.445 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.879e-05/0.4736, allocations: 45.69 kB / 482.7 MB, free: 5.395 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.4739, allocations: 308.4 kB / 483.1 MB, free: 5.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.474, allocations: 169.6 kB / 483.2 MB, free: 4.922 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.4741, allocations: 12 kB / 483.2 MB, free: 4.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.4743, allocations: 366.8 kB / 483.6 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.4747, allocations: 205.1 kB / 483.8 MB, free: 4.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.4752, allocations: 352.1 kB / 484.1 MB, free: 3.938 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.4756, allocations: 214.1 kB / 484.3 MB, free: 3.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.4757, allocations: 4 kB / 484.3 MB, free: 3.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001255/0.4769, allocations: 0.6824 MB / 485 MB, free: 3.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000778/0.4777, allocations: 1.575 MB / 486.6 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.4777, allocations: 4 kB / 486.6 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005119/0.4782, allocations: 154.8 kB / 486.8 MB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.4786, allocations: 91.77 kB / 486.8 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/0.4816, allocations: 2.367 MB / 489.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.4821, allocations: 87.5 kB / 489.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.4821, allocations: 24 kB / 489.3 MB, free: 14.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.4822, allocations: 5.875 kB / 489.3 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009917/0.4832, allocations: 0.576 MB / 489.9 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4832, allocations: 8.5 kB / 489.9 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000387/0.4836, allocations: 148.7 kB / 490.1 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.4839, allocations: 79.89 kB / 490.1 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/0.4868, allocations: 2.38 MB / 492.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/0.4873, allocations: 71.55 kB / 492.6 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.4873, allocations: 24 kB / 492.6 MB, free: 11.05 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: 27 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005041/0.4879, allocations: 309 kB / 492.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.488, allocations: 55.34 kB / 493 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.4882, allocations: 65.58 kB / 493 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.4882, allocations: 8 kB / 493 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4882, allocations: 3.953 kB / 493 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4882, allocations: 0 / 493 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.4905, allocations: 1.335 MB / 494.4 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4905, allocations: 0 / 494.4 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.4907, allocations: 51.91 kB / 494.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003942/0.4911, allocations: 136.7 kB / 494.6 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.4912, allocations: 19.98 kB / 494.6 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002851/0.494, allocations: 2.369 MB / 496.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.494, allocations: 0 / 496.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.4954, allocations: 0.9013 MB / 497.8 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.4957, allocations: 180.4 kB / 498 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.4958, allocations: 12 kB / 498 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.4962, allocations: 43.97 kB / 498.1 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.4964, allocations: 68.36 kB / 498.1 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.4965, allocations: 12 kB / 498.2 MB, free: 5.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005028/0.497, allocations: 342.9 kB / 498.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.497, allocations: 4 kB / 498.5 MB, free: 4.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001154/0.4982, allocations: 335.1 kB / 498.8 MB, free: 4.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001819/0.5, allocations: 1.456 MB / 0.4886 GB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002095/0.5021, allocations: 1.184 MB / 0.4897 GB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5021, allocations: 0 / 0.4897 GB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006635/0.5028, allocations: 444.1 kB / 0.4901 GB, free: 1.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.5033, allocations: 110.4 kB / 0.4902 GB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.194/0.6974, allocations: 4.476 MB / 0.4946 GB, free: 103.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.698, allocations: 0.943 MB / 0.4955 GB, free: 102.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004935/0.6986, allocations: 85.72 kB / 0.4956 GB, free: 102.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.6989, allocations: 222.2 kB / 0.4958 GB, free: 102.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.123e-06/0.6989, allocations: 0 / 0.4958 GB, free: 102.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.7319, allocations: 14.91 MB / 0.5104 GB, free: 99.58 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.7321, allocations: 260.9 kB / 0.5106 GB, free: 99.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.108, allocations: 0 / 0.5106 GB, free: 99.22 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat