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_Characteristic.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_Characteristic,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001712/0.001712, allocations: 171.8 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.453/1.453, 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.0008687/0.000869, allocations: 86.66 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.198e-05, allocations: 0 / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.09909, allocations: 47.58 MB / 370.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3353/0.4345, allocations: 87.84 MB / 458 MB, free: 5.551 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.4348, allocations: 85.95 kB / 458.1 MB, free: 5.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03633/0.4711, allocations: 13.36 MB / 471.4 MB, free: 9.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4712, allocations: 0 / 471.4 MB, free: 9.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.649e-05/0.4713, allocations: 19.94 kB / 471.4 MB, free: 9.438 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001625/0.4729, allocations: 0.877 MB / 472.3 MB, free: 8.508 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.473, allocations: 8.031 kB / 472.3 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.4731, allocations: 110.5 kB / 472.4 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.4733, allocations: 83.36 kB / 472.5 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008079/0.4741, allocations: 482 kB / 473 MB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.897e-05/0.4742, allocations: 53.23 kB / 473 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.4743, allocations: 67.91 kB / 473.1 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.4755, allocations: 0.6302 MB / 473.7 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.4755, allocations: 4 kB / 473.7 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.495e-05/0.4756, allocations: 28 kB / 473.8 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.4756, allocations: 12 kB / 473.8 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000841/0.4764, allocations: 449 kB / 474.2 MB, free: 6.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/0.4802, allocations: 2.337 MB / 476.5 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.4813, allocations: 0.5166 MB / 477.1 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.4818, allocations: 257.5 kB / 477.3 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.4818, allocations: 4.375 kB / 477.3 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005819/0.4824, allocations: 316.6 kB / 477.6 MB, free: 2.953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 3.096e-06/0.4824, allocations: 4 kB / 477.6 MB, free: 2.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008963/0.4833, allocations: 456.2 kB / 478.1 MB, free: 2.492 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.305e-05/0.4834, allocations: 137.5 kB / 478.2 MB, free: 2.328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.4839, allocations: 399 kB / 478.6 MB, free: 1.938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.484, allocations: 41.69 kB / 478.6 MB, free: 1.891 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.4843, allocations: 312.4 kB / 479 MB, free: 1.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.4844, allocations: 153.8 kB / 479.1 MB, free: 1.426 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.4845, allocations: 12 kB / 479.1 MB, free: 1.414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4846, allocations: 374.8 kB / 479.5 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.4849, allocations: 153.1 kB / 479.6 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.4853, allocations: 308.6 kB / 479.9 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.4856, allocations: 173.6 kB / 480.1 MB, free: 364 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.4856, allocations: 4 kB / 480.1 MB, free: 360 kB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009506/0.4866, allocations: 0.5623 MB / 480.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007598/0.4873, allocations: 1.661 MB / 482.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4873, allocations: 7.938 kB / 482.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.4877, allocations: 76.83 kB / 482.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.4881, allocations: 107.8 kB / 482.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.49, allocations: 1.737 MB / 484.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.4906, allocations: 79.66 kB / 484.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.4906, allocations: 20 kB / 484.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.4906, allocations: 4 kB / 484.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007969/0.4914, allocations: 498.9 kB / 484.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.4915, allocations: 4 kB / 484.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.4917, allocations: 80.83 kB / 484.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.492, allocations: 104.2 kB / 485 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.4937, allocations: 1.736 MB / 486.8 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.4941, allocations: 75.5 kB / 486.8 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.4942, allocations: 27.92 kB / 486.9 MB, free: 9.176 MB / 362.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,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0002282/0.4944, allocations: 152.1 kB / 487 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.4946, allocations: 63.3 kB / 487.1 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.4947, allocations: 61.22 kB / 487.1 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4947, allocations: 4 kB / 487.1 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4948, allocations: 4 kB / 487.1 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.4948, allocations: 3.984 kB / 487.1 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.4966, allocations: 1.292 MB / 488.4 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4966, allocations: 0 / 488.4 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.497, allocations: 71.89 kB / 488.5 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/0.4972, allocations: 72.84 kB / 488.6 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.4973, allocations: 15.98 kB / 488.6 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.4988, allocations: 1.641 MB / 490.2 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4988, allocations: 0 / 490.2 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.5, allocations: 0.783 MB / 491 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.5003, allocations: 176.4 kB / 491.2 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-05/0.5004, allocations: 19.98 kB / 491.2 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.5007, allocations: 47.95 kB / 491.3 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.5009, allocations: 60.3 kB / 491.3 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.5009, allocations: 16.09 kB / 491.3 MB, free: 4.449 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004006/0.5014, allocations: 305.2 kB / 491.6 MB, free: 4.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5014, allocations: 3.938 kB / 491.6 MB, free: 4.148 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009883/0.5024, allocations: 291.1 kB / 491.9 MB, free: 3.863 MB / 362.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,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * 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.00163/0.504, allocations: 1.434 MB / 493.3 MB, free: 2.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.5057, allocations: 0.953 MB / 494.3 MB, free: 1.414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5057, allocations: 0 / 494.3 MB, free: 1.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005027/0.5062, allocations: 360.9 kB / 494.7 MB, free: 1.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.5068, allocations: 94.95 kB / 494.7 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.5091, allocations: 1.009 MB / 495.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.5097, allocations: 0.9386 MB / 496.7 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000435/0.5101, allocations: 116.4 kB / 496.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.5104, allocations: 215.4 kB / 497 MB, free: 14.63 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5105, allocations: 0 / 497 MB, free: 14.63 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.5417, allocations: 13.21 MB / 0.4983 GB, free: 1.398 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/0.542, allocations: 252.7 kB / 0.4985 GB, free: 1.062 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/2.826, allocations: 0 / 0.4985 GB, free: 1.062 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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_Characteristic_res.mat does not exist to compare? outputFormat=mat