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.0009398/0.0009399, allocations: 181.1 kB / 17.01 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.516/1.516, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0008942/0.0008941, allocations: 96.16 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.000339, allocations: 8 kB / 328.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2757, allocations: 47.56 MB / 375.9 MB, free: 45.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.386, allocations: 87.93 MB / 463.9 MB, free: 8.598 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.3863, allocations: 87.95 kB / 463.9 MB, free: 8.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03466/0.421, allocations: 13.96 MB / 477.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4211, allocations: 0 / 477.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.276e-05/0.4211, allocations: 20 kB / 477.9 MB, free: 10.46 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.001638/0.4228, allocations: 0.9657 MB / 478.9 MB, free: 9.438 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.4228, allocations: 12.03 kB / 478.9 MB, free: 9.426 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.423, allocations: 106.5 kB / 479 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.4231, allocations: 86.97 kB / 479.1 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007499/0.4239, allocations: 0.4979 MB / 479.6 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/0.4239, allocations: 53.31 kB / 479.6 MB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.424, allocations: 67.98 kB / 479.7 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.4252, allocations: 0.7137 MB / 480.4 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.4253, allocations: 0 / 480.4 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.198e-05/0.4253, allocations: 32 kB / 480.4 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.4254, allocations: 16 kB / 480.5 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009791/0.4264, allocations: 0.5321 MB / 481 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.4299, allocations: 2.666 MB / 483.7 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.4309, allocations: 0.589 MB / 484.2 MB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.431, allocations: 4.438 kB / 484.3 MB, free: 3.855 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00057/0.4316, allocations: 370 kB / 484.6 MB, free: 3.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 2.084e-06/0.4316, allocations: 3.938 kB / 484.6 MB, free: 3.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001996/0.4336, allocations: 0.9835 MB / 485.6 MB, free: 2.441 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.4337, allocations: 111.4 kB / 485.7 MB, free: 2.309 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000539/0.4342, allocations: 449 kB / 486.1 MB, free: 1.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.4343, allocations: 45.7 kB / 486.2 MB, free: 1.812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.4345, allocations: 324.3 kB / 486.5 MB, free: 1.492 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.4346, allocations: 173.6 kB / 486.7 MB, free: 1.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.4346, allocations: 8 kB / 486.7 MB, free: 1.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4348, allocations: 370.9 kB / 487 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.4352, allocations: 205.2 kB / 487.2 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.4356, allocations: 376.1 kB / 487.6 MB, free: 320 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.436, allocations: 222.1 kB / 487.8 MB, free: 96 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.436, allocations: 0 / 487.8 MB, free: 96 kB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001181/0.4372, allocations: 0.7072 MB / 488.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007058/0.4379, allocations: 1.57 MB / 490.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4379, allocations: 11.94 kB / 490.1 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/0.4384, allocations: 141.6 kB / 490.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.4388, allocations: 95.83 kB / 490.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003307/0.4421, allocations: 3.475 MB / 493.8 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/0.4425, allocations: 95.55 kB / 493.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.4426, allocations: 20 kB / 493.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.625e-06/0.4426, allocations: 4 kB / 493.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009954/0.4436, allocations: 0.6041 MB / 494.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4436, allocations: 4.5 kB / 494.6 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003477/0.444, allocations: 150.2 kB / 494.7 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.4443, allocations: 91.83 kB / 494.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.4473, allocations: 3.487 MB / 498.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.4477, allocations: 79.45 kB / 498.4 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.4477, allocations: 24 kB / 498.4 MB, free: 4.859 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 (67): * Single equations (assignments): 65 * 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.0004765/0.4482, allocations: 318 kB / 498.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.4483, allocations: 59.25 kB / 498.7 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.4485, allocations: 69.52 kB / 498.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4485, allocations: 11.94 kB / 498.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4485, allocations: 0 / 498.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4485, allocations: 3.953 kB / 498.8 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.4506, allocations: 1.394 MB / 0.4885 GB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4506, allocations: 0 / 0.4885 GB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.4508, allocations: 51.91 kB / 0.4885 GB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003557/0.4512, allocations: 145.6 kB / 0.4887 GB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.4513, allocations: 12 kB / 0.4887 GB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2103/0.6616, allocations: 3.298 MB / 0.4919 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6617, allocations: 0.5 kB / 0.4919 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.6638, allocations: 0.9268 MB / 0.4928 GB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.6641, allocations: 194.7 kB / 0.493 GB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.6642, allocations: 13.38 kB / 0.493 GB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.6646, allocations: 42.95 kB / 0.4931 GB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/0.6648, allocations: 76.66 kB / 0.4931 GB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.6649, allocations: 17.22 kB / 0.4932 GB, free: 103.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005405/0.6654, allocations: 343.4 kB / 0.4935 GB, free: 103.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6654, allocations: 4.062 kB / 0.4935 GB, free: 103.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00128/0.6667, allocations: 333.1 kB / 0.4938 GB, free: 103.8 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 (43): * Single equations (assignments): 36 * 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.001729/0.6684, allocations: 1.512 MB / 0.4953 GB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.6705, allocations: 1.382 MB / 0.4966 GB, free: 102.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6705, allocations: 0 / 0.4966 GB, free: 102.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006412/0.6711, allocations: 0.5251 MB / 0.4971 GB, free: 102.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.6717, allocations: 111.3 kB / 0.4972 GB, free: 102.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.6753, allocations: 4.617 MB / 0.5018 GB, free: 98.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.6758, allocations: 0.9527 MB / 0.5027 GB, free: 98.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000335/0.6762, allocations: 84.89 kB / 0.5028 GB, free: 98.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.6764, allocations: 228.9 kB / 0.503 GB, free: 98.03 MB / 378.7 MB Notification: Performance of SimCode: time 1.723e-06/0.6765, allocations: 4 kB / 0.503 GB, free: 98.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.7061, allocations: 15.17 MB / 0.5178 GB, free: 94.32 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/0.7063, allocations: 269.6 kB / 0.5181 GB, free: 93.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.997, allocations: 7.844 kB / 0.5181 GB, free: 93.94 MB / 378.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