Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_DC_Drive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_DC_Drive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001111, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009705/0.0009703, allocations: 86.72 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.137e-05, allocations: 0 / 350.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3559/0.4574, allocations: 107.9 MB / 0.4981 GB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.4577, allocations: 93.31 kB / 0.4982 GB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1028/0.5606, allocations: 37.29 MB / 0.5346 GB, free: 9.723 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5606, allocations: 0 / 0.5346 GB, free: 9.723 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001851/0.5608, allocations: 40 kB / 0.5347 GB, free: 9.684 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 373 * Number of variables: 373 Notification: Performance of Generate backend data structure: time 0.004448/0.5653, allocations: 1.761 MB / 0.5364 GB, free: 7.871 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5653, allocations: 16.03 kB / 0.5364 GB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006745/0.566, allocations: 218.3 kB / 0.5366 GB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.5672, allocations: 261.4 kB / 0.5369 GB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003609/0.5708, allocations: 1.286 MB / 0.5381 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.571, allocations: 118.9 kB / 0.5382 GB, free: 5.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004332/0.5714, allocations: 155.9 kB / 0.5384 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/0.5749, allocations: 1.543 MB / 0.5399 GB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.763e-05/0.575, allocations: 11.91 kB / 0.5399 GB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/0.5751, allocations: 59.95 kB / 0.54 GB, free: 4.074 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.5752, allocations: 36 kB / 0.54 GB, free: 4.039 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.5774, allocations: 1.19 MB / 0.5412 GB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/0.5881, allocations: 6.483 MB / 0.5475 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.5898, allocations: 0.9631 MB / 0.5484 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.591, allocations: 0.5977 MB / 0.549 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.491e-05/0.5911, allocations: 16.75 kB / 0.549 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009457/0.592, allocations: 0.5645 MB / 0.5496 GB, free: 9.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=94): time 3.206e-06/0.592, allocations: 0 / 0.5496 GB, free: 9.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.004941/0.597, allocations: 2.444 MB / 0.552 GB, free: 7.406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.5971, allocations: 196.7 kB / 0.5522 GB, free: 7.172 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.5995, allocations: 1.158 MB / 0.5533 GB, free: 6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.5997, allocations: 49.7 kB / 0.5533 GB, free: 5.945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006868/0.6004, allocations: 0.7919 MB / 0.5541 GB, free: 5.145 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.6006, allocations: 323.5 kB / 0.5544 GB, free: 4.824 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.6007, allocations: 28 kB / 0.5544 GB, free: 4.797 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6009, allocations: 361.9 kB / 0.5548 GB, free: 4.438 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000687/0.6016, allocations: 415.9 kB / 0.5552 GB, free: 4.031 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009763/0.6025, allocations: 0.8565 MB / 0.556 GB, free: 2.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000832/0.6034, allocations: 0.5185 MB / 0.5565 GB, free: 2.465 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.6034, allocations: 4 kB / 0.5565 GB, free: 2.461 MB / 426.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.002631/0.606, allocations: 1.592 MB / 0.5581 GB, free: 0.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002043/0.6081, allocations: 5.109 MB / 0.5631 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/0.6081, allocations: 12 kB / 0.5631 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006794/0.6088, allocations: 213.5 kB / 0.5633 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.61, allocations: 317.5 kB / 0.5636 GB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004076/0.6141, allocations: 3.915 MB / 0.5674 GB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.6159, allocations: 183.7 kB / 0.5676 GB, free: 6.484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/0.6162, allocations: 52 kB / 0.5676 GB, free: 6.434 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.6162, allocations: 8 kB / 0.5676 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002563/0.6188, allocations: 1.44 MB / 0.5691 GB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.354e-05/0.6188, allocations: 12 kB / 0.5691 GB, free: 4.949 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005261/0.6193, allocations: 215.7 kB / 0.5693 GB, free: 4.734 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.6204, allocations: 303.5 kB / 0.5696 GB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003769/0.6242, allocations: 3.927 MB / 0.5734 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.6256, allocations: 163.9 kB / 0.5736 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.6258, allocations: 52 kB / 0.5736 GB, free: 32 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (146): * Single equations (assignments): 144 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.2437/0.8695, allocations: 201.2 kB / 0.5738 GB, free: 97.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005029/0.87, allocations: 142.2 kB / 0.5739 GB, free: 97.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/0.8726, allocations: 1.23 MB / 0.5751 GB, free: 97.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.8727, allocations: 9.75 kB / 0.5751 GB, free: 97.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.8727, allocations: 1.906 kB / 0.5751 GB, free: 97.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.8727, allocations: 6.453 kB / 0.5751 GB, free: 97.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/0.877, allocations: 2.787 MB / 0.5779 GB, free: 97.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.8771, allocations: 6.031 kB / 0.5779 GB, free: 97.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007224/0.8778, allocations: 166 kB / 0.578 GB, free: 97.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004702/0.8783, allocations: 191.4 kB / 0.5782 GB, free: 97.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-05/0.8784, allocations: 33.33 kB / 0.5782 GB, free: 97.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003464/0.8818, allocations: 3.812 MB / 0.582 GB, free: 94.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8819, allocations: 0 / 0.582 GB, free: 94.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.8844, allocations: 1.881 MB / 0.5838 GB, free: 94.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000778/0.8852, allocations: 328.7 kB / 0.5841 GB, free: 94.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.8854, allocations: 33.98 kB / 0.5842 GB, free: 94.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008974/0.8863, allocations: 133.2 kB / 0.5843 GB, free: 94.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/0.8866, allocations: 108 kB / 0.5844 GB, free: 94.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.648e-05/0.8866, allocations: 30.27 kB / 0.5844 GB, free: 94.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001264/0.8879, allocations: 0.8677 MB / 0.5853 GB, free: 93.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8879, allocations: 1.688 kB / 0.5853 GB, free: 93.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002304/0.8902, allocations: 0.6487 MB / 0.5859 GB, free: 93.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 10 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,pulse2.twoPulse.filter[1].firstOrder.y,pulse2.twoPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twoPulse.filter[1].transferFunction[2].x_scaled[1],inductor.i,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,lMains.i) * Number of discrete variables: 20 (pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (75): * Single equations (assignments): 68 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.003186/0.8934, allocations: 3.129 MB / 0.589 GB, free: 92.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003343/0.8968, allocations: 2.406 MB / 0.5913 GB, free: 91.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.8968, allocations: 3.094 kB / 0.5913 GB, free: 91.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.8979, allocations: 0.8646 MB / 0.5921 GB, free: 91.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.8995, allocations: 304.5 kB / 0.5924 GB, free: 91.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/0.9044, allocations: 2.815 MB / 0.5952 GB, free: 90.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/0.9052, allocations: 1.357 MB / 0.5965 GB, free: 90.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001573/0.9067, allocations: 447.7 kB / 0.5969 GB, free: 90.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006463/0.9074, allocations: 0.6012 MB / 0.5975 GB, free: 90.17 MB / 442.7 MB Notification: Performance of SimCode: time 7.32e-07/0.9074, allocations: 0 / 0.5975 GB, free: 90.17 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07321/0.9806, allocations: 38.52 MB / 0.6351 GB, free: 87.94 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.9808, allocations: 239.2 kB / 0.6354 GB, free: 87.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.528/4.509, allocations: 0 / 0.6354 GB, free: 87.61 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_DC_Drive_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_DC_Drive.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive_res.mat does not exist to compare? outputFormat=mat