Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",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.00104/0.001039, allocations: 200.3 kB / 8.54 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.158/1.158, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008706/0.0008706, allocations: 96.11 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09597/0.09687, allocations: 56.92 MB / 343.3 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08325/0.1801, allocations: 51.48 MB / 394.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2198/0.4, allocations: 85.62 MB / 480.4 MB, free: 7.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001663/0.4002, allocations: 93.8 kB / 480.4 MB, free: 7.75 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.04901/0.4492, allocations: 21.79 MB / 0.4905 GB, free: 5.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4493, allocations: 12 kB / 0.4905 GB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005868/0.4498, allocations: 182.3 kB / 0.4907 GB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003698/0.4536, allocations: 1.669 MB / 0.4923 GB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.4536, allocations: 36 kB / 0.4923 GB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.4538, allocations: 60.66 kB / 0.4924 GB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001747/0.4555, allocations: 1.146 MB / 0.4935 GB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.4573, allocations: 1.273 MB / 0.4947 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.4573, allocations: 0 / 0.4947 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.359e-05/0.4574, allocations: 7.938 kB / 0.4947 GB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/0.4575, allocations: 45.36 kB / 0.4948 GB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00575/0.4632, allocations: 4.19 MB / 0.4989 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.4644, allocations: 0.8861 MB / 0.4997 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.4655, allocations: 0.8051 MB / 0.5005 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.4656, allocations: 8.656 kB / 0.5005 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007312/0.4663, allocations: 0.5573 MB / 0.5011 GB, free: 12.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 1.953e-06/0.4663, allocations: 0 / 0.5011 GB, free: 12.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.00182/0.4682, allocations: 1.198 MB / 0.5023 GB, free: 10.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.4682, allocations: 115.5 kB / 0.5024 GB, free: 10.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008047/0.469, allocations: 0.6794 MB / 0.503 GB, free: 10.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.4691, allocations: 29.69 kB / 0.5031 GB, free: 10.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.4693, allocations: 379.8 kB / 0.5034 GB, free: 9.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.4695, allocations: 232.5 kB / 0.5036 GB, free: 9.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.4696, allocations: 4 kB / 0.5036 GB, free: 9.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4697, allocations: 394.7 kB / 0.504 GB, free: 9.102 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.4702, allocations: 377.4 kB / 0.5044 GB, free: 8.734 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.4708, allocations: 0.5177 MB / 0.5049 GB, free: 8.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.4714, allocations: 426.9 kB / 0.5053 GB, free: 7.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4714, allocations: 0 / 0.5053 GB, free: 7.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001704/0.4731, allocations: 1.233 MB / 0.5065 GB, free: 6.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.4731, allocations: 4 kB / 0.5065 GB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4731, allocations: 4 kB / 0.5065 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.4742, allocations: 484.1 kB / 0.507 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.4746, allocations: 99.88 kB / 0.5071 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005796/0.4804, allocations: 4.794 MB / 0.5117 GB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.4809, allocations: 59.5 kB / 0.5118 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.4809, allocations: 20 kB / 0.5118 GB, free: 0.9336 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 {6 32} Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.4811, allocations: 138.5 kB / 0.5119 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.4812, allocations: 82.97 kB / 0.512 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.4814, allocations: 100.3 kB / 0.5121 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.4814, allocations: 8 kB / 0.5121 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4814, allocations: 0 / 0.5121 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4814, allocations: 3.984 kB / 0.5121 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/0.4849, allocations: 2.446 MB / 0.5145 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.4849, allocations: 0 / 0.5145 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.4852, allocations: 71.89 kB / 0.5146 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009611/0.4862, allocations: 472.7 kB / 0.515 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.4862, allocations: 7.906 kB / 0.515 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005607/0.4919, allocations: 4.726 MB / 0.5197 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4919, allocations: 0 / 0.5197 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00222/0.4941, allocations: 1.872 MB / 0.5215 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003033/0.4971, allocations: 2.884 MB / 0.5243 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003856/0.4975, allocations: 275.7 kB / 0.5246 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.4977, allocations: 4 kB / 0.5246 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.4981, allocations: 27.97 kB / 0.5246 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.4983, allocations: 60.56 kB / 0.5247 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-05/0.4983, allocations: 16 kB / 0.5247 GB, free: 3.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000612/0.499, allocations: 0.538 MB / 0.5252 GB, free: 2.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001405/0.5004, allocations: 303 kB / 0.5255 GB, free: 2.688 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {6 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.000187/0.5006, allocations: 123.3 kB / 0.5256 GB, free: 2.559 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.5022, allocations: 1.128 MB / 0.5267 GB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5022, allocations: 4.188 kB / 0.5267 GB, free: 1.418 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.5033, allocations: 0.7105 MB / 0.5274 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/0.5041, allocations: 203.4 kB / 0.5276 GB, free: 0.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.5075, allocations: 1.793 MB / 0.5294 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009981/0.5085, allocations: 1.377 MB / 0.5307 GB, free: 13.26 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5085, allocations: 0 / 0.5307 GB, free: 13.26 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat