Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 176.1 kB / 8.476 MB, free: 1.883 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.076/1.076, allocations: 205.2 MB / 214.1 MB, free: 5.453 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.0008346/0.0008345, allocations: 79.39 kB / 262.1 MB, free: 5.516 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1512/0.1521, allocations: 52.99 MB / 315.1 MB, free: 41.45 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06122/0.2133, allocations: 47.57 MB / 362.7 MB, free: 9.91 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.4134, allocations: 83.79 MB / 446.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.4137, allocations: 86.59 kB / 446.5 MB, free: 10.58 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.04745/0.4611, allocations: 21.28 MB / 467.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4612, allocations: 13.69 kB / 467.8 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000465/0.4617, allocations: 140.2 kB / 468 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003808/0.4655, allocations: 1.664 MB / 469.6 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.4655, allocations: 30.25 kB / 469.6 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.4657, allocations: 56.78 kB / 469.7 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00183/0.4676, allocations: 1.152 MB / 470.9 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.4695, allocations: 1.275 MB / 472.1 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.4695, allocations: 9.094 kB / 472.1 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.675e-05/0.4696, allocations: 1.156 kB / 472.1 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.346e-05/0.4697, allocations: 47.64 kB / 472.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005704/0.4754, allocations: 4.167 MB / 476.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.4765, allocations: 0.8917 MB / 477.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.4776, allocations: 0.7976 MB / 478 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.4776, allocations: 16.58 kB / 478.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006865/0.4783, allocations: 0.5513 MB / 478.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=75): time 2.354e-06/0.4783, allocations: 3.938 kB / 478.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=75): time 0.001802/0.4801, allocations: 1.2 MB / 479.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.4802, allocations: 118.9 kB / 479.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008149/0.481, allocations: 0.6675 MB / 480.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.4811, allocations: 29.14 kB / 480.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.4813, allocations: 371.3 kB / 481 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.4815, allocations: 238.3 kB / 481.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.4816, allocations: 0 / 481.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4817, allocations: 399.5 kB / 481.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/0.4822, allocations: 377.3 kB / 482 MB, free: 10.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.4827, allocations: 0.5107 MB / 482.5 MB, free: 9.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.4833, allocations: 426.8 kB / 482.9 MB, free: 9.367 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4833, allocations: 0 / 482.9 MB, free: 9.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0017/0.485, allocations: 1.229 MB / 484.1 MB, free: 8.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.485, allocations: 4 kB / 484.1 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.485, allocations: 4 kB / 484.1 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.4861, allocations: 489.6 kB / 484.6 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.4864, allocations: 91.89 kB / 484.7 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/0.4923, allocations: 4.79 MB / 489.5 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.4928, allocations: 63.45 kB / 489.6 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.4929, allocations: 31.97 kB / 489.6 MB, free: 2.992 MB / 330.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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.0001504/0.4931, allocations: 126.5 kB / 489.7 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.4932, allocations: 86.97 kB / 489.8 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.4934, allocations: 96.19 kB / 489.9 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.4934, allocations: 8 kB / 489.9 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.4934, allocations: 4 kB / 489.9 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4934, allocations: 3.984 kB / 489.9 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.4968, allocations: 2.438 MB / 492.4 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4968, allocations: 0 / 492.4 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.4971, allocations: 59.91 kB / 492.4 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.4982, allocations: 488.9 kB / 492.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.4982, allocations: 4 kB / 492.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005855/0.5041, allocations: 4.742 MB / 497.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5041, allocations: 0 / 497.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00228/0.5064, allocations: 1.872 MB / 499.5 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003024/0.5094, allocations: 2.876 MB / 0.4906 GB, free: 6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.5099, allocations: 264 kB / 0.4909 GB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.51, allocations: 15.89 kB / 0.4909 GB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.5105, allocations: 27.97 kB / 0.4909 GB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.5106, allocations: 52.58 kB / 0.491 GB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.5107, allocations: 19.98 kB / 0.491 GB, free: 5.609 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0006516/0.5113, allocations: 0.5264 MB / 0.4915 GB, free: 5.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001546/0.5129, allocations: 307 kB / 0.4918 GB, free: 4.785 MB / 346.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001831/0.5131, allocations: 127 kB / 0.4919 GB, free: 4.652 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.5148, allocations: 1.141 MB / 0.493 GB, free: 3.496 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5148, allocations: 0 / 0.493 GB, free: 3.496 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.5159, allocations: 0.7034 MB / 0.4937 GB, free: 2.785 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008958/0.5168, allocations: 200.6 kB / 0.4939 GB, free: 2.594 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.5203, allocations: 1.791 MB / 0.4956 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/0.5213, allocations: 1.385 MB / 0.497 GB, free: 15.36 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5213, allocations: 0 / 0.497 GB, free: 15.36 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat