Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002145/0.002145, allocations: 181.5 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.2 MB / 219.4 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.001484/0.001484, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.123e-05, allocations: 4 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09752, allocations: 47.58 MB / 369.2 MB, free: 2.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.427/0.5245, allocations: 87.83 MB / 457 MB, free: 5.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.5249, allocations: 88.38 kB / 457.1 MB, free: 5.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06258/0.5875, allocations: 13.93 MB / 471.1 MB, free: 9.188 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5876, allocations: 0 / 471.1 MB, free: 9.188 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.677e-05/0.5877, allocations: 23.98 kB / 471.1 MB, free: 9.164 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002659/0.5903, allocations: 0.8955 MB / 472 MB, free: 8.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.5904, allocations: 11.97 kB / 472 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002703/0.5907, allocations: 106.5 kB / 472.1 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.591, allocations: 86.97 kB / 472.2 MB, free: 8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.5923, allocations: 0.494 MB / 472.7 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.987e-05/0.5924, allocations: 53.31 kB / 472.7 MB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.5925, allocations: 64 kB / 472.8 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.5944, allocations: 0.6904 MB / 473.5 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.5945, allocations: 4 kB / 473.5 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.5946, allocations: 27.98 kB / 473.5 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.5946, allocations: 16 kB / 473.5 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.5961, allocations: 497.1 kB / 474 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006521/0.6026, allocations: 2.67 MB / 476.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.6045, allocations: 0.5764 MB / 477.3 MB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.6059, allocations: 386 kB / 477.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-05/0.606, allocations: 8.438 kB / 477.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009528/0.607, allocations: 349.7 kB / 478 MB, free: 1.977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 4.018e-06/0.607, allocations: 0 / 478 MB, free: 1.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.001712/0.6087, allocations: 0.5352 MB / 478.5 MB, free: 1.426 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.6089, allocations: 115.4 kB / 478.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000969/0.6098, allocations: 427.8 kB / 479 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.61, allocations: 49.69 kB / 479.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.6104, allocations: 350.8 kB / 479.4 MB, free: 480 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.6107, allocations: 181.5 kB / 479.6 MB, free: 296 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.6107, allocations: 8 kB / 479.6 MB, free: 288 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.6109, allocations: 346.7 kB / 480 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/0.6115, allocations: 185.5 kB / 480.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007238/0.6123, allocations: 345.6 kB / 480.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/0.6129, allocations: 211.2 kB / 480.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.6129, allocations: 0 / 480.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001933/0.6149, allocations: 0.6568 MB / 481.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007737/0.6157, allocations: 1.569 MB / 482.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.6157, allocations: 8 kB / 482.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008683/0.6166, allocations: 165.6 kB / 483.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007403/0.6174, allocations: 91.83 kB / 483.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00575/0.6231, allocations: 3.599 MB / 486.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009753/0.6242, allocations: 87.48 kB / 486.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/0.6243, allocations: 28.06 kB / 486.9 MB, free: 8.543 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6243, allocations: 4 kB / 486.9 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001786/0.6261, allocations: 0.6085 MB / 487.5 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.6262, allocations: 7.938 kB / 487.5 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006967/0.6269, allocations: 153.6 kB / 487.7 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.6275, allocations: 83.84 kB / 487.7 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005746/0.6333, allocations: 3.588 MB / 491.3 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.6341, allocations: 75.61 kB / 491.4 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/0.6342, allocations: 27.94 kB / 491.4 MB, free: 3.715 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 (65): * Single equations (assignments): 63 * 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.000334/0.6345, allocations: 164.8 kB / 491.6 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.6348, allocations: 55.34 kB / 491.6 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.635, allocations: 69.59 kB / 491.7 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.635, allocations: 4 kB / 491.7 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6351, allocations: 0 / 491.7 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.6351, allocations: 3.984 kB / 491.7 MB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.6389, allocations: 1.41 MB / 493.1 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.639, allocations: 0 / 493.1 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/0.6395, allocations: 47.91 kB / 493.2 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007456/0.6403, allocations: 153.6 kB / 493.3 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.713e-05/0.6404, allocations: 12 kB / 493.3 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00579/0.6462, allocations: 3.518 MB / 496.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6463, allocations: 0 / 496.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/0.649, allocations: 0.9327 MB / 497.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/0.6496, allocations: 188.3 kB / 498 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.6498, allocations: 15.94 kB / 498 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006962/0.6505, allocations: 43.97 kB / 498 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/0.6508, allocations: 72.45 kB / 498.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.197e-05/0.6509, allocations: 19.98 kB / 498.1 MB, free: 12.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007006/0.6516, allocations: 329.6 kB / 498.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6516, allocations: 192 / 498.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001862/0.6535, allocations: 335.1 kB / 498.8 MB, free: 11.97 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 (41): * Single equations (assignments): 34 * 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.003246/0.6568, allocations: 1.591 MB / 0.4886 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003504/0.6604, allocations: 1.353 MB / 0.4899 GB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.6604, allocations: 0 / 0.4899 GB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.6617, allocations: 0.5478 MB / 0.4905 GB, free: 8.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.6627, allocations: 104.9 kB / 0.4906 GB, free: 8.262 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.6667, allocations: 1.11 MB / 0.4917 GB, free: 7.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007712/0.6675, allocations: 0.9467 MB / 0.4926 GB, free: 6.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005655/0.6681, allocations: 235.3 kB / 0.4928 GB, free: 5.898 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6681, allocations: 7.938 kB / 0.4928 GB, free: 5.891 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.081/3.749, allocations: 16.36 MB / 0.5088 GB, free: 5.516 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat does not exist to compare? outputFormat=mat