Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 183.1 kB / 8.13 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.103/1.103, allocations: 221.4 MB / 229.9 MB, free: 3.074 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008968/0.0008968, allocations: 85.08 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08878/0.08971, allocations: 55.83 MB / 336.6 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.266, allocations: 50.4 MB / 387 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08028/0.3463, allocations: 80.99 MB / 468 MB, free: 5.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.3466, allocations: 87.89 kB / 468.1 MB, free: 5.695 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.01698/0.3635, allocations: 6.779 MB / 474.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3636, allocations: 8 kB / 474.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.477e-05/0.3637, allocations: 51.44 kB / 474.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.3642, allocations: 339.5 kB / 475.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.3642, allocations: 17.69 kB / 475.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.3643, allocations: 20 kB / 475.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004198/0.3647, allocations: 217.5 kB / 475.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.3652, allocations: 315.1 kB / 475.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3652, allocations: 0 / 475.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.3653, allocations: 7.984 kB / 475.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3653, allocations: 8 kB / 475.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.3671, allocations: 1.412 MB / 477.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.3674, allocations: 199.2 kB / 477.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.3677, allocations: 145.3 kB / 477.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.3677, allocations: 4.234 kB / 477.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.368, allocations: 186 kB / 477.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.368, allocations: 0 / 477.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005931/0.3686, allocations: 294 kB / 478.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3687, allocations: 106.8 kB / 478.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.3689, allocations: 231.4 kB / 478.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.369, allocations: 29.7 kB / 478.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.369, allocations: 180.3 kB / 478.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.53e-05/0.3691, allocations: 94.64 kB / 478.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.3691, allocations: 1.312 kB / 478.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3692, allocations: 354.7 kB / 479 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3694, allocations: 71.59 kB / 479.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.3696, allocations: 195.3 kB / 479.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3697, allocations: 94.64 kB / 479.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3697, allocations: 0 / 479.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005238/0.3703, allocations: 327.7 kB / 479.7 MB, free: 9.758 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3703, allocations: 8 kB / 479.7 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3703, allocations: 7.938 kB / 479.7 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002744/0.3706, allocations: 80.75 kB / 479.8 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.3708, allocations: 60.73 kB / 479.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.3723, allocations: 1.602 MB / 481.5 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.3725, allocations: 23.83 kB / 481.5 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.3726, allocations: 20.09 kB / 481.5 MB, free: 7.844 MB / 362.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_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.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.894e-05/0.3727, allocations: 120.9 kB / 481.6 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.3727, allocations: 39.56 kB / 481.7 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.916e-05/0.3728, allocations: 31.03 kB / 481.7 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3728, allocations: 0 / 481.7 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3728, allocations: 8 kB / 481.7 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3728, allocations: 3.984 kB / 481.7 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.3734, allocations: 0.5151 MB / 482.2 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3734, allocations: 0 / 482.2 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.3736, allocations: 27.98 kB / 482.2 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002213/0.3738, allocations: 80.75 kB / 482.3 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.3738, allocations: 3.984 kB / 482.3 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.3753, allocations: 1.596 MB / 483.9 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3754, allocations: 0 / 483.9 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007241/0.3761, allocations: 456.8 kB / 484.4 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009691/0.3771, allocations: 0.9373 MB / 485.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.3772, allocations: 136.6 kB / 485.4 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.3773, allocations: 4 kB / 485.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.3775, allocations: 11.98 kB / 485.5 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.3775, allocations: 19.97 kB / 485.5 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.3775, allocations: 15.98 kB / 485.5 MB, free: 3.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001578/0.3777, allocations: 179.1 kB / 485.7 MB, free: 3.426 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001009/0.3787, allocations: 99.69 kB / 485.8 MB, free: 3.328 MB / 362.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001737/0.3789, allocations: 123.1 kB / 485.9 MB, free: 3.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000527/0.3794, allocations: 330.1 kB / 486.2 MB, free: 2.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3795, allocations: 4 kB / 486.2 MB, free: 2.863 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.3798, allocations: 225.8 kB / 486.4 MB, free: 2.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.38, allocations: 49.02 kB / 486.5 MB, free: 2.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.3811, allocations: 488.4 kB / 487 MB, free: 2.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.3815, allocations: 0.8458 MB / 487.8 MB, free: 1.203 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3815, allocations: 0 / 487.8 MB, free: 1.203 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat