Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.0009964/0.0009964, allocations: 195.2 kB / 8.536 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.146/1.146, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008042/0.0008042, allocations: 94.25 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09958/0.1004, allocations: 56.91 MB / 343.3 MB, free: 8.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09122/0.1916, allocations: 51.47 MB / 394.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2398/0.4315, allocations: 88.79 MB / 483.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.4318, allocations: 89.22 kB / 483.6 MB, free: 4.367 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.03677/0.4686, allocations: 14.4 MB / 498 MB, free: 8.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.4687, allocations: 8 kB / 498 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.469, allocations: 107 kB / 498.1 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007274/0.4698, allocations: 494.3 kB / 498.6 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.4698, allocations: 23.75 kB / 498.6 MB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.4699, allocations: 43.98 kB / 498.7 MB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007393/0.4707, allocations: 429.1 kB / 499.1 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008998/0.4716, allocations: 0.5592 MB / 499.6 MB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.4716, allocations: 3.875 kB / 499.6 MB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.4717, allocations: 8 kB / 499.6 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.4717, allocations: 18.25 kB / 499.7 MB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003334/0.475, allocations: 2.233 MB / 0.4901 GB, free: 5.152 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.4756, allocations: 379.4 kB / 0.4905 GB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004202/0.476, allocations: 245.6 kB / 0.4907 GB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.4761, allocations: 11.55 kB / 0.4907 GB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.4764, allocations: 280.8 kB / 0.491 GB, free: 4.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.424e-06/0.4765, allocations: 0 / 0.491 GB, free: 4.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.0007256/0.4772, allocations: 408.2 kB / 0.4914 GB, free: 4.176 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.4773, allocations: 166.2 kB / 0.4916 GB, free: 3.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.4777, allocations: 366.7 kB / 0.4919 GB, free: 3.703 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.4778, allocations: 31.58 kB / 0.4919 GB, free: 3.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.478, allocations: 273.4 kB / 0.4922 GB, free: 3.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4781, allocations: 133 kB / 0.4923 GB, free: 3.309 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.4781, allocations: 0 / 0.4923 GB, free: 3.309 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4783, allocations: 364.1 kB / 0.4927 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.4785, allocations: 163.1 kB / 0.4928 GB, free: 2.867 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.4789, allocations: 310 kB / 0.4931 GB, free: 2.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.4792, allocations: 172 kB / 0.4933 GB, free: 2.465 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4792, allocations: 3.906 kB / 0.4933 GB, free: 2.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008842/0.4801, allocations: 0.5196 MB / 0.4938 GB, free: 2.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005949/0.4807, allocations: 1.661 MB / 0.4954 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4807, allocations: 4 kB / 0.4954 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.481, allocations: 79.94 kB / 0.4955 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.4815, allocations: 100 kB / 0.4956 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.4829, allocations: 1.545 MB / 0.4971 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.4835, allocations: 83.55 kB / 0.4972 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.4835, allocations: 28.19 kB / 0.4972 GB, free: 14.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.38e-06/0.4835, allocations: 0 / 0.4972 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007173/0.4843, allocations: 440.2 kB / 0.4976 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4843, allocations: 8.203 kB / 0.4976 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.4845, allocations: 85.44 kB / 0.4977 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.4848, allocations: 91.33 kB / 0.4978 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.4862, allocations: 1.543 MB / 0.4993 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.4866, allocations: 71.64 kB / 0.4994 GB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.4867, allocations: 26.81 kB / 0.4994 GB, free: 12.49 MB / 378.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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.0001722/0.4869, allocations: 139.2 kB / 0.4995 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.487, allocations: 51.44 kB / 0.4996 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.4871, allocations: 52.98 kB / 0.4996 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4871, allocations: 7.984 kB / 0.4996 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4871, allocations: 0 / 0.4996 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4871, allocations: 7.891 kB / 0.4997 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.4888, allocations: 1.176 MB / 0.5008 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4888, allocations: 0 / 0.5008 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.4891, allocations: 59.06 kB / 0.5009 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.4893, allocations: 68.64 kB / 0.5009 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.4894, allocations: 7.188 kB / 0.5009 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.4907, allocations: 1.536 MB / 0.5024 GB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4908, allocations: 0 / 0.5024 GB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001113/0.4919, allocations: 0.7569 MB / 0.5032 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001438/0.4933, allocations: 1.34 MB / 0.5045 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.4936, allocations: 172.3 kB / 0.5046 GB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.946e-05/0.4936, allocations: 3.938 kB / 0.5047 GB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.494, allocations: 43.95 kB / 0.5047 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.4941, allocations: 36.39 kB / 0.5047 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.4942, allocations: 15.98 kB / 0.5047 GB, free: 7.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003162/0.4945, allocations: 271.2 kB / 0.505 GB, free: 7.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001982/0.4965, allocations: 275 kB / 0.5053 GB, free: 7.117 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: 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (41): * 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: 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.0002043/0.4967, allocations: 143.3 kB / 0.5054 GB, free: 6.977 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.498, allocations: 0.8744 MB / 0.5063 GB, free: 6.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.498, allocations: 0 / 0.5063 GB, free: 6.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.4984, allocations: 319.3 kB / 0.5066 GB, free: 5.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.4989, allocations: 63.67 kB / 0.5066 GB, free: 5.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.5008, allocations: 0.8781 MB / 0.5075 GB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006929/0.5015, allocations: 0.9797 MB / 0.5084 GB, free: 3.785 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5015, allocations: 0 / 0.5084 GB, free: 3.785 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat