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_RL.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_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",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.0009683/0.0009683, allocations: 171.9 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.515/1.515, 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.0008028/0.0008029, allocations: 86.64 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.461e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0877/0.08774, allocations: 47.58 MB / 370.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3198/0.4076, allocations: 87.83 MB / 458 MB, free: 5.535 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.4079, allocations: 82.52 kB / 458 MB, free: 5.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03534/0.4433, allocations: 13.95 MB / 472 MB, free: 8.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4433, allocations: 0 / 472 MB, free: 8.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.664e-05/0.4434, allocations: 23.94 kB / 472 MB, free: 8.844 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.001462/0.4449, allocations: 0.8839 MB / 472.9 MB, free: 7.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.4449, allocations: 12.03 kB / 472.9 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.4451, allocations: 110.5 kB / 473 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.4452, allocations: 90.97 kB / 473.1 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007393/0.446, allocations: 0.494 MB / 473.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.446, allocations: 49.31 kB / 473.6 MB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/0.4461, allocations: 75.92 kB / 473.7 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.4472, allocations: 0.6826 MB / 474.4 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.4473, allocations: 3.984 kB / 474.4 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.4473, allocations: 28 kB / 474.4 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.4474, allocations: 16 kB / 474.5 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008161/0.4482, allocations: 0.4893 MB / 474.9 MB, free: 5.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003691/0.4519, allocations: 2.662 MB / 477.6 MB, free: 3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009985/0.4529, allocations: 0.576 MB / 478.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007264/0.4536, allocations: 390 kB / 478.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.4537, allocations: 4.438 kB / 478.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005345/0.4542, allocations: 346.9 kB / 478.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 3.216e-06/0.4542, allocations: 0 / 478.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.0009395/0.4552, allocations: 0.5356 MB / 479.4 MB, free: 1.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.4553, allocations: 119.4 kB / 479.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/0.4558, allocations: 423.8 kB / 480 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/0.4559, allocations: 49.69 kB / 480 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.4561, allocations: 316.3 kB / 480.3 MB, free: 196 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.4562, allocations: 177.6 kB / 480.5 MB, free: 16 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.4563, allocations: 19.98 kB / 480.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4564, allocations: 370.7 kB / 480.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.4567, allocations: 189.5 kB / 481.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.4572, allocations: 345.6 kB / 481.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.4575, allocations: 199.3 kB / 481.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4575, allocations: 11.94 kB / 481.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001068/0.4586, allocations: 0.6798 MB / 482.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000503/0.4591, allocations: 1.578 MB / 483.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4591, allocations: 4 kB / 483.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00047/0.4596, allocations: 161.6 kB / 484 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.46, allocations: 91.83 kB / 484.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00334/0.4633, allocations: 3.603 MB / 487.7 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.4639, allocations: 95.39 kB / 487.8 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.464, allocations: 20 kB / 487.8 MB, free: 8.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.464, allocations: 4 kB / 487.8 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001014/0.465, allocations: 0.6047 MB / 488.4 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.465, allocations: 8 kB / 488.5 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003964/0.4654, allocations: 157.6 kB / 488.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.4657, allocations: 87.83 kB / 488.7 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/0.4691, allocations: 3.61 MB / 492.3 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/0.4695, allocations: 75.45 kB / 492.4 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.4696, allocations: 24 kB / 492.4 MB, free: 3.352 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 (65): * Single equations (assignments): 63 * 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.0002011/0.4698, allocations: 161.4 kB / 492.6 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.98e-05/0.4699, allocations: 59.25 kB / 492.6 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.4701, allocations: 65.58 kB / 492.7 MB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4701, allocations: 8 kB / 492.7 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4701, allocations: 0 / 492.7 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.4701, allocations: 3.984 kB / 492.7 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.4722, allocations: 1.411 MB / 494.1 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4722, allocations: 4 kB / 494.1 MB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.4725, allocations: 47.91 kB / 494.2 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003707/0.4728, allocations: 153.6 kB / 494.3 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.437e-05/0.4729, allocations: 15.98 kB / 494.3 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003325/0.4763, allocations: 3.502 MB / 497.8 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4763, allocations: 4.031 kB / 497.8 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.4776, allocations: 0.9327 MB / 498.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.4779, allocations: 196.2 kB / 498.9 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-05/0.478, allocations: 16 kB / 499 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.4784, allocations: 39.97 kB / 499 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.4786, allocations: 76.72 kB / 499.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.4787, allocations: 20 kB / 499.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004385/0.4791, allocations: 325.6 kB / 499.4 MB, free: 11.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4791, allocations: 3.938 kB / 499.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001107/0.4802, allocations: 339.1 kB / 499.8 MB, free: 11.6 MB / 378.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: 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 (41): * Single equations (assignments): 34 * 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.001739/0.482, allocations: 1.584 MB / 0.4896 GB, free: 9.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.484, allocations: 1.375 MB / 0.4909 GB, free: 8.547 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.484, allocations: 0 / 0.4909 GB, free: 8.547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006738/0.4847, allocations: 0.544 MB / 0.4915 GB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.4852, allocations: 101 kB / 0.4916 GB, free: 7.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.4875, allocations: 1.1 MB / 0.4926 GB, free: 6.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.488, allocations: 0.9514 MB / 0.4936 GB, free: 5.754 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003978/0.4884, allocations: 112.8 kB / 0.4937 GB, free: 5.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.4887, allocations: 219.4 kB / 0.4939 GB, free: 5.426 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4887, allocations: 7.938 kB / 0.4939 GB, free: 5.418 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.5218, allocations: 16.2 MB / 0.5097 GB, free: 5.195 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.522, allocations: 240 kB / 0.5099 GB, free: 4.875 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/2.829, allocations: 0 / 0.5099 GB, free: 4.875 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.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_RL_res.mat does not exist to compare? outputFormat=mat