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_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_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.001338/0.001337, allocations: 182.1 kB / 17.02 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.498/1.498, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008369/0.0008367, allocations: 92.09 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002735, allocations: 4 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2822, allocations: 47.58 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.3902, allocations: 88.16 MB / 464.1 MB, free: 8.477 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.3906, allocations: 91.94 kB / 464.2 MB, free: 8.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03509/0.4257, allocations: 14.22 MB / 478.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4257, allocations: 0 / 478.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.121e-05/0.4258, allocations: 20 kB / 478.4 MB, free: 10.07 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001617/0.4274, allocations: 0.9752 MB / 479.4 MB, free: 9.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4275, allocations: 12.03 kB / 479.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.4276, allocations: 106.5 kB / 479.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.4278, allocations: 90.92 kB / 479.6 MB, free: 8.824 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/0.4286, allocations: 0.5102 MB / 480.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.4286, allocations: 57.98 kB / 480.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.479e-05/0.4287, allocations: 72 kB / 480.2 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.4299, allocations: 0.7342 MB / 481 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.4299, allocations: 4 kB / 481 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.215e-05/0.43, allocations: 24 kB / 481 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.43, allocations: 19.94 kB / 481 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009672/0.431, allocations: 0.5633 MB / 481.6 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003629/0.4346, allocations: 2.701 MB / 484.3 MB, free: 3.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.4357, allocations: 0.6086 MB / 484.9 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.4357, allocations: 8.438 kB / 484.9 MB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006097/0.4363, allocations: 358.4 kB / 485.3 MB, free: 2.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=58): time 3.848e-06/0.4364, allocations: 0 / 485.3 MB, free: 2.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.002113/0.4385, allocations: 0.9873 MB / 486.2 MB, free: 1.926 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.4386, allocations: 127.3 kB / 486.4 MB, free: 1.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.4391, allocations: 453.1 kB / 486.8 MB, free: 1.328 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.4392, allocations: 45.7 kB / 486.9 MB, free: 1.277 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.4394, allocations: 324.2 kB / 487.2 MB, free: 0.957 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.4396, allocations: 173.5 kB / 487.3 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.4396, allocations: 16 kB / 487.4 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4398, allocations: 370.8 kB / 487.7 MB, free: 408 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.4402, allocations: 213.2 kB / 487.9 MB, free: 196 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/0.4407, allocations: 368.1 kB / 488.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.4412, allocations: 230.1 kB / 488.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4412, allocations: 0 / 488.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00118/0.4424, allocations: 0.7107 MB / 489.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008048/0.4432, allocations: 1.575 MB / 490.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.4432, allocations: 4 kB / 490.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005014/0.4437, allocations: 145.6 kB / 490.9 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.4441, allocations: 103.8 kB / 491 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.4473, allocations: 3.479 MB / 494.5 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.4478, allocations: 87.48 kB / 494.6 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.4479, allocations: 24 kB / 494.6 MB, free: 9.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.4479, allocations: 8.062 kB / 494.6 MB, free: 9 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009986/0.4489, allocations: 0.6163 MB / 495.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4489, allocations: 4 kB / 495.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.4493, allocations: 141.7 kB / 495.4 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.4496, allocations: 91.83 kB / 495.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003259/0.4529, allocations: 3.491 MB / 499 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.4532, allocations: 79.62 kB / 499.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.4533, allocations: 24 kB / 499.1 MB, free: 4.289 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004371/0.4537, allocations: 322.9 kB / 499.4 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.4538, allocations: 63.2 kB / 499.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.454, allocations: 65.61 kB / 499.5 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-06/0.454, allocations: 12 kB / 499.5 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.454, allocations: 0 / 499.5 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.454, allocations: 7.969 kB / 499.5 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.4559, allocations: 1.386 MB / 0.4892 GB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4559, allocations: 4 kB / 0.4892 GB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.4562, allocations: 55.91 kB / 0.4892 GB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000339/0.4565, allocations: 137.6 kB / 0.4894 GB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.9e-05/0.4566, allocations: 15.98 kB / 0.4894 GB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1976/0.6542, allocations: 3.3 MB / 0.4926 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6542, allocations: 1.609 kB / 0.4926 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.656, allocations: 0.9276 MB / 0.4935 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.6563, allocations: 185.9 kB / 0.4937 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.6564, allocations: 21.98 kB / 0.4937 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.6568, allocations: 41.94 kB / 0.4938 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.657, allocations: 77.02 kB / 0.4938 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.657, allocations: 14.59 kB / 0.4938 GB, free: 103.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004683/0.6575, allocations: 349.9 kB / 0.4942 GB, free: 103.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6575, allocations: 2.375 kB / 0.4942 GB, free: 103.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001225/0.6587, allocations: 350.1 kB / 0.4945 GB, free: 103.5 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: 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_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001668/0.6604, allocations: 1.504 MB / 0.496 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.6624, allocations: 1.387 MB / 0.4973 GB, free: 102.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6624, allocations: 0 / 0.4973 GB, free: 102.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006187/0.663, allocations: 0.538 MB / 0.4979 GB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.6635, allocations: 108.5 kB / 0.498 GB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.6671, allocations: 4.671 MB / 0.5025 GB, free: 98.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.6676, allocations: 0.9565 MB / 0.5035 GB, free: 97.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003524/0.668, allocations: 90.97 kB / 0.5035 GB, free: 97.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.6683, allocations: 233.7 kB / 0.5038 GB, free: 97.73 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.6683, allocations: 0 / 0.5038 GB, free: 97.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.697, allocations: 15.35 MB / 0.5188 GB, free: 93.89 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.6972, allocations: 266.5 kB / 0.519 GB, free: 93.53 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.94, allocations: 0 / 0.519 GB, free: 93.53 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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_RLV_res.mat does not exist to compare? outputFormat=mat