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.00159/0.00159, allocations: 181.7 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.053/2.053, allocations: 205.2 MB / 219.4 MB, free: 14.18 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.001079/0.001078, allocations: 90.62 kB / 267.5 MB, free: 14.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.307e-05, allocations: 4 kB / 321.6 MB, free: 17.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.09602, allocations: 47.57 MB / 369.2 MB, free: 2.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4232/0.5193, allocations: 88.08 MB / 457.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/0.5197, allocations: 85.5 kB / 457.4 MB, free: 5.129 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06193/0.5817, allocations: 14.2 MB / 471.6 MB, free: 8.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5817, allocations: 3.938 kB / 471.6 MB, free: 8.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.875e-05/0.5818, allocations: 27.88 kB / 471.6 MB, free: 8.637 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002529/0.5844, allocations: 0.9011 MB / 472.5 MB, free: 7.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.5844, allocations: 12.03 kB / 472.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002264/0.5847, allocations: 106.5 kB / 472.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.5849, allocations: 90.92 kB / 472.7 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.5862, allocations: 0.5064 MB / 473.2 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.5e-05/0.5863, allocations: 57.94 kB / 473.3 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.5865, allocations: 75.98 kB / 473.3 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.5884, allocations: 0.7031 MB / 474 MB, free: 6.055 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.5885, allocations: 11.89 kB / 474.1 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.5886, allocations: 28 kB / 474.1 MB, free: 6.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.5886, allocations: 16 kB / 474.1 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.5901, allocations: 0.501 MB / 474.6 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006579/0.5967, allocations: 2.701 MB / 477.3 MB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.5986, allocations: 0.5834 MB / 477.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.6, allocations: 410 kB / 478.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.769e-05/0.6001, allocations: 4.984 kB / 478.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009035/0.601, allocations: 365.7 kB / 478.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 2.955e-06/0.601, allocations: 0 / 478.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.001648/0.6027, allocations: 0.543 MB / 479.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.6028, allocations: 115.4 kB / 479.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/0.6038, allocations: 439.7 kB / 479.7 MB, free: 180 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.762e-05/0.6039, allocations: 41.7 kB / 479.8 MB, free: 132 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.6042, allocations: 366.7 kB / 480.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.6045, allocations: 181.5 kB / 480.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.6046, allocations: 12 kB / 480.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.6047, allocations: 334.8 kB / 480.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/0.6053, allocations: 189.5 kB / 480.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007323/0.6061, allocations: 353.4 kB / 481.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.6067, allocations: 211.2 kB / 481.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6067, allocations: 0 / 481.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00194/0.6086, allocations: 0.6607 MB / 482 MB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007796/0.6094, allocations: 1.569 MB / 483.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.6095, allocations: 8 kB / 483.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008572/0.6103, allocations: 161.6 kB / 483.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/0.6111, allocations: 95.83 kB / 483.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005749/0.6169, allocations: 3.599 MB / 487.5 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009928/0.6179, allocations: 87.62 kB / 487.6 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.618, allocations: 32.05 kB / 487.6 MB, free: 7.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.618, allocations: 4 kB / 487.6 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00181/0.6199, allocations: 0.6163 MB / 488.2 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.6199, allocations: 4 kB / 488.2 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/0.6206, allocations: 165.6 kB / 488.4 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.6213, allocations: 87.83 kB / 488.5 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005582/0.6269, allocations: 3.576 MB / 492 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/0.6277, allocations: 71.59 kB / 492.1 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.6277, allocations: 23.98 kB / 492.1 MB, free: 3.004 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 (66): * Single equations (assignments): 64 * 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.0003152/0.6281, allocations: 161 kB / 492.3 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.6283, allocations: 63.2 kB / 492.3 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.6286, allocations: 73.53 kB / 492.4 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.6286, allocations: 8 kB / 492.4 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.6286, allocations: 3.938 kB / 492.4 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.6286, allocations: 3.984 kB / 492.4 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/0.6322, allocations: 1.418 MB / 493.9 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-06/0.6322, allocations: 0 / 493.9 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.6327, allocations: 47.97 kB / 493.9 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007173/0.6335, allocations: 165.6 kB / 494.1 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.6335, allocations: 15.98 kB / 494.1 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005592/0.6391, allocations: 3.499 MB / 497.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-05/0.6392, allocations: 4.031 kB / 497.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.6422, allocations: 0.9444 MB / 498.5 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004699/0.6427, allocations: 192.3 kB / 498.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.6428, allocations: 23.88 kB / 498.7 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006543/0.6435, allocations: 43.97 kB / 498.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/0.6438, allocations: 76.44 kB / 498.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.6439, allocations: 19.98 kB / 498.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006831/0.6446, allocations: 329.6 kB / 499.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6446, allocations: 0 / 499.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002011/0.6466, allocations: 347.1 kB / 499.5 MB, free: 11.2 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 (42): * Single equations (assignments): 35 * 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.003071/0.6497, allocations: 1.599 MB / 0.4894 GB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003288/0.6531, allocations: 1.373 MB / 0.4907 GB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.6531, allocations: 0 / 0.4907 GB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.6543, allocations: 0.5432 MB / 0.4913 GB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009664/0.6553, allocations: 100.5 kB / 0.4914 GB, free: 7.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.6593, allocations: 1.153 MB / 0.4925 GB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/0.6602, allocations: 0.9545 MB / 0.4934 GB, free: 5.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/0.6608, allocations: 235.4 kB / 0.4936 GB, free: 5.055 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6608, allocations: 4 kB / 0.4936 GB, free: 5.051 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.26/3.921, allocations: 16.7 MB / 0.5099 GB, free: 4.32 MB / 394.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