Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.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.ThyristorBridge2Pulse_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R",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.0009346/0.0009346, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007995/0.0007995, allocations: 82.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.94e-05, allocations: 7.984 kB / 315.6 MB, free: 22.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08654/0.08658, allocations: 47.58 MB / 363.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3404/0.427, allocations: 87.12 MB / 450.3 MB, free: 8.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.4273, allocations: 88.05 kB / 450.4 MB, free: 8.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03423/0.4616, allocations: 13.49 MB / 463.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4616, allocations: 0 / 463.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.597e-05/0.4617, allocations: 24 kB / 463.9 MB, free: 13.04 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001491/0.4632, allocations: 0.8617 MB / 464.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4632, allocations: 12.03 kB / 464.8 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.4634, allocations: 79.06 kB / 464.8 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008044/0.4642, allocations: 0.4977 MB / 465.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.4643, allocations: 20 kB / 465.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.4644, allocations: 39.94 kB / 465.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007542/0.4651, allocations: 459.4 kB / 465.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009351/0.4661, allocations: 0.5791 MB / 466.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.4661, allocations: 4 kB / 466.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.4662, allocations: 4 kB / 466.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.4662, allocations: 16 kB / 466.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.4696, allocations: 2.48 MB / 468.9 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009012/0.4705, allocations: 0.5285 MB / 469.5 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.4708, allocations: 244 kB / 469.7 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-05/0.4709, allocations: 8.906 kB / 469.7 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004852/0.4714, allocations: 329.7 kB / 470 MB, free: 8.016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 2.906e-06/0.4714, allocations: 0 / 470 MB, free: 8.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.0008298/0.4722, allocations: 478.1 kB / 470.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.4723, allocations: 119 kB / 470.6 MB, free: 7.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.4727, allocations: 366 kB / 471 MB, free: 7.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.4728, allocations: 29.7 kB / 471 MB, free: 7.215 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.473, allocations: 312.5 kB / 471.3 MB, free: 6.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.4732, allocations: 163 kB / 471.5 MB, free: 6.844 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.4732, allocations: 0 / 471.5 MB, free: 6.844 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4734, allocations: 361.2 kB / 471.8 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.4736, allocations: 164.8 kB / 472 MB, free: 6.414 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.474, allocations: 318.6 kB / 472.3 MB, free: 6.125 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.4743, allocations: 186.4 kB / 472.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4743, allocations: 0 / 472.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008482/0.4752, allocations: 0.5821 MB / 473.1 MB, free: 5.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006833/0.4759, allocations: 1.581 MB / 474.6 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4759, allocations: 4 kB / 474.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004603/0.4763, allocations: 157.4 kB / 474.8 MB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.4767, allocations: 91.58 kB / 474.9 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.4792, allocations: 2.28 MB / 477.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.4797, allocations: 75.48 kB / 477.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.4798, allocations: 27.69 kB / 477.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.4798, allocations: 4 kB / 477.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007574/0.4806, allocations: 0.4899 MB / 477.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.4806, allocations: 8.031 kB / 477.8 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003408/0.4809, allocations: 146.8 kB / 477.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.4812, allocations: 79.47 kB / 478 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.4836, allocations: 2.287 MB / 480.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004312/0.4841, allocations: 55.66 kB / 480.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.4841, allocations: 19.19 kB / 480.3 MB, free: 15.09 MB / 362.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: 29 ($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,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_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 () * 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.0002446/0.4844, allocations: 141.3 kB / 480.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007953/0.4852, allocations: 484.2 kB / 481 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.4853, allocations: 55.34 kB / 481 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.4854, allocations: 54.58 kB / 481.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.4855, allocations: 11.98 kB / 481.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.4855, allocations: 0 / 481.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.4855, allocations: 3.953 kB / 481.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.4874, allocations: 1.197 MB / 482.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4874, allocations: 0 / 482.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.4876, allocations: 52.16 kB / 482.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003697/0.488, allocations: 140.9 kB / 482.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.4881, allocations: 4 kB / 482.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.4904, allocations: 2.151 MB / 484.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4905, allocations: 0 / 484.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.4917, allocations: 0.8351 MB / 485.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.4919, allocations: 176.4 kB / 485.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/0.492, allocations: 11.94 kB / 485.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.4923, allocations: 31.97 kB / 485.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.4925, allocations: 80.39 kB / 485.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.4925, allocations: 15.98 kB / 485.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003249/0.4929, allocations: 274.9 kB / 486 MB, free: 9.676 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4929, allocations: 0 / 486 MB, free: 9.676 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001053/0.4939, allocations: 295.1 kB / 486.3 MB, free: 9.387 MB / 362.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.thyristor_n1.off,rectifier.thyristor_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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * 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.001609/0.4955, allocations: 1.406 MB / 487.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.4973, allocations: 1.069 MB / 488.8 MB, free: 6.863 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.4973, allocations: 4 kB / 488.8 MB, free: 6.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.4978, allocations: 415.5 kB / 489.2 MB, free: 6.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.4984, allocations: 82.27 kB / 489.3 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.5004, allocations: 0.9633 MB / 490.2 MB, free: 5.359 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.501, allocations: 0.9432 MB / 491.2 MB, free: 4.383 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003658/0.5014, allocations: 100.8 kB / 491.3 MB, free: 4.285 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.5016, allocations: 211.4 kB / 491.5 MB, free: 4.078 MB / 362.7 MB Notification: Performance of SimCode: time 2.214e-06/0.5016, allocations: 0 / 491.5 MB, free: 4.078 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.5385, allocations: 14.12 MB / 0.4938 GB, free: 5.934 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.5387, allocations: 196.6 kB / 0.4939 GB, free: 5.738 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/2.882, allocations: 0 / 0.4939 GB, free: 5.738 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat does not exist to compare? outputFormat=mat