Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 179.7 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008651/0.0008649, allocations: 94.06 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002348/0.0002348, allocations: 4 kB / 351.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2234, allocations: 50.4 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1065/0.33, allocations: 89.01 MB / 490.6 MB, free: 7.422 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.3302, allocations: 84.98 kB / 490.7 MB, free: 7.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02962/0.3599, allocations: 11.42 MB / 0.4903 GB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3599, allocations: 4 kB / 0.4903 GB, free: 11.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.36, allocations: 16 kB / 0.4904 GB, free: 11.84 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001616/0.3616, allocations: 0.965 MB / 0.4913 GB, free: 10.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3616, allocations: 11.97 kB / 0.4913 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.3618, allocations: 110.5 kB / 0.4914 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.3619, allocations: 86.97 kB / 0.4915 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.3626, allocations: 497.9 kB / 0.492 GB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.3627, allocations: 57.3 kB / 0.492 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.299e-05/0.3628, allocations: 64 kB / 0.4921 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.3641, allocations: 0.7263 MB / 0.4928 GB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.3641, allocations: 0 / 0.4928 GB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.697e-05/0.3642, allocations: 31.98 kB / 0.4928 GB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.3642, allocations: 16 kB / 0.4928 GB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3652, allocations: 0.5516 MB / 0.4934 GB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/0.3689, allocations: 2.674 MB / 0.496 GB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008899/0.3698, allocations: 0.545 MB / 0.4965 GB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.3699, allocations: 4.438 kB / 0.4965 GB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005713/0.3704, allocations: 369.2 kB / 0.4969 GB, free: 4.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 1.693e-06/0.3705, allocations: 0 / 0.4969 GB, free: 4.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.002389/0.3729, allocations: 1.02 MB / 0.4979 GB, free: 3.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.3729, allocations: 141.1 kB / 0.498 GB, free: 3.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/0.3735, allocations: 453 kB / 0.4984 GB, free: 3.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.3736, allocations: 41.7 kB / 0.4985 GB, free: 3.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.3738, allocations: 324.3 kB / 0.4988 GB, free: 2.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.374, allocations: 165.7 kB / 0.4989 GB, free: 2.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.374, allocations: 16 kB / 0.499 GB, free: 2.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3741, allocations: 366.8 kB / 0.4993 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.3745, allocations: 201.2 kB / 0.4995 GB, free: 2.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.375, allocations: 373.6 kB / 0.4999 GB, free: 1.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.3754, allocations: 230 kB / 0.5001 GB, free: 1.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3754, allocations: 4 kB / 0.5001 GB, free: 1.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001152/0.3766, allocations: 0.7102 MB / 0.5008 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1976/0.5743, allocations: 1.565 MB / 0.5023 GB, free: 94.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.5743, allocations: 6.344 kB / 0.5023 GB, free: 94.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/0.575, allocations: 150.4 kB / 0.5025 GB, free: 94.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.5754, allocations: 94.09 kB / 0.5025 GB, free: 94.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.5781, allocations: 2.372 MB / 0.5049 GB, free: 93.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/0.5786, allocations: 95.58 kB / 0.505 GB, free: 93.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.5787, allocations: 21.75 kB / 0.505 GB, free: 93.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.5787, allocations: 3.594 kB / 0.505 GB, free: 93.42 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009758/0.5797, allocations: 0.6015 MB / 0.5056 GB, free: 93.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5797, allocations: 5.234 kB / 0.5056 GB, free: 93.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003838/0.5801, allocations: 155.1 kB / 0.5057 GB, free: 93.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.5804, allocations: 84.47 kB / 0.5058 GB, free: 93.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.5829, allocations: 2.372 MB / 0.5081 GB, free: 92.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.5833, allocations: 74.23 kB / 0.5082 GB, free: 92.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.5834, allocations: 23.97 kB / 0.5082 GB, free: 92.07 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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (61): * Single equations (assignments): 60 * 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.0003927/0.5838, allocations: 315.5 kB / 0.5085 GB, free: 91.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.5839, allocations: 60.84 kB / 0.5086 GB, free: 91.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.584, allocations: 69.41 kB / 0.5086 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.584, allocations: 5.5 kB / 0.5086 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.584, allocations: 6.906 kB / 0.5086 GB, free: 91.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5841, allocations: 3.422 kB / 0.5087 GB, free: 91.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.5857, allocations: 1.407 MB / 0.51 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5858, allocations: 0 / 0.51 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.586, allocations: 42.45 kB / 0.5101 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003219/0.5863, allocations: 153.5 kB / 0.5102 GB, free: 91.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.5863, allocations: 10.33 kB / 0.5102 GB, free: 91.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.5884, allocations: 2.365 MB / 0.5125 GB, free: 89.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5884, allocations: 2.844 kB / 0.5125 GB, free: 89.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.5896, allocations: 0.9403 MB / 0.5135 GB, free: 89.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.5897, allocations: 194 kB / 0.5136 GB, free: 88.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.961e-05/0.5898, allocations: 14.77 kB / 0.5137 GB, free: 88.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.5902, allocations: 41.27 kB / 0.5137 GB, free: 88.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.5903, allocations: 56.12 kB / 0.5137 GB, free: 88.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.5903, allocations: 22.31 kB / 0.5138 GB, free: 88.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003507/0.5907, allocations: 348.9 kB / 0.5141 GB, free: 88.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5907, allocations: 0 / 0.5141 GB, free: 88.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000966/0.5917, allocations: 339.4 kB / 0.5144 GB, free: 88.67 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (40): * Single equations (assignments): 34 * 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.001409/0.5931, allocations: 1.526 MB / 0.5159 GB, free: 87.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.5947, allocations: 1.226 MB / 0.5171 GB, free: 87.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5947, allocations: 0 / 0.5171 GB, free: 87.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005132/0.5952, allocations: 463.3 kB / 0.5176 GB, free: 86.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.5957, allocations: 112.4 kB / 0.5177 GB, free: 86.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.5982, allocations: 4.545 MB / 0.5221 GB, free: 82.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.5985, allocations: 0.9582 MB / 0.523 GB, free: 82.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.5988, allocations: 97.77 kB / 0.5231 GB, free: 82.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.5991, allocations: 227.6 kB / 0.5233 GB, free: 81.96 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5991, allocations: 0 / 0.5233 GB, free: 81.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.6256, allocations: 15.3 MB / 0.5383 GB, free: 71.96 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/0.6257, allocations: 270.9 kB / 0.5385 GB, free: 71.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/2.965, allocations: 0 / 0.5385 GB, free: 71.59 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat