Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",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.000975/0.000975, allocations: 174.8 kB / 8.476 MB, free: 1.875 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.092/1.092, allocations: 205.2 MB / 214.1 MB, free: 5.109 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.0008494/0.0008496, allocations: 83.28 kB / 262.1 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1482/0.1491, allocations: 52.99 MB / 315.1 MB, free: 41.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06364/0.2127, allocations: 47.57 MB / 362.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/0.4267, allocations: 83.2 MB / 445.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001726/0.4269, allocations: 82.53 kB / 445.9 MB, free: 10.61 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.04972/0.4766, allocations: 22.09 MB / 468 MB, free: 1.898 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4767, allocations: 9.625 kB / 468 MB, free: 1.898 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004737/0.4771, allocations: 154.3 kB / 468.2 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.479, allocations: 0.9562 MB / 469.1 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.479, allocations: 37.16 kB / 469.2 MB, free: 1.371 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.4792, allocations: 67.06 kB / 469.2 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001877/0.4811, allocations: 1.251 MB / 470.5 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.4831, allocations: 1.355 MB / 471.8 MB, free: 0.793 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.4831, allocations: 5.219 kB / 471.8 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.931e-05/0.4832, allocations: 1.125 kB / 471.9 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/0.4833, allocations: 45.02 kB / 471.9 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006595/0.4899, allocations: 4.817 MB / 476.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009669/0.4909, allocations: 0.8294 MB / 477.5 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008949/0.4918, allocations: 0.718 MB / 478.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.4918, allocations: 8.641 kB / 478.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007013/0.4926, allocations: 0.5457 MB / 478.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.735e-06/0.4926, allocations: 0 / 478.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=72): time 0.00177/0.4943, allocations: 1.147 MB / 480 MB, free: 11.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4944, allocations: 85.77 kB / 480 MB, free: 11.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009596/0.4954, allocations: 0.776 MB / 480.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.4954, allocations: 29.7 kB / 480.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.4957, allocations: 409.8 kB / 481.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.4959, allocations: 225.2 kB / 481.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.496, allocations: 3.938 kB / 481.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4961, allocations: 331.5 kB / 481.8 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.4966, allocations: 379.4 kB / 482.2 MB, free: 9.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.4972, allocations: 0.5112 MB / 482.7 MB, free: 9.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.4977, allocations: 416.9 kB / 483.1 MB, free: 8.812 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4977, allocations: 0 / 483.1 MB, free: 8.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00173/0.4995, allocations: 1.176 MB / 484.3 MB, free: 7.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.4995, allocations: 8 kB / 484.3 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4995, allocations: 4 kB / 484.3 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008416/0.5004, allocations: 399.9 kB / 484.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.5009, allocations: 111.1 kB / 484.8 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004412/0.5053, allocations: 3.7 MB / 488.5 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.5059, allocations: 67.41 kB / 488.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.506, allocations: 28.03 kB / 488.6 MB, free: 3.672 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 (58): * Single equations (assignments): 57 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.5062, allocations: 122.7 kB / 488.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.5063, allocations: 90.88 kB / 488.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.5066, allocations: 108.2 kB / 488.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5066, allocations: 8 kB / 488.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5066, allocations: 4 kB / 488.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.5066, allocations: 7.922 kB / 488.9 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003367/0.51, allocations: 2.333 MB / 491.2 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.51, allocations: 0 / 491.2 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.5105, allocations: 91.88 kB / 491.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000784/0.5113, allocations: 392.7 kB / 491.7 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/0.5113, allocations: 7.984 kB / 491.7 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004253/0.5156, allocations: 3.632 MB / 495.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5156, allocations: 4.125 kB / 495.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002488/0.5181, allocations: 1.856 MB / 497.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003219/0.5213, allocations: 2.884 MB / 0.4884 GB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005149/0.5219, allocations: 283.8 kB / 0.4886 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.522, allocations: 7.984 kB / 0.4886 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.5225, allocations: 27.97 kB / 0.4887 GB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.5227, allocations: 60.56 kB / 0.4887 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.5227, allocations: 19.91 kB / 0.4887 GB, free: 7.539 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0007896/0.5235, allocations: 0.6123 MB / 0.4893 GB, free: 6.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001436/0.525, allocations: 310.9 kB / 0.4896 GB, free: 6.625 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 (45): * Single equations (assignments): 41 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.000192/0.5252, allocations: 115.2 kB / 0.4898 GB, free: 6.504 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.5268, allocations: 1.105 MB / 0.4908 GB, free: 5.387 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5268, allocations: 4.125 kB / 0.4908 GB, free: 5.383 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009428/0.5278, allocations: 0.6902 MB / 0.4915 GB, free: 4.684 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008662/0.5287, allocations: 198.8 kB / 0.4917 GB, free: 4.492 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/0.5331, allocations: 2.107 MB / 0.4938 GB, free: 2.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/0.5342, allocations: 1.446 MB / 0.4952 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5342, allocations: 4 kB / 0.4952 GB, free: 0.875 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat