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.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,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 181.1 kB / 17.01 MB, free: 5.125 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.456/1.456, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008935/0.0008935, allocations: 94.64 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002527/0.0002527, allocations: 8 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2394, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1076/0.347, allocations: 87.71 MB / 463.6 MB, free: 8.906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.3473, allocations: 91.94 kB / 463.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0336/0.381, allocations: 13.26 MB / 477 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.381, allocations: 0 / 477 MB, free: 11.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.573e-05/0.3811, allocations: 16 kB / 477 MB, free: 11.48 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002051/0.3832, allocations: 0.9314 MB / 477.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3832, allocations: 8.031 kB / 477.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002123/0.3834, allocations: 106.5 kB / 478 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.3836, allocations: 87.36 kB / 478.1 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000799/0.3844, allocations: 478 kB / 478.6 MB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.3845, allocations: 49.31 kB / 478.6 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.114e-05/0.3846, allocations: 60 kB / 478.7 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.3857, allocations: 0.6652 MB / 479.4 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.3858, allocations: 0 / 479.4 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.845e-05/0.3858, allocations: 20 kB / 479.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.3859, allocations: 16 kB / 479.4 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009538/0.3868, allocations: 0.4931 MB / 479.9 MB, free: 8.453 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003612/0.3904, allocations: 2.348 MB / 482.2 MB, free: 5.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009024/0.3914, allocations: 479.3 kB / 482.7 MB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.3914, allocations: 4.469 kB / 482.7 MB, free: 5.504 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005335/0.3919, allocations: 321.6 kB / 483 MB, free: 5.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.392, allocations: 0 / 483 MB, free: 5.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001617/0.3936, allocations: 0.7467 MB / 483.8 MB, free: 4.398 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.3937, allocations: 119.2 kB / 483.9 MB, free: 4.258 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006198/0.3943, allocations: 444.9 kB / 484.3 MB, free: 3.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.3944, allocations: 37.7 kB / 484.4 MB, free: 3.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.3946, allocations: 320.3 kB / 484.7 MB, free: 3.457 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.3947, allocations: 134.2 kB / 484.8 MB, free: 3.324 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.3948, allocations: 16 kB / 484.8 MB, free: 3.309 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3949, allocations: 366.8 kB / 485.2 MB, free: 2.941 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.3953, allocations: 177 kB / 485.4 MB, free: 2.766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/0.3958, allocations: 335.8 kB / 485.7 MB, free: 2.379 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.3962, allocations: 196.7 kB / 485.9 MB, free: 2.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.3962, allocations: 0 / 485.9 MB, free: 2.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001147/0.3973, allocations: 0.6134 MB / 486.5 MB, free: 1.562 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008385/0.3982, allocations: 1.57 MB / 488.1 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.3982, allocations: 8 kB / 488.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.3986, allocations: 88.73 kB / 488.2 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.399, allocations: 91.83 kB / 488.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.4012, allocations: 1.792 MB / 490 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/0.4018, allocations: 83.5 kB / 490.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.4019, allocations: 23.98 kB / 490.1 MB, free: 13.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4019, allocations: 4.062 kB / 490.1 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009343/0.4028, allocations: 0.5071 MB / 490.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.4028, allocations: 4 kB / 490.7 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.4031, allocations: 80.81 kB / 490.7 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.4034, allocations: 84.05 kB / 490.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.4051, allocations: 1.8 MB / 492.6 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.4056, allocations: 75.66 kB / 492.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.4056, allocations: 23.94 kB / 492.7 MB, free: 10.94 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,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 () * Number of clocked 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005111/0.4061, allocations: 309 kB / 493 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.4063, allocations: 55.34 kB / 493.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.4064, allocations: 65.5 kB / 493.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4064, allocations: 4 kB / 493.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4064, allocations: 0 / 493.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4065, allocations: 0 / 493.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.4084, allocations: 1.186 MB / 494.3 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4084, allocations: 0 / 494.3 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.4087, allocations: 51.91 kB / 494.4 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002103/0.4089, allocations: 68.81 kB / 494.4 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/0.409, allocations: 16.25 kB / 494.5 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.4108, allocations: 1.799 MB / 496.3 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4108, allocations: 0 / 496.3 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.412, allocations: 0.7684 MB / 497 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.4123, allocations: 180.4 kB / 497.2 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.852e-05/0.4124, allocations: 12 kB / 497.2 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.4127, allocations: 43.95 kB / 497.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.4129, allocations: 48.36 kB / 497.3 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.4129, allocations: 19.98 kB / 497.3 MB, free: 6.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004562/0.4134, allocations: 338.9 kB / 497.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4134, allocations: 0 / 497.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001072/0.4145, allocations: 295.1 kB / 497.9 MB, free: 5.461 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,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * 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.001484/0.416, allocations: 1.343 MB / 499.3 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.4176, allocations: 0.9868 MB / 0.4885 GB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4176, allocations: 0 / 0.4885 GB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004744/0.4181, allocations: 369 kB / 0.4889 GB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.4185, allocations: 84.92 kB / 0.489 GB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1558/0.5744, allocations: 4.458 MB / 0.4933 GB, free: 103.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.5749, allocations: 0.935 MB / 0.4942 GB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000427/0.5753, allocations: 88.5 kB / 0.4943 GB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.5757, allocations: 222 kB / 0.4945 GB, free: 103.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5757, allocations: 0.5 kB / 0.4945 GB, free: 103.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.5997, allocations: 12.28 MB / 0.5065 GB, free: 101.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.5999, allocations: 269.7 kB / 0.5068 GB, free: 101.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/2.798, allocations: 0 / 0.5068 GB, free: 101.4 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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_res.mat does not exist to compare? outputFormat=mat