Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001094, allocations: 86.05 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.378e-05/4.39e-05, allocations: 3.984 kB / 350.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 51.48 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4864, allocations: 89.82 MB / 492 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4867, allocations: 87.89 kB / 492 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03724/0.524, allocations: 14.18 MB / 0.4944 GB, free: 3.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.524, allocations: 3.938 kB / 0.4944 GB, free: 3.051 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.166e-05/0.5241, allocations: 13.03 kB / 0.4944 GB, free: 3.039 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001553/0.5256, allocations: 0.8745 MB / 0.4952 GB, free: 2.113 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.5257, allocations: 12.03 kB / 0.4952 GB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.5259, allocations: 110.5 kB / 0.4953 GB, free: 1.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.5262, allocations: 110.5 kB / 0.4955 GB, free: 1.879 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.527, allocations: 497.9 kB / 0.4959 GB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/0.5271, allocations: 45.31 kB / 0.496 GB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.5272, allocations: 71.91 kB / 0.496 GB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.5283, allocations: 0.6623 MB / 0.4967 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.5284, allocations: 0 / 0.4967 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.754e-05/0.5285, allocations: 28 kB / 0.4967 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.5285, allocations: 17.59 kB / 0.4967 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008282/0.5293, allocations: 473.4 kB / 0.4972 GB, free: 44 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.5331, allocations: 2.433 MB / 0.4996 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007419/0.5339, allocations: 427.1 kB / 0.5 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.5344, allocations: 256.8 kB / 0.5002 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.5344, allocations: 4 kB / 0.5002 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005071/0.535, allocations: 329 kB / 0.5005 GB, free: 12.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 1.984e-06/0.535, allocations: 0 / 0.5005 GB, free: 12.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.0008442/0.5358, allocations: 456.3 kB / 0.501 GB, free: 12.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.536, allocations: 166.7 kB / 0.5011 GB, free: 11.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/0.5365, allocations: 443.8 kB / 0.5015 GB, free: 11.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.5366, allocations: 41.7 kB / 0.5016 GB, free: 11.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.5369, allocations: 333.4 kB / 0.5019 GB, free: 11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.537, allocations: 150 kB / 0.502 GB, free: 10.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.537, allocations: 8 kB / 0.502 GB, free: 10.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.5372, allocations: 366.8 kB / 0.5024 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.5375, allocations: 165.5 kB / 0.5026 GB, free: 10.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.538, allocations: 327.7 kB / 0.5029 GB, free: 9.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.5383, allocations: 189.5 kB / 0.5031 GB, free: 9.738 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5383, allocations: 0 / 0.5031 GB, free: 9.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008727/0.5392, allocations: 0.586 MB / 0.5036 GB, free: 9.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006572/0.5399, allocations: 1.661 MB / 0.5052 GB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5399, allocations: 4 kB / 0.5052 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.5402, allocations: 80.81 kB / 0.5053 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.5406, allocations: 101 kB / 0.5054 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.5424, allocations: 1.725 MB / 0.5071 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.5428, allocations: 99.55 kB / 0.5072 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.5429, allocations: 23.95 kB / 0.5072 GB, free: 5.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.5429, allocations: 4 kB / 0.5072 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007915/0.5437, allocations: 0.5018 MB / 0.5077 GB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5437, allocations: 4 kB / 0.5077 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000209/0.5439, allocations: 85.42 kB / 0.5078 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.5443, allocations: 91.83 kB / 0.5079 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.5458, allocations: 1.738 MB / 0.5096 GB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.5462, allocations: 71.72 kB / 0.5097 GB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.5463, allocations: 20 kB / 0.5097 GB, free: 2.539 MB / 378.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_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 () * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002029/0.5465, allocations: 163.9 kB / 0.5098 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.593e-05/0.5466, allocations: 59.25 kB / 0.5099 GB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.5468, allocations: 61.39 kB / 0.5099 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.5468, allocations: 7.984 kB / 0.51 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5468, allocations: 0 / 0.51 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.5468, allocations: 0.5625 kB / 0.51 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.5486, allocations: 1.339 MB / 0.5113 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5486, allocations: 0 / 0.5113 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.5489, allocations: 55.84 kB / 0.5113 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/0.5491, allocations: 72.86 kB / 0.5114 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.5492, allocations: 15.98 kB / 0.5114 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.5507, allocations: 1.641 MB / 0.513 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5507, allocations: 4.031 kB / 0.513 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.5518, allocations: 0.7986 MB / 0.5138 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.552, allocations: 172.4 kB / 0.514 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.029e-05/0.5521, allocations: 15.98 kB / 0.514 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.5525, allocations: 39.97 kB / 0.514 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.5526, allocations: 60.31 kB / 0.5141 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.5527, allocations: 23.92 kB / 0.5141 GB, free: 13.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004036/0.5531, allocations: 335.2 kB / 0.5144 GB, free: 13.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5531, allocations: 0 / 0.5144 GB, free: 13.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009493/0.554, allocations: 311 kB / 0.5147 GB, free: 13.14 MB / 394.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_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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * 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.001543/0.5556, allocations: 1.446 MB / 0.5161 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.557, allocations: 0.9682 MB / 0.5171 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.557, allocations: 3.938 kB / 0.5171 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004571/0.5575, allocations: 358.2 kB / 0.5174 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.558, allocations: 84.95 kB / 0.5175 GB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.5601, allocations: 1.041 MB / 0.5185 GB, free: 9.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.5606, allocations: 0.9503 MB / 0.5194 GB, free: 8.168 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000434/0.5611, allocations: 124.6 kB / 0.5195 GB, free: 8.047 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.5614, allocations: 227.3 kB / 0.5198 GB, free: 7.824 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5614, allocations: 3.938 kB / 0.5198 GB, free: 7.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.5935, allocations: 13.54 MB / 0.533 GB, free: 10.66 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.5938, allocations: 245.1 kB / 0.5332 GB, free: 10.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.165, allocations: 0 / 0.5332 GB, free: 10.33 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat