Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",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.0009612/0.0009611, allocations: 178.4 kB / 8.698 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.427/1.427, allocations: 205.3 MB / 214.4 MB, free: 1.738 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.0008885/0.000888, allocations: 78.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.51e-05/1.512e-05, allocations: 4 kB / 315.6 MB, free: 22.6 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08313/0.08316, allocations: 47.59 MB / 363.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3189/0.4021, allocations: 87.42 MB / 450.6 MB, free: 8.027 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.4025, allocations: 89.22 kB / 450.7 MB, free: 7.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03414/0.4366, allocations: 13.24 MB / 463.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4367, allocations: 0 / 463.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.408e-05/0.4367, allocations: 15.94 kB / 464 MB, free: 12.94 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00153/0.4383, allocations: 0.8826 MB / 464.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4383, allocations: 8.031 kB / 464.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.4385, allocations: 87.36 kB / 464.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006906/0.4392, allocations: 482.6 kB / 465.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.4392, allocations: 23.94 kB / 465.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/0.4393, allocations: 47.89 kB / 465.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006965/0.44, allocations: 417.7 kB / 465.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008899/0.4409, allocations: 0.5422 MB / 466.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.4409, allocations: 0 / 466.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.441, allocations: 4 kB / 466.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.441, allocations: 12 kB / 466.4 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.4441, allocations: 2.209 MB / 468.6 MB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/0.445, allocations: 489.5 kB / 469.1 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004247/0.4455, allocations: 256.3 kB / 469.4 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.4455, allocations: 8.359 kB / 469.4 MB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005168/0.446, allocations: 305.1 kB / 469.7 MB, free: 8.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 2.525e-06/0.4461, allocations: 0 / 469.7 MB, free: 8.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.0007339/0.4468, allocations: 425.2 kB / 470.1 MB, free: 7.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.4469, allocations: 133 kB / 470.2 MB, free: 7.664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.4473, allocations: 344.5 kB / 470.6 MB, free: 7.395 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.4473, allocations: 36.94 kB / 470.6 MB, free: 7.355 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.4475, allocations: 315.6 kB / 470.9 MB, free: 7.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.4476, allocations: 145.8 kB / 471 MB, free: 6.996 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.4477, allocations: 0 / 471 MB, free: 6.996 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4478, allocations: 359.2 kB / 471.4 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.448, allocations: 147.7 kB / 471.5 MB, free: 6.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.4484, allocations: 299.6 kB / 471.8 MB, free: 6.289 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.4486, allocations: 166.8 kB / 472 MB, free: 6.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4486, allocations: 4 kB / 472 MB, free: 6.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007144/0.4494, allocations: 0.4974 MB / 472.5 MB, free: 5.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006117/0.45, allocations: 1.66 MB / 474.2 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.45, allocations: 7.938 kB / 474.2 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002972/0.4503, allocations: 81.48 kB / 474.2 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.4507, allocations: 103.2 kB / 474.3 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.4522, allocations: 1.701 MB / 476 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.4526, allocations: 67.7 kB / 476.1 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.4527, allocations: 27.44 kB / 476.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.4527, allocations: 7.438 kB / 476.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006395/0.4533, allocations: 421.1 kB / 476.6 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4534, allocations: 4 kB / 476.6 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/0.4536, allocations: 76.67 kB / 476.6 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.4539, allocations: 99.02 kB / 476.7 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.4553, allocations: 1.701 MB / 478.4 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.4557, allocations: 59.72 kB / 478.5 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.4557, allocations: 19.56 kB / 478.5 MB, free: 12 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (63): * Single equations (assignments): 62 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.4559, allocations: 143.4 kB / 478.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006108/0.4565, allocations: 414.5 kB / 479.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.4566, allocations: 51.34 kB / 479.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.4567, allocations: 61.41 kB / 479.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4568, allocations: 8 kB / 479.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.4568, allocations: 4.031 kB / 479.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.4568, allocations: 3.984 kB / 479.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.4583, allocations: 1.154 MB / 480.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4583, allocations: 4 kB / 480.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.4586, allocations: 75.31 kB / 480.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001903/0.4588, allocations: 73.56 kB / 480.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.4589, allocations: 0 / 480.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.4602, allocations: 1.59 MB / 482.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4602, allocations: 4.031 kB / 482.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009263/0.4611, allocations: 0.7501 MB / 482.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.4613, allocations: 168.8 kB / 483 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/0.4614, allocations: 0 / 483 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.4617, allocations: 47.95 kB / 483 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.4619, allocations: 53.61 kB / 483.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.4619, allocations: 23.48 kB / 483.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002682/0.4622, allocations: 259.1 kB / 483.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4622, allocations: 0 / 483.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009377/0.4632, allocations: 274.9 kB / 483.6 MB, free: 11.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (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_p.off,rectifier.thyristor_n.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_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001344/0.4645, allocations: 1.376 MB / 485 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.4658, allocations: 0.8902 MB / 485.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4658, allocations: 3.938 kB / 485.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.4663, allocations: 341.8 kB / 486.2 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.4668, allocations: 69.88 kB / 486.3 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.4689, allocations: 0.9663 MB / 487.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.4694, allocations: 0.9342 MB / 488.2 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004175/0.4698, allocations: 104.3 kB / 488.3 MB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.4701, allocations: 215.3 kB / 488.5 MB, free: 7.039 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4701, allocations: 0 / 488.5 MB, free: 7.039 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.5048, allocations: 11.7 MB / 0.4885 GB, free: 11.32 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/0.5051, allocations: 233.3 kB / 0.4887 GB, free: 11.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/2.749, allocations: 4 kB / 0.4887 GB, free: 11.02 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat