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.001147/0.001147, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 227.2 MB / 245 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008722/0.0008722, allocations: 95.69 kB / 297.2 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002543/0.0002544, allocations: 8 kB / 358 MB, free: 9.203 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1994, allocations: 51.48 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2887/0.4881, allocations: 108 MB / 0.5054 GB, free: 43.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.4884, allocations: 92.95 kB / 0.5055 GB, free: 43.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08789/0.5763, allocations: 37.31 MB / 0.5419 GB, free: 40.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5764, allocations: 0 / 0.5419 GB, free: 40.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001662/0.5766, allocations: 43.06 kB / 0.542 GB, free: 40.52 MB / 378.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.004775/0.5813, allocations: 2.11 MB / 0.544 GB, free: 39.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.5814, allocations: 7.812 kB / 0.544 GB, free: 39.19 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007871/0.5822, allocations: 225.3 kB / 0.5442 GB, free: 39.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.5832, allocations: 265.7 kB / 0.5445 GB, free: 38.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/0.5867, allocations: 1.394 MB / 0.5459 GB, free: 38.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.665e-05/0.5868, allocations: 124.7 kB / 0.546 GB, free: 38.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003316/0.5871, allocations: 150.5 kB / 0.5461 GB, free: 38.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.5899, allocations: 1.599 MB / 0.5477 GB, free: 37.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/0.5899, allocations: 7.188 kB / 0.5477 GB, free: 37.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.5901, allocations: 65.33 kB / 0.5477 GB, free: 37.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.5901, allocations: 35.16 kB / 0.5478 GB, free: 37.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.5921, allocations: 1.285 MB / 0.549 GB, free: 37.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007521/0.5996, allocations: 6.501 MB / 0.5554 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.6009, allocations: 0.9858 MB / 0.5563 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.601, allocations: 16.8 kB / 0.5564 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007452/0.6017, allocations: 0.5951 MB / 0.5569 GB, free: 33.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=94): time 2.565e-06/0.6017, allocations: 0 / 0.5569 GB, free: 33.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.005117/0.6068, allocations: 3.253 MB / 0.5601 GB, free: 32.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.6069, allocations: 193.7 kB / 0.5603 GB, free: 31.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.6086, allocations: 1.287 MB / 0.5616 GB, free: 31.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/0.6087, allocations: 58.19 kB / 0.5616 GB, free: 31.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/0.6092, allocations: 0.7807 MB / 0.5624 GB, free: 31.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.6094, allocations: 327.2 kB / 0.5627 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.6094, allocations: 28 kB / 0.5627 GB, free: 30.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.6095, allocations: 354.7 kB / 0.5631 GB, free: 30.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006898/0.6102, allocations: 469.2 kB / 0.5635 GB, free: 30.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007867/0.611, allocations: 0.8994 MB / 0.5644 GB, free: 29.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007838/0.6118, allocations: 0.5527 MB / 0.5649 GB, free: 29.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.6118, allocations: 7.156 kB / 0.5649 GB, free: 29.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.002115/0.6139, allocations: 1.671 MB / 0.5666 GB, free: 28.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006949/0.6146, allocations: 5.109 MB / 0.5715 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.6146, allocations: 11.72 kB / 0.5716 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004682/0.6151, allocations: 187.4 kB / 0.5717 GB, free: 23.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009506/0.6161, allocations: 318.3 kB / 0.572 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.6188, allocations: 3.83 MB / 0.5758 GB, free: 19.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.6199, allocations: 181 kB / 0.576 GB, free: 19.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.62, allocations: 54.78 kB / 0.576 GB, free: 19.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.62, allocations: 3.906 kB / 0.576 GB, free: 19.63 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001834/0.6218, allocations: 1.49 MB / 0.5775 GB, free: 18.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.6219, allocations: 11.72 kB / 0.5775 GB, free: 18.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.6223, allocations: 202.6 kB / 0.5777 GB, free: 18.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/0.6232, allocations: 306.2 kB / 0.578 GB, free: 18.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/0.6261, allocations: 3.823 MB / 0.5817 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.6275, allocations: 160.1 kB / 0.5818 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.6277, allocations: 54.81 kB / 0.5819 GB, free: 15.06 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 146 * 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%) 4} * Non-linear torn systems: 1 {4 13} Notification: Performance of prepare postOptimizeDAE: time 0.00112/0.6288, allocations: 0.5217 MB / 0.5824 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.6291, allocations: 143 kB / 0.5825 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.6312, allocations: 1.229 MB / 0.5837 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.6312, allocations: 11.81 kB / 0.5838 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.6312, allocations: 4 kB / 0.5838 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.6312, allocations: 7.938 kB / 0.5838 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004483/0.6357, allocations: 2.797 MB / 0.5865 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.6358, allocations: 1.312 kB / 0.5865 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/0.6366, allocations: 174.1 kB / 0.5867 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/0.6371, allocations: 179.1 kB / 0.5868 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.241e-05/0.6372, allocations: 27.67 kB / 0.5869 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.6401, allocations: 3.727 MB / 0.5905 GB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6401, allocations: 0 / 0.5905 GB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.6424, allocations: 1.919 MB / 0.5924 GB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/0.643, allocations: 331.4 kB / 0.5927 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.6433, allocations: 28 kB / 0.5927 GB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000918/0.6442, allocations: 143.7 kB / 0.5929 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.6444, allocations: 108.9 kB / 0.593 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/0.6445, allocations: 28 kB / 0.593 GB, free: 5.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00157/0.646, allocations: 0.9898 MB / 0.594 GB, free: 4.461 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6461, allocations: 0 / 0.594 GB, free: 4.461 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001973/0.648, allocations: 0.6523 MB / 0.5946 GB, free: 3.809 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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_n2.off,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 70 * 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%) 4} * Non-linear torn systems: 1 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002716/0.6508, allocations: 3.041 MB / 0.5976 GB, free: 0.707 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003595/0.6544, allocations: 2.459 MB / 0.6 GB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6544, allocations: 0 / 0.6 GB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.6556, allocations: 0.8674 MB / 0.6008 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.657, allocations: 312.5 kB / 0.6011 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.6673, allocations: 13.93 MB / 0.6147 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.6683, allocations: 1.356 MB / 0.616 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001119/0.6695, allocations: 307.4 kB / 0.6163 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009212/0.6704, allocations: 0.6203 MB / 0.6169 GB, free: 12.24 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.6704, allocations: 0 / 0.6169 GB, free: 12.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/0.7287, allocations: 35.68 MB / 0.6518 GB, free: 8.969 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.7289, allocations: 277.1 kB / 0.652 GB, free: 8.605 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/3.614, allocations: 0 / 0.652 GB, free: 8.605 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