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_RLV.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,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",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.001486/0.001486, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.929/1.929, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001166/0.001166, allocations: 96.41 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005626/0.0005627, allocations: 12 kB / 327.1 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.341, allocations: 47.56 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.4832, allocations: 88.18 MB / 462.8 MB, free: 8.473 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/0.4836, allocations: 87.95 kB / 462.9 MB, free: 8.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06039/0.544, allocations: 14.22 MB / 477.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5441, allocations: 0 / 477.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.987e-05/0.5442, allocations: 24 kB / 477.2 MB, free: 10.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00301/0.5472, allocations: 0.9752 MB / 478.1 MB, free: 9.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.5473, allocations: 8.031 kB / 478.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003179/0.5476, allocations: 118.5 kB / 478.3 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.5479, allocations: 90.92 kB / 478.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.5492, allocations: 0.4985 MB / 478.8 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.019e-05/0.5493, allocations: 58 kB / 478.9 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.5495, allocations: 64 kB / 479 MB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.5516, allocations: 0.7459 MB / 479.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.5517, allocations: 0 / 479.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.5518, allocations: 28 kB / 479.7 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.5518, allocations: 19.98 kB / 479.8 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.5537, allocations: 0.5516 MB / 480.3 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006562/0.5603, allocations: 2.713 MB / 483 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.5622, allocations: 0.5986 MB / 483.6 MB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.341e-05/0.5623, allocations: 8.422 kB / 483.6 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009375/0.5633, allocations: 357.8 kB / 484 MB, free: 2.965 MB / 362.7 MB Notification: Performance of pre-optimization done (n=58): time 3.266e-06/0.5633, allocations: 0 / 484 MB, free: 2.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.0038/0.5671, allocations: 0.9951 MB / 485 MB, free: 1.922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.5672, allocations: 115.3 kB / 485.1 MB, free: 1.785 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.5683, allocations: 457.1 kB / 485.5 MB, free: 1.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.5685, allocations: 41.69 kB / 485.6 MB, free: 1.285 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.5688, allocations: 362.7 kB / 485.9 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.5691, allocations: 177.5 kB / 486.1 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.5692, allocations: 16 kB / 486.1 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5693, allocations: 338.8 kB / 486.4 MB, free: 408 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000711/0.5701, allocations: 213.2 kB / 486.7 MB, free: 196 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008695/0.571, allocations: 364.1 kB / 487 MB, free: 15.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.5717, allocations: 230.1 kB / 487.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.5717, allocations: 0 / 487.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00205/0.5738, allocations: 0.6802 MB / 487.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006764/0.5745, allocations: 1.574 MB / 489.5 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.5745, allocations: 4 kB / 489.5 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00081/0.5753, allocations: 153.7 kB / 489.6 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/0.5761, allocations: 99.83 kB / 489.7 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00506/0.5812, allocations: 3.479 MB / 493.2 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009333/0.5822, allocations: 91.47 kB / 493.3 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/0.5822, allocations: 24 kB / 493.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.5823, allocations: 7.938 kB / 493.3 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001751/0.584, allocations: 0.6163 MB / 494 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.5841, allocations: 4 kB / 494 MB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006438/0.5847, allocations: 141.6 kB / 494.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.5854, allocations: 91.83 kB / 494.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004927/0.5903, allocations: 3.467 MB / 497.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/0.591, allocations: 67.72 kB / 497.7 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.136e-05/0.5911, allocations: 24 kB / 497.7 MB, free: 4.348 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000665/0.5918, allocations: 328.9 kB / 498.1 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.592, allocations: 67.2 kB / 498.1 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.5922, allocations: 65.61 kB / 498.2 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.5922, allocations: 4 kB / 498.2 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5923, allocations: 3.984 kB / 498.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.5923, allocations: 0 / 498.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.5957, allocations: 1.39 MB / 499.6 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.5958, allocations: 0 / 499.6 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.5963, allocations: 55.91 kB / 499.6 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000672/0.597, allocations: 137.6 kB / 499.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.185e-05/0.5971, allocations: 15.98 kB / 499.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2808/0.8779, allocations: 3.307 MB / 0.4913 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.878, allocations: 1.312 kB / 0.4913 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.8808, allocations: 0.9335 MB / 0.4922 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004555/0.8813, allocations: 188.7 kB / 0.4924 GB, free: 103.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.8815, allocations: 14.28 kB / 0.4924 GB, free: 103.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/0.8821, allocations: 44.38 kB / 0.4925 GB, free: 103.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/0.8825, allocations: 80.7 kB / 0.4925 GB, free: 103.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-05/0.8826, allocations: 13.75 kB / 0.4925 GB, free: 103.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007617/0.8833, allocations: 351.4 kB / 0.4929 GB, free: 103.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.8833, allocations: 2.344 kB / 0.4929 GB, free: 103.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001807/0.8852, allocations: 343.5 kB / 0.4932 GB, free: 103.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002888/0.8881, allocations: 1.5 MB / 0.4947 GB, free: 102.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003248/0.8914, allocations: 1.395 MB / 0.496 GB, free: 102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.8914, allocations: 2.156 kB / 0.496 GB, free: 102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.8926, allocations: 0.5338 MB / 0.4966 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009697/0.8936, allocations: 107.2 kB / 0.4967 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/0.8994, allocations: 4.69 MB / 0.5012 GB, free: 98.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.9, allocations: 0.9503 MB / 0.5022 GB, free: 97.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005725/0.9006, allocations: 241.4 kB / 0.5024 GB, free: 97.38 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.9006, allocations: 0 / 0.5024 GB, free: 97.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.894/3.794, allocations: 16.47 MB / 0.5185 GB, free: 92.95 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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_RLV_res.mat does not exist to compare? outputFormat=mat