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.001026/0.001026, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008798/0.0008798, allocations: 87.48 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.835e-05, allocations: 4 kB / 315.6 MB, free: 22.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08719/0.08723, allocations: 47.58 MB / 363.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3227/0.41, allocations: 87.67 MB / 450.9 MB, free: 7.801 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4102, allocations: 84.58 kB / 450.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03601/0.4463, allocations: 14.07 MB / 465 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4463, allocations: 0 / 465 MB, free: 12.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.069e-05/0.4464, allocations: 23.94 kB / 465 MB, free: 12.05 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001974/0.4483, allocations: 0.9049 MB / 465.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.4484, allocations: 12.03 kB / 465.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.4486, allocations: 90.92 kB / 466 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00097/0.4496, allocations: 0.502 MB / 466.5 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.033e-05/0.4497, allocations: 27.94 kB / 466.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.4498, allocations: 43.94 kB / 466.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008628/0.4507, allocations: 470.9 kB / 467.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.4517, allocations: 0.6128 MB / 467.7 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.4518, allocations: 7.906 kB / 467.7 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.939e-05/0.4518, allocations: 4 kB / 467.7 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.4519, allocations: 16 kB / 467.7 MB, free: 9.746 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003921/0.4558, allocations: 2.567 MB / 470.3 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.4568, allocations: 0.5589 MB / 470.8 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006184/0.4575, allocations: 362.3 kB / 471.2 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.4575, allocations: 8.438 kB / 471.2 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005148/0.4581, allocations: 336.3 kB / 471.5 MB, free: 6.734 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 2.605e-06/0.4581, allocations: 0 / 471.5 MB, free: 6.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.0008565/0.4589, allocations: 0.4937 MB / 472 MB, free: 6.367 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.459, allocations: 126.8 kB / 472.1 MB, free: 6.223 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.4595, allocations: 367.1 kB / 472.5 MB, free: 5.941 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.4595, allocations: 32.83 kB / 472.5 MB, free: 5.906 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.4598, allocations: 328.7 kB / 472.8 MB, free: 5.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.4599, allocations: 172.1 kB / 473 MB, free: 5.512 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.4599, allocations: 0 / 473 MB, free: 5.512 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4601, allocations: 370.8 kB / 473.4 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.4604, allocations: 179.2 kB / 473.6 MB, free: 5.062 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.4607, allocations: 337.1 kB / 473.9 MB, free: 4.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.461, allocations: 197.8 kB / 474.1 MB, free: 4.641 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.461, allocations: 0 / 474.1 MB, free: 4.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009513/0.462, allocations: 0.6237 MB / 474.7 MB, free: 4.172 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005279/0.4625, allocations: 1.579 MB / 476.3 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.4625, allocations: 4 kB / 476.3 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004504/0.463, allocations: 153.7 kB / 476.4 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.4634, allocations: 99.31 kB / 476.5 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.4666, allocations: 3.499 MB / 480 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.4671, allocations: 71.62 kB / 480.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.4671, allocations: 30.98 kB / 480.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.4672, allocations: 4 kB / 480.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008583/0.468, allocations: 0.5319 MB / 480.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.468, allocations: 8 kB / 480.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/0.4684, allocations: 159 kB / 480.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.4687, allocations: 91.28 kB / 480.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/0.4718, allocations: 3.504 MB / 484.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/0.4722, allocations: 55.56 kB / 484.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.4723, allocations: 27.5 kB / 484.5 MB, free: 11 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 (66): * 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: 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 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.4725, allocations: 141.1 kB / 484.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007356/0.4732, allocations: 0.4981 MB / 485.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.4733, allocations: 55.34 kB / 485.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.4735, allocations: 58.8 kB / 485.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.4735, allocations: 8 kB / 485.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.4735, allocations: 7.938 kB / 485.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.4735, allocations: 7.938 kB / 485.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.4754, allocations: 1.274 MB / 486.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4754, allocations: 0 / 486.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.4757, allocations: 59.91 kB / 486.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003654/0.476, allocations: 141.6 kB / 486.7 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.4761, allocations: 3.938 kB / 486.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002946/0.479, allocations: 3.387 MB / 490.1 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.479, allocations: 0 / 490.1 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.4804, allocations: 0.8866 MB / 491 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.4806, allocations: 188.3 kB / 491.2 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.57e-05/0.4807, allocations: 4 kB / 491.2 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.4811, allocations: 32.03 kB / 491.2 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.4813, allocations: 84.39 kB / 491.3 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.4813, allocations: 12 kB / 491.3 MB, free: 4.008 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003371/0.4816, allocations: 286.9 kB / 491.6 MB, free: 3.727 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4816, allocations: 0 / 491.6 MB, free: 3.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001314/0.483, allocations: 319 kB / 491.9 MB, free: 3.414 MB / 362.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 35 * 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 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00162/0.4846, allocations: 1.446 MB / 493.4 MB, free: 1.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.4863, allocations: 1.302 MB / 494.7 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4863, allocations: 0 / 494.7 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005551/0.4869, allocations: 0.5022 MB / 495.2 MB, free: 72 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.4874, allocations: 80.59 kB / 495.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.4895, allocations: 1.076 MB / 496.3 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.49, allocations: 0.963 MB / 497.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000364/0.4904, allocations: 108.6 kB / 497.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.4906, allocations: 223.4 kB / 497.6 MB, free: 13.55 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4906, allocations: 0 / 497.6 MB, free: 13.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.5278, allocations: 14.62 MB / 0.5002 GB, free: 14.91 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.5281, allocations: 199 kB / 0.5004 GB, free: 14.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.769, allocations: 4.031 kB / 0.5004 GB, free: 14.64 MB / 394.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