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.001013/0.001013, allocations: 172.4 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008506/0.0008506, allocations: 86.64 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.633e-05/2.635e-05, allocations: 3.984 kB / 322.6 MB, free: 17.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 47.57 MB / 370.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.367/0.4734, allocations: 87.53 MB / 457.7 MB, free: 5.852 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.4738, allocations: 86.06 kB / 457.8 MB, free: 5.805 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03484/0.5086, allocations: 13.61 MB / 471.4 MB, free: 9.488 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5087, allocations: 3.938 kB / 471.4 MB, free: 9.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.08e-05/0.5087, allocations: 20 kB / 471.4 MB, free: 9.465 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.001515/0.5102, allocations: 0.8676 MB / 472.3 MB, free: 8.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.5103, allocations: 12.03 kB / 472.3 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.5104, allocations: 106.5 kB / 472.4 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.5106, allocations: 83.05 kB / 472.5 MB, free: 8.336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007392/0.5113, allocations: 0.494 MB / 472.9 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.5114, allocations: 45.31 kB / 473 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.5115, allocations: 67.98 kB / 473.1 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.5126, allocations: 0.6709 MB / 473.7 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.5127, allocations: 0 / 473.7 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.68e-05/0.5128, allocations: 28 kB / 473.8 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.5128, allocations: 19.98 kB / 473.8 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008152/0.5136, allocations: 489.1 kB / 474.3 MB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00366/0.5173, allocations: 2.6 MB / 476.9 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.5183, allocations: 0.5684 MB / 477.4 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.5189, allocations: 314.4 kB / 477.7 MB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.5189, allocations: 8.438 kB / 477.7 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005387/0.5195, allocations: 333.7 kB / 478.1 MB, free: 2.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 2.384e-06/0.5195, allocations: 4 kB / 478.1 MB, free: 2.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.0009203/0.5204, allocations: 0.5075 MB / 478.6 MB, free: 1.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.5205, allocations: 115.4 kB / 478.7 MB, free: 1.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.5211, allocations: 423.7 kB / 479.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.5211, allocations: 49.69 kB / 479.1 MB, free: 1.367 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.5213, allocations: 308.4 kB / 479.5 MB, free: 1.062 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.5215, allocations: 165.7 kB / 479.6 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.5215, allocations: 12 kB / 479.6 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5217, allocations: 370.8 kB / 480 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.522, allocations: 177.5 kB / 480.2 MB, free: 348 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.5224, allocations: 333.5 kB / 480.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.5228, allocations: 195.2 kB / 480.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.5228, allocations: 3.953 kB / 480.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009785/0.5238, allocations: 0.655 MB / 481.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007118/0.5245, allocations: 1.575 MB / 482.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.5245, allocations: 4 kB / 482.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/0.525, allocations: 148.8 kB / 483.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.5253, allocations: 91.83 kB / 483.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/0.5284, allocations: 2.351 MB / 485.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.5289, allocations: 87.53 kB / 485.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.529, allocations: 28 kB / 485.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.529, allocations: 0 / 485.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00101/0.53, allocations: 0.5643 MB / 486.2 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.53, allocations: 7.984 kB / 486.2 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.5304, allocations: 156.6 kB / 486.3 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.5307, allocations: 76.31 kB / 486.4 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.5333, allocations: 2.35 MB / 488.8 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.5337, allocations: 71.61 kB / 488.8 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.5338, allocations: 28 kB / 488.9 MB, free: 7.176 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.0002759/0.534, allocations: 160.8 kB / 489 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.5342, allocations: 55.34 kB / 489.1 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.5344, allocations: 65.28 kB / 489.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.5344, allocations: 11.95 kB / 489.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5344, allocations: 4 kB / 489.1 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.5345, allocations: 0 / 489.1 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.5367, allocations: 1.344 MB / 490.5 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5367, allocations: 4.031 kB / 490.5 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.5369, allocations: 47.91 kB / 490.5 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003675/0.5373, allocations: 140.9 kB / 490.7 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.5373, allocations: 15.98 kB / 490.7 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/0.5402, allocations: 2.244 MB / 492.9 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5402, allocations: 0 / 492.9 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.5416, allocations: 0.8945 MB / 493.8 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.5419, allocations: 176.4 kB / 494 MB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.788e-05/0.542, allocations: 19.98 kB / 494 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.5424, allocations: 35.97 kB / 494.1 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.5426, allocations: 84.22 kB / 494.1 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.5426, allocations: 23.98 kB / 494.2 MB, free: 1.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004485/0.5431, allocations: 325.6 kB / 494.5 MB, free: 1.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5431, allocations: 0 / 494.5 MB, free: 1.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001112/0.5442, allocations: 331.1 kB / 494.8 MB, free: 0.9688 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001664/0.5459, allocations: 1.543 MB / 496.4 MB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.5477, allocations: 1.147 MB / 497.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5477, allocations: 0.5 kB / 497.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005958/0.5483, allocations: 452.6 kB / 497.9 MB, free: 13.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.5489, allocations: 99.03 kB / 498 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.5511, allocations: 1.017 MB / 499.1 MB, free: 12.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.5516, allocations: 0.9476 MB / 0.4883 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003779/0.552, allocations: 104.8 kB / 0.4884 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.5522, allocations: 223.3 kB / 0.4886 GB, free: 11.3 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5523, allocations: 0 / 0.4886 GB, free: 11.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.5848, allocations: 15.88 MB / 0.5041 GB, free: 11.4 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.585, allocations: 227.2 kB / 0.5043 GB, free: 11.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/2.933, allocations: 4 kB / 0.5043 GB, free: 11.11 MB / 394.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