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.001542/0.001542, allocations: 177.9 kB / 8.7 MB, free: 384 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.514/1.514, 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.0008103/0.0008103, allocations: 90.69 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.022e-05, allocations: 0 / 315.6 MB, free: 22.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09459/0.09463, allocations: 47.57 MB / 363.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3263/0.4209, allocations: 87.43 MB / 450.6 MB, free: 8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4212, allocations: 82.45 kB / 450.7 MB, free: 7.953 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03461/0.4558, allocations: 13.81 MB / 464.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4559, allocations: 0 / 464.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.878e-05/0.456, allocations: 23.94 kB / 464.5 MB, free: 12.46 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.001511/0.4575, allocations: 0.8838 MB / 465.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.4575, allocations: 8.031 kB / 465.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.4577, allocations: 90.97 kB / 465.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.4584, allocations: 0.503 MB / 466 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.4585, allocations: 27.44 kB / 466 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/0.4586, allocations: 43.94 kB / 466.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008095/0.4594, allocations: 461.1 kB / 466.5 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009756/0.4604, allocations: 0.5894 MB / 467.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.4604, allocations: 4 kB / 467.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.4605, allocations: 0 / 467.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.4605, allocations: 16 kB / 467.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003457/0.464, allocations: 2.531 MB / 469.7 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008847/0.4649, allocations: 0.5443 MB / 470.2 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005511/0.4655, allocations: 339.7 kB / 470.5 MB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.4655, allocations: 8.422 kB / 470.5 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004826/0.466, allocations: 324.4 kB / 470.9 MB, free: 7.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 2.484e-06/0.466, allocations: 0 / 470.9 MB, free: 7.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.000885/0.4669, allocations: 0.5021 MB / 471.4 MB, free: 6.887 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.467, allocations: 114.7 kB / 471.5 MB, free: 6.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.4674, allocations: 364.8 kB / 471.8 MB, free: 6.469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.4675, allocations: 37.31 kB / 471.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.4677, allocations: 316.5 kB / 472.2 MB, free: 6.195 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.4678, allocations: 166.1 kB / 472.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.4678, allocations: 0 / 472.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.468, allocations: 366.7 kB / 472.7 MB, free: 5.707 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.4683, allocations: 179.5 kB / 472.9 MB, free: 5.609 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.4686, allocations: 333.4 kB / 473.2 MB, free: 5.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.4689, allocations: 195.4 kB / 473.4 MB, free: 5.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.4689, allocations: 0 / 473.4 MB, free: 5.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009484/0.4699, allocations: 0.6147 MB / 474 MB, free: 4.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005463/0.4704, allocations: 1.572 MB / 475.6 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.4704, allocations: 4 kB / 475.6 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004703/0.4709, allocations: 166 kB / 475.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.4713, allocations: 103.6 kB / 475.8 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.4744, allocations: 3.493 MB / 479.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.4751, allocations: 75.56 kB / 479.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.4751, allocations: 23.12 kB / 479.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4752, allocations: 7.938 kB / 479.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008458/0.476, allocations: 0.5335 MB / 480 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.476, allocations: 4 kB / 480 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/0.4764, allocations: 153.1 kB / 480.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.4767, allocations: 90.83 kB / 480.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.4797, allocations: 3.495 MB / 483.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.4802, allocations: 59.81 kB / 483.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.4803, allocations: 27.23 kB / 483.8 MB, free: 11.56 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.0002062/0.4805, allocations: 136.9 kB / 483.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007445/0.4812, allocations: 0.5042 MB / 484.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.4813, allocations: 51.34 kB / 484.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.4815, allocations: 62.52 kB / 484.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4815, allocations: 4 kB / 484.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.4815, allocations: 4 kB / 484.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4815, allocations: 0 / 484.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.4833, allocations: 1.266 MB / 485.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4833, allocations: 0 / 485.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.4835, allocations: 43.97 kB / 485.9 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003721/0.4839, allocations: 153.6 kB / 486 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.484, allocations: 3.984 kB / 486 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/0.4871, allocations: 3.398 MB / 489.4 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4871, allocations: 0 / 489.4 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.4884, allocations: 0.8672 MB / 490.3 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.4886, allocations: 184.4 kB / 490.5 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.4887, allocations: 4 kB / 490.5 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.4891, allocations: 35.95 kB / 490.5 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.4892, allocations: 72.45 kB / 490.6 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.4893, allocations: 19.98 kB / 490.6 MB, free: 4.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003125/0.4896, allocations: 275 kB / 490.9 MB, free: 4.457 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4896, allocations: 0 / 490.9 MB, free: 4.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001186/0.4908, allocations: 303.2 kB / 491.2 MB, free: 4.16 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 (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.001556/0.4923, allocations: 1.457 MB / 492.6 MB, free: 2.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.4942, allocations: 1.29 MB / 493.9 MB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4942, allocations: 0 / 493.9 MB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006099/0.4948, allocations: 0.4945 MB / 494.4 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.4953, allocations: 91.59 kB / 494.5 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.4975, allocations: 1.045 MB / 495.5 MB, free: 15.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.498, allocations: 0.9473 MB / 496.5 MB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003736/0.4984, allocations: 100.6 kB / 496.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.4986, allocations: 223.3 kB / 496.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4987, allocations: 0 / 496.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03855/0.5372, allocations: 14.44 MB / 0.4993 GB, free: 15.89 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.5374, allocations: 197.8 kB / 0.4994 GB, free: 15.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/2.797, allocations: 0 / 0.4994 GB, free: 15.7 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