Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 179.8 kB / 8.478 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.037/1.037, allocations: 205.2 MB / 214.1 MB, free: 1.895 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008476/0.0008476, allocations: 79.41 kB / 262.1 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1314/0.1322, allocations: 52.99 MB / 315.1 MB, free: 22.94 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06592/0.1982, allocations: 47.57 MB / 362.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.3974, allocations: 87.38 MB / 450 MB, free: 8.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.3977, allocations: 83.25 kB / 450.1 MB, free: 8.387 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.03529/0.433, allocations: 13.91 MB / 464 MB, free: 12.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.433, allocations: 8 kB / 464 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.4333, allocations: 79.06 kB / 464.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008523/0.4341, allocations: 490.4 kB / 464.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.4342, allocations: 24 kB / 464.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.722e-05/0.4343, allocations: 39.98 kB / 464.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007473/0.435, allocations: 415.9 kB / 465.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008824/0.4359, allocations: 0.5481 MB / 465.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.436, allocations: 3.906 kB / 465.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.436, allocations: 4 kB / 465.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.436, allocations: 20 kB / 465.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.4392, allocations: 2.207 MB / 467.8 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008407/0.44, allocations: 472.6 kB / 468.3 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.4404, allocations: 253.7 kB / 468.5 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.4405, allocations: 11.81 kB / 468.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003738/0.4409, allocations: 282.4 kB / 468.8 MB, free: 8.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 2.465e-06/0.4409, allocations: 0 / 468.8 MB, free: 8.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.0007512/0.4416, allocations: 413.5 kB / 469.2 MB, free: 8.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.4417, allocations: 137 kB / 469.4 MB, free: 8.285 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.4421, allocations: 338.2 kB / 469.7 MB, free: 8.027 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.4422, allocations: 33.72 kB / 469.7 MB, free: 7.988 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.4423, allocations: 265.9 kB / 470 MB, free: 7.754 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.4424, allocations: 144.9 kB / 470.1 MB, free: 7.629 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.4425, allocations: 4 kB / 470.1 MB, free: 7.625 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4426, allocations: 357.7 kB / 470.5 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.4429, allocations: 151.1 kB / 470.6 MB, free: 7.203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.4432, allocations: 300.5 kB / 470.9 MB, free: 6.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.4434, allocations: 165.6 kB / 471.1 MB, free: 6.809 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4434, allocations: 0 / 471.1 MB, free: 6.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007279/0.4442, allocations: 0.5027 MB / 471.6 MB, free: 6.418 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004346/0.4446, allocations: 1.659 MB / 473.3 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.4446, allocations: 4 kB / 473.3 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002684/0.4449, allocations: 91.66 kB / 473.3 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.4453, allocations: 95.83 kB / 473.4 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.4466, allocations: 1.56 MB / 475 MB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.447, allocations: 67.62 kB / 475.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.4471, allocations: 23.75 kB / 475.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/0.4471, allocations: 4 kB / 475.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006196/0.4477, allocations: 428.8 kB / 475.5 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4477, allocations: 4 kB / 475.5 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.448, allocations: 79.25 kB / 475.6 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.4483, allocations: 104.2 kB / 475.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.4495, allocations: 1.558 MB / 477.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.4499, allocations: 67.61 kB / 477.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.4499, allocations: 23.64 kB / 477.3 MB, free: 0.8359 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.4501, allocations: 128 kB / 477.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.4502, allocations: 55.16 kB / 477.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.338e-05/0.4503, allocations: 51.77 kB / 477.6 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4503, allocations: 8 kB / 477.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4503, allocations: 0 / 477.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.4503, allocations: 0 / 477.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.4518, allocations: 1.169 MB / 478.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4518, allocations: 0 / 478.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.4521, allocations: 74.67 kB / 478.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/0.4523, allocations: 76.92 kB / 478.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.4524, allocations: 3.875 kB / 478.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.4536, allocations: 1.534 MB / 480.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4536, allocations: 4 kB / 480.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009024/0.4545, allocations: 0.7374 MB / 481.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001284/0.4558, allocations: 1.344 MB / 482.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.456, allocations: 161.6 kB / 482.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.297e-05/0.4561, allocations: 11.47 kB / 482.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.4565, allocations: 47.95 kB / 482.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.4566, allocations: 41 kB / 482.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.4566, allocations: 15.61 kB / 482.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002393/0.4569, allocations: 255.5 kB / 483 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001862/0.4587, allocations: 270.9 kB / 483.3 MB, free: 11.71 MB / 362.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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002011/0.4589, allocations: 120.1 kB / 483.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.4602, allocations: 0.8563 MB / 484.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4602, allocations: 4.062 kB / 484.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.4606, allocations: 330.8 kB / 484.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.4611, allocations: 63.42 kB / 484.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.463, allocations: 0.8757 MB / 485.5 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006093/0.4637, allocations: 0.9839 MB / 486.5 MB, free: 8.809 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4637, allocations: 0 / 486.5 MB, free: 8.809 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat