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_Characteristic.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_Characteristic,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",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.001195/0.001195, allocations: 172.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.481/1.481, 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.000843/0.0008431, allocations: 86.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.395e-05, allocations: 0 / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0854/0.08546, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3147/0.4002, allocations: 88.54 MB / 458.7 MB, free: 4.828 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.4005, allocations: 86.27 kB / 458.7 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03827/0.4388, allocations: 14.44 MB / 473.2 MB, free: 7.676 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4389, allocations: 0 / 473.2 MB, free: 7.676 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.029e-05/0.4389, allocations: 27.88 kB / 473.2 MB, free: 7.648 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001782/0.4407, allocations: 0.9206 MB / 474.1 MB, free: 6.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.4408, allocations: 12.03 kB / 474.2 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.4409, allocations: 110.5 kB / 474.3 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.4411, allocations: 87.31 kB / 474.3 MB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008401/0.442, allocations: 0.5141 MB / 474.9 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.556e-05/0.442, allocations: 54 kB / 474.9 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.4421, allocations: 71.98 kB / 475 MB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.4434, allocations: 0.7149 MB / 475.7 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.4434, allocations: 4 kB / 475.7 MB, free: 5.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/0.4435, allocations: 27.98 kB / 475.7 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.4435, allocations: 16 kB / 475.7 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008973/0.4444, allocations: 0.5088 MB / 476.3 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003842/0.4483, allocations: 2.694 MB / 478.9 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.4494, allocations: 0.64 MB / 479.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008257/0.4503, allocations: 426.3 kB / 480 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.4503, allocations: 16.55 kB / 480 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005983/0.4509, allocations: 369.8 kB / 480.4 MB, free: 200 kB / 346.7 MB Notification: Performance of pre-optimization done (n=61): time 4.359e-06/0.451, allocations: 4 kB / 480.4 MB, free: 196 kB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.001021/0.452, allocations: 0.5703 MB / 481 MB, free: 15.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.4521, allocations: 111.4 kB / 481.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.4526, allocations: 415.9 kB / 481.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.4527, allocations: 45.7 kB / 481.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.4529, allocations: 320.3 kB / 481.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.453, allocations: 189.3 kB / 482 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.4531, allocations: 16 kB / 482 MB, free: 14.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4532, allocations: 378.7 kB / 482.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.4535, allocations: 193.5 kB / 482.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.454, allocations: 349.5 kB / 482.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.4543, allocations: 211.2 kB / 483.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4543, allocations: 4 kB / 483.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001143/0.4555, allocations: 0.7028 MB / 483.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005628/0.456, allocations: 1.571 MB / 485.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4561, allocations: 4 kB / 485.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004773/0.4565, allocations: 165.6 kB / 485.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.457, allocations: 107.8 kB / 485.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.4605, allocations: 3.585 MB / 489.3 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.4611, allocations: 83.56 kB / 489.3 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.4611, allocations: 24 kB / 489.4 MB, free: 6.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.4612, allocations: 4 kB / 489.4 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/0.4622, allocations: 0.6238 MB / 490 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4622, allocations: 4.125 kB / 490 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004497/0.4627, allocations: 161.9 kB / 490.2 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.463, allocations: 108 kB / 490.3 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003328/0.4664, allocations: 3.594 MB / 493.9 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.467, allocations: 83.56 kB / 493.9 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.467, allocations: 20 kB / 494 MB, free: 1.793 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 (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 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002556/0.4673, allocations: 172.9 kB / 494.1 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4674, allocations: 59.25 kB / 494.2 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.4676, allocations: 73.58 kB / 494.3 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/0.4677, allocations: 11.95 kB / 494.3 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4677, allocations: 0 / 494.3 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.4677, allocations: 3.984 kB / 494.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.4698, allocations: 1.423 MB / 495.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.4698, allocations: 11.98 kB / 495.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.4701, allocations: 71.89 kB / 495.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004226/0.4706, allocations: 149.6 kB / 495.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/0.4706, allocations: 12 kB / 495.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003193/0.4738, allocations: 3.515 MB / 499.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4738, allocations: 4.031 kB / 499.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.4754, allocations: 0.9679 MB / 0.4887 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/0.4757, allocations: 196.2 kB / 0.4889 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/0.4758, allocations: 12 kB / 0.4889 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.4762, allocations: 51.95 kB / 0.4889 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.4764, allocations: 84.39 kB / 0.489 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.4764, allocations: 16 kB / 0.489 GB, free: 10.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004004/0.4768, allocations: 321.6 kB / 0.4893 GB, free: 10.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4768, allocations: 0 / 0.4893 GB, free: 10.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001222/0.4781, allocations: 351 kB / 0.4897 GB, free: 9.922 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 (45): * Single equations (assignments): 38 * 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.001737/0.4798, allocations: 1.619 MB / 0.4913 GB, free: 8.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00206/0.4819, allocations: 1.411 MB / 0.4926 GB, free: 6.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4819, allocations: 0 / 0.4926 GB, free: 6.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.4826, allocations: 0.547 MB / 0.4932 GB, free: 6.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.4832, allocations: 113.1 kB / 0.4933 GB, free: 6.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.4856, allocations: 1.174 MB / 0.4944 GB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.4861, allocations: 0.9632 MB / 0.4954 GB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004468/0.4866, allocations: 112.8 kB / 0.4955 GB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.4869, allocations: 235.3 kB / 0.4957 GB, free: 3.566 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4869, allocations: 4 kB / 0.4957 GB, free: 3.562 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.5212, allocations: 16.64 MB / 0.512 GB, free: 2.891 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.5215, allocations: 249.5 kB / 0.5122 GB, free: 2.555 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/2.968, allocations: 0 / 0.5122 GB, free: 2.555 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.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_Characteristic_res.mat does not exist to compare? outputFormat=mat