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.001237/0.001237, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009266/0.0009267, allocations: 95.28 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.054e-05/2.059e-05, allocations: 4 kB / 343.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09779, allocations: 51.48 MB / 395.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4645/0.5624, allocations: 107.3 MB / 0.4908 GB, free: 1.969 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.5627, allocations: 88.02 kB / 0.4909 GB, free: 1.922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1008/0.6635, allocations: 36.83 MB / 0.5268 GB, free: 1.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6636, allocations: 3.938 kB / 0.5268 GB, free: 1.965 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001926/0.6638, allocations: 43.98 kB / 0.5269 GB, free: 1.922 MB / 394.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.004138/0.6679, allocations: 1.755 MB / 0.5286 GB, free: 116 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.668, allocations: 8.031 kB / 0.5286 GB, free: 108 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009801/0.6689, allocations: 261.5 kB / 0.5288 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.6718, allocations: 1.286 MB / 0.5301 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.177e-05/0.6719, allocations: 48 kB / 0.5301 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/0.6722, allocations: 95.91 kB / 0.5302 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002114/0.6743, allocations: 1.095 MB / 0.5313 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.677, allocations: 1.322 MB / 0.5326 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.126e-05/0.6771, allocations: 7.938 kB / 0.5326 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.6772, allocations: 7.953 kB / 0.5326 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/0.6773, allocations: 36 kB / 0.5327 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.6873, allocations: 6.186 MB / 0.5387 GB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.6889, allocations: 0.9265 MB / 0.5396 GB, free: 4.461 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008741/0.6898, allocations: 0.5376 MB / 0.5401 GB, free: 3.922 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.936e-05/0.6898, allocations: 12.78 kB / 0.5401 GB, free: 3.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008268/0.6907, allocations: 0.5317 MB / 0.5407 GB, free: 3.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=94): time 3.045e-06/0.6907, allocations: 4 kB / 0.5407 GB, free: 3.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.00419/0.6949, allocations: 2.292 MB / 0.5429 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.695, allocations: 192.7 kB / 0.5431 GB, free: 0.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.6967, allocations: 0.9976 MB / 0.5441 GB, free: 15.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.142e-05/0.6968, allocations: 29.7 kB / 0.5441 GB, free: 15.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006801/0.6975, allocations: 0.7833 MB / 0.5448 GB, free: 14.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.6977, allocations: 319.5 kB / 0.5452 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.6978, allocations: 4 kB / 0.5452 GB, free: 14.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.698, allocations: 353.9 kB / 0.5455 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006248/0.6986, allocations: 395.9 kB / 0.5459 GB, free: 13.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000881/0.6995, allocations: 0.8217 MB / 0.5467 GB, free: 12.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007387/0.7002, allocations: 498 kB / 0.5471 GB, free: 12.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.7002, allocations: 4 kB / 0.5472 GB, free: 12.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.002242/0.7025, allocations: 1.451 MB / 0.5486 GB, free: 10.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001823/0.7043, allocations: 5.067 MB / 0.5535 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.7044, allocations: 16 kB / 0.5535 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005696/0.7049, allocations: 203.1 kB / 0.5537 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.7061, allocations: 319.4 kB / 0.554 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/0.7099, allocations: 3.814 MB / 0.5578 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.7112, allocations: 147.8 kB / 0.5579 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.7114, allocations: 52 kB / 0.5579 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.7114, allocations: 11.95 kB / 0.558 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001987/0.7134, allocations: 1.275 MB / 0.5592 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.7134, allocations: 15.94 kB / 0.5592 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005007/0.7139, allocations: 213.9 kB / 0.5594 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.715, allocations: 311.5 kB / 0.5597 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/0.7187, allocations: 3.807 MB / 0.5634 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.7201, allocations: 131.9 kB / 0.5636 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.7203, allocations: 60 kB / 0.5636 GB, free: 10.57 MB / 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.0003632/0.7207, allocations: 157.8 kB / 0.5638 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001914/0.7226, allocations: 1.083 MB / 0.5648 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/0.7229, allocations: 134.5 kB / 0.565 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.7249, allocations: 1.137 MB / 0.5661 GB, free: 7.996 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.7249, allocations: 12 kB / 0.5661 GB, free: 7.984 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7249, allocations: 0 / 0.5661 GB, free: 7.984 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.7249, allocations: 7.969 kB / 0.5661 GB, free: 7.977 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004415/0.7294, allocations: 2.491 MB / 0.5685 GB, free: 5.402 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.7294, allocations: 4 kB / 0.5685 GB, free: 5.398 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007935/0.7302, allocations: 171.9 kB / 0.5687 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005422/0.7308, allocations: 185.6 kB / 0.5689 GB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/0.7309, allocations: 15.98 kB / 0.5689 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003738/0.7346, allocations: 3.676 MB / 0.5725 GB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7346, allocations: 0 / 0.5725 GB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2288/0.9635, allocations: 1.749 MB / 0.5742 GB, free: 97.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007727/0.9643, allocations: 311.8 kB / 0.5745 GB, free: 97.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.9644, allocations: 12.08 kB / 0.5745 GB, free: 97.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008746/0.9653, allocations: 123.6 kB / 0.5746 GB, free: 97.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.9656, allocations: 108.1 kB / 0.5747 GB, free: 97.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.9656, allocations: 31 kB / 0.5747 GB, free: 97.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009726/0.9666, allocations: 0.7285 MB / 0.5754 GB, free: 97.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9666, allocations: 0 / 0.5754 GB, free: 97.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002047/0.9687, allocations: 0.5473 MB / 0.576 GB, free: 97.28 MB / 442.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_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.002413/0.9711, allocations: 2.843 MB / 0.5788 GB, free: 96.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.974, allocations: 2.251 MB / 0.581 GB, free: 95.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.974, allocations: 2.781 kB / 0.581 GB, free: 95.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.9751, allocations: 0.8153 MB / 0.5818 GB, free: 95.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.9763, allocations: 260.3 kB / 0.582 GB, free: 95.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/0.9812, allocations: 2.675 MB / 0.5846 GB, free: 94.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008136/0.982, allocations: 1.354 MB / 0.5859 GB, free: 93.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001348/0.9834, allocations: 441.8 kB / 0.5864 GB, free: 93.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/0.9839, allocations: 0.5969 MB / 0.5869 GB, free: 93.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.233e-06/0.9839, allocations: 0 / 0.5869 GB, free: 93.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06854/1.052, allocations: 32.77 MB / 0.6189 GB, free: 92.21 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/1.053, allocations: 207.4 kB / 0.6191 GB, free: 91.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/4.208, allocations: 0 / 0.6191 GB, free: 91.92 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