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_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",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.0012/0.0012, allocations: 180.2 kB / 8.48 MB, free: 1.871 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.066/1.066, allocations: 205.2 MB / 214.1 MB, free: 5.098 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.000861/0.0008612, allocations: 91.27 kB / 262.1 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1458/0.1467, allocations: 52.99 MB / 315.1 MB, free: 41.39 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05926/0.2059, allocations: 47.57 MB / 362.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2022/0.4082, allocations: 86.64 MB / 449.3 MB, free: 9.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.4084, allocations: 80.11 kB / 449.4 MB, free: 9.969 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.02968/0.4381, allocations: 13.46 MB / 462.8 MB, free: 4.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.4382, allocations: 8.25 kB / 462.8 MB, free: 4.559 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.4383, allocations: 82.92 kB / 462.9 MB, free: 4.516 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006108/0.4389, allocations: 475.8 kB / 463.4 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.4389, allocations: 23.23 kB / 463.4 MB, free: 4.195 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/0.439, allocations: 43.92 kB / 463.5 MB, free: 4.191 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006478/0.4397, allocations: 399.3 kB / 463.8 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007745/0.4405, allocations: 0.5243 MB / 464.4 MB, free: 4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.4405, allocations: 4.875 kB / 464.4 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.4405, allocations: 8.391 kB / 464.4 MB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4406, allocations: 17.66 kB / 464.4 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.4432, allocations: 2.162 MB / 466.6 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.4437, allocations: 341.7 kB / 466.9 MB, free: 2.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.4441, allocations: 246.8 kB / 467.1 MB, free: 2.621 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.4442, allocations: 4.094 kB / 467.1 MB, free: 2.621 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003332/0.4445, allocations: 268.3 kB / 467.4 MB, free: 2.496 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 1.583e-06/0.4445, allocations: 0 / 467.4 MB, free: 2.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006179/0.4451, allocations: 381.5 kB / 467.8 MB, free: 2.391 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.4452, allocations: 136.4 kB / 467.9 MB, free: 2.234 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.4455, allocations: 360.4 kB / 468.3 MB, free: 2.094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.4456, allocations: 32.05 kB / 468.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.4457, allocations: 252.4 kB / 468.5 MB, free: 1.871 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.4458, allocations: 138.1 kB / 468.7 MB, free: 1.773 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.4458, allocations: 0 / 468.7 MB, free: 1.773 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.585e-05/0.4459, allocations: 357.6 kB / 469 MB, free: 1.445 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.4461, allocations: 144 kB / 469.2 MB, free: 1.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.4464, allocations: 293.2 kB / 469.5 MB, free: 1.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.4466, allocations: 163.6 kB / 469.6 MB, free: 1.215 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4466, allocations: 5 kB / 469.6 MB, free: 1.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006952/0.4473, allocations: 0.4898 MB / 470.1 MB, free: 1.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003319/0.4477, allocations: 1.655 MB / 471.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4477, allocations: 4.438 kB / 471.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/0.4479, allocations: 81.77 kB / 471.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.4483, allocations: 93.33 kB / 471.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.4497, allocations: 1.553 MB / 473.5 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.4501, allocations: 76.66 kB / 473.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.4502, allocations: 25.05 kB / 473.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/0.4502, allocations: 3.188 kB / 473.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000616/0.4508, allocations: 415.1 kB / 474 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4508, allocations: 5.062 kB / 474 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.451, allocations: 77.31 kB / 474.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.4513, allocations: 83.56 kB / 474.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.4526, allocations: 1.559 MB / 475.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.453, allocations: 64.62 kB / 475.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.453, allocations: 27.77 kB / 475.8 MB, free: 12.54 MB / 330.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 (61): * Single equations (assignments): 60 * 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.0001335/0.4532, allocations: 130.5 kB / 475.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.4532, allocations: 51.34 kB / 476 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.4533, allocations: 52.14 kB / 476 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.4534, allocations: 12.31 kB / 476 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4534, allocations: 1.031 kB / 476 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4534, allocations: 1.031 kB / 476 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.4548, allocations: 1.115 MB / 477.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4548, allocations: 1.156 kB / 477.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.455, allocations: 51.92 kB / 477.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001939/0.4552, allocations: 77.27 kB / 477.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.4553, allocations: 2.438 kB / 477.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.4565, allocations: 1.534 MB / 478.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4565, allocations: 1.188 kB / 478.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009092/0.4574, allocations: 0.7141 MB / 479.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001246/0.4587, allocations: 1.266 MB / 480.8 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.4589, allocations: 163 kB / 481 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.861e-05/0.459, allocations: 7.984 kB / 481 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.4593, allocations: 39.78 kB / 481 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/0.4594, allocations: 38.69 kB / 481.1 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.4594, allocations: 11.81 kB / 481.1 MB, free: 8.738 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002498/0.4597, allocations: 260.5 kB / 481.3 MB, free: 8.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001952/0.4616, allocations: 266.8 kB / 481.6 MB, free: 8.289 MB / 330.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 (39): * Single equations (assignments): 33 * 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.0001558/0.4618, allocations: 125.1 kB / 481.7 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.4629, allocations: 0.8272 MB / 482.5 MB, free: 7.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4629, allocations: 4.125 kB / 482.5 MB, free: 7.512 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.4633, allocations: 312.9 kB / 482.8 MB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.4637, allocations: 68.05 kB / 482.9 MB, free: 7.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.4655, allocations: 0.8192 MB / 483.7 MB, free: 6.449 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/0.4661, allocations: 0.9635 MB / 484.7 MB, free: 5.469 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4661, allocations: 0 / 484.7 MB, free: 5.469 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.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_RL_res.mat does not exist to compare? outputFormat=mat