Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",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.001093/0.001093, allocations: 181.5 kB / 8.482 MB, free: 1.789 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.023/1.023, allocations: 205.2 MB / 214.1 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008367/0.0008367, allocations: 90.06 kB / 262.1 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.07773/0.07859, allocations: 53 MB / 315.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.2367, allocations: 47.56 MB / 362.6 MB, free: 45.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07358/0.3104, allocations: 79.72 MB / 442.4 MB, free: 6.191 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.3106, allocations: 75.95 kB / 442.4 MB, free: 6.117 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.01642/0.327, allocations: 6.569 MB / 449 MB, free: 15.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3271, allocations: 8 kB / 449 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.3272, allocations: 47.44 kB / 449.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.3276, allocations: 337.8 kB / 449.4 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3276, allocations: 12 kB / 449.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.3277, allocations: 27.91 kB / 449.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003836/0.3281, allocations: 209.5 kB / 449.6 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.3285, allocations: 314.8 kB / 449.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3286, allocations: 0 / 449.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.3286, allocations: 0 / 449.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.3286, allocations: 8 kB / 450 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.3304, allocations: 1.4 MB / 451.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.3307, allocations: 207.2 kB / 451.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.331, allocations: 138.1 kB / 451.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.331, allocations: 16.2 kB / 451.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.3312, allocations: 174.1 kB / 451.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.3313, allocations: 0 / 451.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005903/0.3319, allocations: 290.4 kB / 452.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.3319, allocations: 110.8 kB / 452.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.3321, allocations: 239.4 kB / 452.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.3322, allocations: 29.7 kB / 452.5 MB, free: 11.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.3323, allocations: 180.4 kB / 452.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.3323, allocations: 90.66 kB / 452.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.3324, allocations: 0 / 452.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.3325, allocations: 346.7 kB / 453.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3326, allocations: 70.88 kB / 453.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.3328, allocations: 191 kB / 453.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.3329, allocations: 91.92 kB / 453.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3329, allocations: 8 kB / 453.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000512/0.3334, allocations: 322.7 kB / 453.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3335, allocations: 4.469 kB / 453.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3335, allocations: 4 kB / 453.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/0.3337, allocations: 88.75 kB / 453.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.334, allocations: 59.91 kB / 454 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.3354, allocations: 1.605 MB / 455.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.3356, allocations: 27.83 kB / 455.6 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.381e-05/0.3356, allocations: 12 kB / 455.6 MB, free: 8.543 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 9.203e-05/0.3357, allocations: 128.8 kB / 455.7 MB, free: 8.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.3358, allocations: 27.62 kB / 455.7 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.3359, allocations: 47.06 kB / 455.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3359, allocations: 5.969 kB / 455.8 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.3359, allocations: 0 / 455.8 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.3359, allocations: 7.984 kB / 455.8 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.3364, allocations: 0.5073 MB / 456.3 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3364, allocations: 0 / 456.3 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.3366, allocations: 36.02 kB / 456.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002109/0.3368, allocations: 76.75 kB / 456.4 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.3368, allocations: 4 kB / 456.4 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.3382, allocations: 1.586 MB / 458 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3382, allocations: 0 / 458 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006909/0.3389, allocations: 456.5 kB / 458.5 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009274/0.3399, allocations: 0.9274 MB / 459.4 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.34, allocations: 136.6 kB / 459.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.3401, allocations: 0 / 459.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.3403, allocations: 15.98 kB / 459.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.3403, allocations: 19.97 kB / 459.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3404, allocations: 12 kB / 459.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000158/0.3405, allocations: 183.1 kB / 459.7 MB, free: 4.133 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009377/0.3415, allocations: 103.7 kB / 459.9 MB, free: 4.031 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.3416, allocations: 111.3 kB / 460 MB, free: 3.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005388/0.3422, allocations: 337.7 kB / 460.3 MB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3422, allocations: 0 / 460.3 MB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.3425, allocations: 236.7 kB / 460.5 MB, free: 3.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.3427, allocations: 52.89 kB / 460.6 MB, free: 3.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.3438, allocations: 477.3 kB / 461 MB, free: 2.785 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.3442, allocations: 0.8336 MB / 461.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3442, allocations: 4 kB / 461.9 MB, free: 1.922 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat