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_Characteristic.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_Characteristic,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",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.002233/0.002232, allocations: 177.7 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 86.81 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.588e-05, allocations: 4 kB / 314.9 MB, free: 9.035 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3738, allocations: 47.56 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.5181, allocations: 87.89 MB / 450.3 MB, free: 14.3 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.5185, allocations: 83.94 kB / 450.4 MB, free: 14.21 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06308/0.5816, allocations: 14.29 MB / 464.7 MB, free: 15.93 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5816, allocations: 0 / 464.7 MB, free: 15.93 MB / 363.1 MB Notification: Performance of Transformations before backend: time 6.496e-05/0.5817, allocations: 23.94 kB / 464.7 MB, free: 15.91 MB / 363.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002719/0.5844, allocations: 0.9266 MB / 465.7 MB, free: 14.93 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5845, allocations: 12.03 kB / 465.7 MB, free: 14.92 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.5848, allocations: 90.97 kB / 465.8 MB, free: 14.83 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.5862, allocations: 0.5126 MB / 466.3 MB, free: 14.27 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.5862, allocations: 31.94 kB / 466.3 MB, free: 14.24 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.5864, allocations: 40 kB / 466.3 MB, free: 14.2 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001456/0.5879, allocations: 475.9 kB / 466.8 MB, free: 13.74 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.5895, allocations: 0.6249 MB / 467.4 MB, free: 13.09 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.5896, allocations: 0 / 467.4 MB, free: 13.09 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/0.5897, allocations: 4 kB / 467.4 MB, free: 13.09 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.5897, allocations: 16 kB / 467.5 MB, free: 13.07 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006325/0.5961, allocations: 2.561 MB / 470 MB, free: 10.4 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.5981, allocations: 0.6095 MB / 470.6 MB, free: 9.781 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.5993, allocations: 370.9 kB / 471 MB, free: 9.418 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.356e-05/0.5994, allocations: 5.312 kB / 471 MB, free: 9.414 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008807/0.6003, allocations: 356.7 kB / 471.3 MB, free: 9.047 MB / 363.1 MB Notification: Performance of pre-optimization done (n=61): time 3.116e-06/0.6003, allocations: 0 / 471.3 MB, free: 9.047 MB / 363.1 MB Notification: Performance of matching and sorting (n=61): time 0.001624/0.6019, allocations: 0.5197 MB / 471.9 MB, free: 8.512 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.602, allocations: 115.4 kB / 472 MB, free: 8.375 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.6028, allocations: 365.1 kB / 472.3 MB, free: 8.012 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.6029, allocations: 41.58 kB / 472.4 MB, free: 7.965 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/0.6033, allocations: 358.7 kB / 472.7 MB, free: 7.609 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.6035, allocations: 177.4 kB / 472.9 MB, free: 7.434 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.6036, allocations: 0 / 472.9 MB, free: 7.434 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.6038, allocations: 338.8 kB / 473.2 MB, free: 7.094 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000522/0.6043, allocations: 185.5 kB / 473.4 MB, free: 6.91 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006867/0.605, allocations: 335.9 kB / 473.7 MB, free: 6.523 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/0.6056, allocations: 194.1 kB / 473.9 MB, free: 6.332 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.6056, allocations: 4 kB / 473.9 MB, free: 6.328 MB / 363.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001731/0.6073, allocations: 0.5983 MB / 474.5 MB, free: 5.719 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007549/0.6081, allocations: 1.582 MB / 476.1 MB, free: 4.012 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.6081, allocations: 8 kB / 476.1 MB, free: 4.004 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000825/0.609, allocations: 149.6 kB / 476.3 MB, free: 3.852 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008139/0.6098, allocations: 111.8 kB / 476.4 MB, free: 3.742 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00527/0.6151, allocations: 3.5 MB / 479.9 MB, free: 16 kB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/0.616, allocations: 67.55 kB / 479.9 MB, free: 15.95 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.6161, allocations: 32.06 kB / 480 MB, free: 15.92 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.6162, allocations: 4 kB / 480 MB, free: 15.91 MB / 379.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001649/0.6178, allocations: 0.5344 MB / 480.5 MB, free: 15.38 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.6179, allocations: 4 kB / 480.5 MB, free: 15.37 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/0.6185, allocations: 157.9 kB / 480.7 MB, free: 15.21 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.6193, allocations: 103.8 kB / 480.8 MB, free: 15.11 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005223/0.6245, allocations: 3.476 MB / 484.2 MB, free: 11.4 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007049/0.6253, allocations: 59.62 kB / 484.3 MB, free: 11.34 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.493e-05/0.6254, allocations: 28 kB / 484.3 MB, free: 11.31 MB / 379.1 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 (67): * Single equations (assignments): 65 * 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.0002889/0.6257, allocations: 142 kB / 484.5 MB, free: 11.17 MB / 379.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001521/0.6272, allocations: 0.5158 MB / 485 MB, free: 10.64 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.6274, allocations: 55.34 kB / 485 MB, free: 10.59 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.6276, allocations: 73.58 kB / 485.1 MB, free: 10.52 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.6277, allocations: 12 kB / 485.1 MB, free: 10.5 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6277, allocations: 0 / 485.1 MB, free: 10.5 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.6277, allocations: 3.984 kB / 485.1 MB, free: 10.5 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.6309, allocations: 1.285 MB / 486.4 MB, free: 9.164 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6309, allocations: 0 / 486.4 MB, free: 9.164 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/0.6316, allocations: 75.89 kB / 486.5 MB, free: 9.09 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006946/0.6323, allocations: 142.4 kB / 486.6 MB, free: 8.945 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/0.6324, allocations: 11.98 kB / 486.6 MB, free: 8.934 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005136/0.6376, allocations: 3.399 MB / 490 MB, free: 5.309 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6376, allocations: 0 / 490 MB, free: 5.309 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.64, allocations: 0.8986 MB / 490.9 MB, free: 4.387 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/0.6405, allocations: 184.3 kB / 491.1 MB, free: 4.188 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.6406, allocations: 3.984 kB / 491.1 MB, free: 4.184 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/0.6413, allocations: 43.98 kB / 491.2 MB, free: 4.141 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/0.6416, allocations: 80.44 kB / 491.2 MB, free: 4.062 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.149e-05/0.6417, allocations: 19.98 kB / 491.3 MB, free: 4.043 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0005036/0.6422, allocations: 267 kB / 491.5 MB, free: 3.781 MB / 379.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6422, allocations: 0 / 491.5 MB, free: 3.781 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001794/0.644, allocations: 323 kB / 491.8 MB, free: 3.465 MB / 379.1 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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.002777/0.6468, allocations: 1.465 MB / 493.3 MB, free: 1.965 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.003207/0.6501, allocations: 1.308 MB / 494.6 MB, free: 0.6133 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.6502, allocations: 0 / 494.6 MB, free: 0.6133 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.6513, allocations: 0.5207 MB / 495.1 MB, free: 76 kB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/0.6523, allocations: 84.41 kB / 495.2 MB, free: 15.99 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.6564, allocations: 1.136 MB / 496.3 MB, free: 14.81 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000832/0.6573, allocations: 0.9622 MB / 497.3 MB, free: 13.82 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/0.6579, allocations: 231.4 kB / 497.5 MB, free: 13.59 MB / 395.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6579, allocations: 0 / 497.5 MB, free: 13.59 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.309/3.967, allocations: 16.59 MB / 0.5021 GB, free: 117.6 MB / 395.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.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_Characteristic_res.mat does not exist to compare? outputFormat=mat