Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001561/0.00156, allocations: 198.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00087/0.00087, allocations: 106.6 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002324/0.0002324, allocations: 4 kB / 358 MB, free: 9.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2077, allocations: 51.5 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.3164, allocations: 90.08 MB / 499.6 MB, free: 484 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.3167, allocations: 87.94 kB / 499.7 MB, free: 396 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03727/0.354, allocations: 14.33 MB / 0.502 GB, free: 1.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.354, allocations: 0 / 0.502 GB, free: 1.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.759e-05/0.354, allocations: 23.94 kB / 0.502 GB, free: 1.973 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001989/0.356, allocations: 0.9822 MB / 0.503 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3561, allocations: 8.031 kB / 0.503 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.3563, allocations: 114.4 kB / 0.5031 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003459/0.3566, allocations: 115.2 kB / 0.5032 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008916/0.3575, allocations: 497.9 kB / 0.5037 GB, free: 164 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.625e-05/0.3576, allocations: 57.25 kB / 0.5037 GB, free: 108 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-05/0.3577, allocations: 67.98 kB / 0.5038 GB, free: 40 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1737/0.5314, allocations: 0.7099 MB / 0.5045 GB, free: 90.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.5314, allocations: 0 / 0.5045 GB, free: 90.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.5315, allocations: 30.06 kB / 0.5045 GB, free: 90.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.5316, allocations: 15.38 kB / 0.5045 GB, free: 90.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.5328, allocations: 0.561 MB / 0.5051 GB, free: 90.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/0.5366, allocations: 2.413 MB / 0.5074 GB, free: 89.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.5378, allocations: 0.6171 MB / 0.508 GB, free: 89.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.5379, allocations: 10.2 kB / 0.508 GB, free: 89.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006167/0.5385, allocations: 376.6 kB / 0.5084 GB, free: 89.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 1.923e-06/0.5385, allocations: 0 / 0.5084 GB, free: 89.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.00199/0.5405, allocations: 0.8996 MB / 0.5093 GB, free: 89.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.5406, allocations: 143 kB / 0.5094 GB, free: 89.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/0.5412, allocations: 416.4 kB / 0.5098 GB, free: 89.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.731e-05/0.5413, allocations: 49.61 kB / 0.5098 GB, free: 89.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.5415, allocations: 325.9 kB / 0.5102 GB, free: 89.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.5416, allocations: 157.5 kB / 0.5103 GB, free: 89.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.5416, allocations: 12.59 kB / 0.5103 GB, free: 89.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.073e-05/0.5417, allocations: 372 kB / 0.5107 GB, free: 88.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.5421, allocations: 214.1 kB / 0.5109 GB, free: 88.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.5426, allocations: 369.7 kB / 0.5112 GB, free: 88.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.543, allocations: 235.5 kB / 0.5115 GB, free: 88.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.543, allocations: 0 / 0.5115 GB, free: 88.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001011/0.5441, allocations: 0.6761 MB / 0.5121 GB, free: 88.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/0.5443, allocations: 1.57 MB / 0.5136 GB, free: 86.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.5443, allocations: 3.938 kB / 0.5137 GB, free: 86.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.5446, allocations: 82.23 kB / 0.5137 GB, free: 86.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.545, allocations: 108 kB / 0.5138 GB, free: 86.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.5463, allocations: 1.801 MB / 0.5156 GB, free: 84.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.5467, allocations: 82.97 kB / 0.5157 GB, free: 84.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.5468, allocations: 27.59 kB / 0.5157 GB, free: 84.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.5468, allocations: 3.906 kB / 0.5157 GB, free: 84.8 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008306/0.5476, allocations: 0.5654 MB / 0.5163 GB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5476, allocations: 13.02 kB / 0.5163 GB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.5478, allocations: 78.62 kB / 0.5163 GB, free: 84.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.5481, allocations: 96.22 kB / 0.5164 GB, free: 84.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.5493, allocations: 1.797 MB / 0.5182 GB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.5498, allocations: 78.36 kB / 0.5183 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.5498, allocations: 19.69 kB / 0.5183 GB, free: 82.9 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: 25 ($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_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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002871/0.5501, allocations: 319.8 kB / 0.5186 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.5502, allocations: 58.55 kB / 0.5186 GB, free: 82.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.5503, allocations: 64.25 kB / 0.5187 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5503, allocations: 7.625 kB / 0.5187 GB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5503, allocations: 2.812 kB / 0.5187 GB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5503, allocations: 7.5 kB / 0.5187 GB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.552, allocations: 1.333 MB / 0.52 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.5521, allocations: 4 kB / 0.52 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.5524, allocations: 67.97 kB / 0.5201 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001852/0.5526, allocations: 75.11 kB / 0.5202 GB, free: 81.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.5526, allocations: 11.11 kB / 0.5202 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.5539, allocations: 1.803 MB / 0.5219 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5539, allocations: 0 / 0.5219 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.5554, allocations: 0.9387 MB / 0.5228 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.5556, allocations: 179.5 kB / 0.523 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/0.5557, allocations: 16.58 kB / 0.523 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.556, allocations: 52.75 kB / 0.5231 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.5562, allocations: 57 kB / 0.5231 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.5562, allocations: 17.42 kB / 0.5232 GB, free: 79.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002948/0.5565, allocations: 321.6 kB / 0.5235 GB, free: 79.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.5565, allocations: 0 / 0.5235 GB, free: 79.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008734/0.5574, allocations: 323.4 kB / 0.5238 GB, free: 79.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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_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_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 38 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001605/0.559, allocations: 1.518 MB / 0.5253 GB, free: 78.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.5606, allocations: 1.116 MB / 0.5263 GB, free: 77.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5607, allocations: 0 / 0.5263 GB, free: 77.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005427/0.5612, allocations: 416.4 kB / 0.5267 GB, free: 77.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.5617, allocations: 85.27 kB / 0.5268 GB, free: 77.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.5644, allocations: 4.599 MB / 0.5313 GB, free: 73.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.5648, allocations: 0.9466 MB / 0.5322 GB, free: 72.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000314/0.5651, allocations: 96.77 kB / 0.5323 GB, free: 72.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.5654, allocations: 230.5 kB / 0.5326 GB, free: 72.79 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.5654, allocations: 3.938 kB / 0.5326 GB, free: 72.78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.5901, allocations: 13.03 MB / 0.5453 GB, free: 62.79 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.5904, allocations: 292.5 kB / 0.5456 GB, free: 62.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.785, allocations: 0 / 0.5456 GB, free: 62.43 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat