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.001427/0.001427, allocations: 197 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.418/1.418, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008179/0.0008179, allocations: 91.78 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.173e-05, allocations: 4 kB / 350.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09634/0.09638, allocations: 51.48 MB / 402.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3522/0.4486, allocations: 90.02 MB / 492.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.449, allocations: 87.22 kB / 492.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03884/0.4879, allocations: 14.32 MB / 0.4947 GB, free: 2.703 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4879, allocations: 0 / 0.4947 GB, free: 2.703 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.437e-05/0.488, allocations: 20 kB / 0.4947 GB, free: 2.684 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001692/0.4897, allocations: 0.902 MB / 0.4956 GB, free: 1.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.4898, allocations: 11.97 kB / 0.4956 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.4899, allocations: 106.5 kB / 0.4957 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004488/0.4904, allocations: 110.6 kB / 0.4958 GB, free: 1.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008406/0.4913, allocations: 0.4977 MB / 0.4963 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/0.4913, allocations: 45.31 kB / 0.4963 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.4914, allocations: 72 kB / 0.4964 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.4926, allocations: 0.6584 MB / 0.4971 GB, free: 172 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.4926, allocations: 3.938 kB / 0.4971 GB, free: 168 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.4927, allocations: 32 kB / 0.4971 GB, free: 136 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.4927, allocations: 18.03 kB / 0.4971 GB, free: 120 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008372/0.4936, allocations: 477.1 kB / 0.4976 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003854/0.4974, allocations: 2.414 MB / 0.4999 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.4985, allocations: 0.5466 MB / 0.5005 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/0.499, allocations: 268.4 kB / 0.5007 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.4991, allocations: 8.422 kB / 0.5007 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005876/0.4997, allocations: 340.7 kB / 0.501 GB, free: 11.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.455e-06/0.4997, allocations: 3.938 kB / 0.501 GB, free: 11.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008974/0.5006, allocations: 484.2 kB / 0.5015 GB, free: 11.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.5007, allocations: 166.6 kB / 0.5017 GB, free: 11.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004733/0.5012, allocations: 407.9 kB / 0.5021 GB, free: 10.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.5013, allocations: 45.69 kB / 0.5021 GB, free: 10.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.5015, allocations: 328.3 kB / 0.5024 GB, free: 10.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.5016, allocations: 157.8 kB / 0.5026 GB, free: 10.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.5017, allocations: 8.75 kB / 0.5026 GB, free: 10.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.5019, allocations: 378.7 kB / 0.5029 GB, free: 9.926 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.5022, allocations: 165.5 kB / 0.5031 GB, free: 9.766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.5026, allocations: 327.7 kB / 0.5034 GB, free: 9.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.5029, allocations: 189.5 kB / 0.5036 GB, free: 9.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5029, allocations: 0 / 0.5036 GB, free: 9.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009565/0.5039, allocations: 0.5899 MB / 0.5042 GB, free: 8.594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007624/0.5047, allocations: 1.663 MB / 0.5058 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5047, allocations: 9.031 kB / 0.5058 GB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.505, allocations: 76.81 kB / 0.5059 GB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.5055, allocations: 107.8 kB / 0.506 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.5074, allocations: 1.733 MB / 0.5077 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/0.508, allocations: 87.55 kB / 0.5077 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.5081, allocations: 20.09 kB / 0.5078 GB, free: 4.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.5081, allocations: 4 kB / 0.5078 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008778/0.509, allocations: 0.5173 MB / 0.5083 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.509, allocations: 7.953 kB / 0.5083 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.5092, allocations: 81.92 kB / 0.5084 GB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.5096, allocations: 99.81 kB / 0.5085 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.5114, allocations: 1.725 MB / 0.5101 GB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.5119, allocations: 75.7 kB / 0.5102 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.512, allocations: 25.31 kB / 0.5102 GB, free: 1.965 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 (65): * Single equations (assignments): 64 * 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.0002403/0.5122, allocations: 151.9 kB / 0.5104 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.5124, allocations: 67.23 kB / 0.5104 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.5126, allocations: 61.38 kB / 0.5105 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.5126, allocations: 8.031 kB / 0.5105 GB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5126, allocations: 4 kB / 0.5105 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.5126, allocations: 7.984 kB / 0.5105 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.5147, allocations: 1.355 MB / 0.5118 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.5148, allocations: 4.062 kB / 0.5118 GB, free: 252 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.5151, allocations: 75.92 kB / 0.5119 GB, free: 176 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/0.5154, allocations: 68.83 kB / 0.512 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.5155, allocations: 15.98 kB / 0.512 GB, free: 88 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.5171, allocations: 1.64 MB / 0.5136 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5171, allocations: 4.031 kB / 0.5136 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.5185, allocations: 0.8381 MB / 0.5144 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.5188, allocations: 176.4 kB / 0.5146 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.5189, allocations: 12 kB / 0.5146 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.5193, allocations: 55.95 kB / 0.5147 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.5195, allocations: 60.3 kB / 0.5147 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.5195, allocations: 12 kB / 0.5147 GB, free: 13.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004702/0.52, allocations: 321.6 kB / 0.515 GB, free: 12.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.52, allocations: 0 / 0.515 GB, free: 12.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001157/0.5212, allocations: 315 kB / 0.5153 GB, free: 12.49 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 (45): * Single equations (assignments): 39 * 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.001897/0.5231, allocations: 1.479 MB / 0.5168 GB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.5249, allocations: 0.9962 MB / 0.5177 GB, free: 9.953 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.525, allocations: 0 / 0.5177 GB, free: 9.953 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.5255, allocations: 381.5 kB / 0.5181 GB, free: 9.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007154/0.5263, allocations: 87 kB / 0.5182 GB, free: 9.492 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.529, allocations: 1.085 MB / 0.5193 GB, free: 8.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.5296, allocations: 0.9505 MB / 0.5202 GB, free: 7.383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005525/0.5302, allocations: 128.6 kB / 0.5203 GB, free: 7.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.5305, allocations: 223.4 kB / 0.5205 GB, free: 7.039 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5305, allocations: 0 / 0.5205 GB, free: 7.039 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.5641, allocations: 13.78 MB / 0.534 GB, free: 9.59 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.5644, allocations: 254.9 kB / 0.5342 GB, free: 9.258 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/2.925, allocations: 4 kB / 0.5342 GB, free: 9.254 MB / 410.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