Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.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: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") [: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.001112/0.001112, allocations: 196.4 kB / 8.535 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 225.5 MB / 234.4 MB, free: 3.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008265/0.0008265, allocations: 93.95 kB / 286.3 MB, free: 5.215 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.694e-06/7.714e-06, allocations: 0 / 343.1 MB, free: 8.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08589/0.08592, allocations: 51.48 MB / 394.6 MB, free: 5.215 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2725/0.3584, allocations: 126.2 MB / 0.5086 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.3587, allocations: 86.2 kB / 0.5087 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1423/0.501, allocations: 54.97 MB / 0.5624 GB, free: 13.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003128/0.5014, allocations: 67.94 kB / 0.5625 GB, free: 13.29 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.006729/0.5081, allocations: 2.593 MB / 0.565 GB, free: 10.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.5082, allocations: 8.031 kB / 0.565 GB, free: 10.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.5103, allocations: 436 kB / 0.5654 GB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004352/0.5147, allocations: 1.754 MB / 0.5671 GB, free: 8.391 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.5149, allocations: 76 kB / 0.5672 GB, free: 8.316 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006223/0.5155, allocations: 147.9 kB / 0.5673 GB, free: 8.172 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004642/0.5202, allocations: 2.262 MB / 0.5696 GB, free: 5.902 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005374/0.5255, allocations: 2.651 MB / 0.5721 GB, free: 3.094 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.83e-05/0.5257, allocations: 23.83 kB / 0.5722 GB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/0.526, allocations: 4 kB / 0.5722 GB, free: 3.066 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.419e-05/0.5261, allocations: 96.59 kB / 0.5723 GB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1949/0.7209, allocations: 9.89 MB / 0.5819 GB, free: 65.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.7224, allocations: 1.11 MB / 0.583 GB, free: 65.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.7238, allocations: 1.173 MB / 0.5841 GB, free: 65.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/0.7241, allocations: 137.5 kB / 0.5843 GB, free: 65.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.7241, allocations: 52.91 kB / 0.5843 GB, free: 64.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 3.056e-06/0.7241, allocations: 3.875 kB / 0.5843 GB, free: 64.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.01092/0.7351, allocations: 5.855 MB / 0.5901 GB, free: 64.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.7352, allocations: 176.2 kB / 0.5902 GB, free: 63.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.737, allocations: 1.344 MB / 0.5915 GB, free: 63.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.7372, allocations: 25.7 kB / 0.5916 GB, free: 63.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.7375, allocations: 0.8953 MB / 0.5924 GB, free: 63.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/0.7379, allocations: 0.5616 MB / 0.593 GB, free: 63.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.868e-05/0.738, allocations: 0 / 0.593 GB, free: 63.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.7381, allocations: 384.5 kB / 0.5933 GB, free: 62.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.7391, allocations: 0.8805 MB / 0.5942 GB, free: 62.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.7403, allocations: 1.319 MB / 0.5955 GB, free: 62.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.7416, allocations: 1.08 MB / 0.5965 GB, free: 62.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.7416, allocations: 3.25 kB / 0.5966 GB, free: 62.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004501/0.7461, allocations: 3.099 MB / 0.5996 GB, free: 62.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008904/0.7471, allocations: 4.836 MB / 0.6043 GB, free: 56.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.7471, allocations: 19.25 kB / 0.6043 GB, free: 56.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/0.7493, allocations: 0.966 MB / 0.6053 GB, free: 56.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.7508, allocations: 364.7 kB / 0.6056 GB, free: 56.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.7612, allocations: 11.02 MB / 0.6164 GB, free: 51.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.7631, allocations: 57.42 kB / 0.6164 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.7633, allocations: 74.19 kB / 0.6165 GB, free: 51.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.7634, allocations: 3.594 kB / 0.6165 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004301/0.7677, allocations: 2.878 MB / 0.6193 GB, free: 51.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.7677, allocations: 13.25 kB / 0.6193 GB, free: 51.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/0.7698, allocations: 0.9557 MB / 0.6203 GB, free: 51.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.7711, allocations: 362.7 kB / 0.6206 GB, free: 51.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.7815, allocations: 11.01 MB / 0.6314 GB, free: 46.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.7832, allocations: 45.52 kB / 0.6314 GB, free: 46.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.7833, allocations: 76.34 kB / 0.6315 GB, free: 46.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 185 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004321/0.7838, allocations: 156.8 kB / 0.6316 GB, free: 46.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.7841, allocations: 202.7 kB / 0.6318 GB, free: 46.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/0.7881, allocations: 2.805 MB / 0.6346 GB, free: 45.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.7882, allocations: 19.62 kB / 0.6346 GB, free: 45.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.7882, allocations: 7.344 kB / 0.6346 GB, free: 45.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.7882, allocations: 7.078 kB / 0.6346 GB, free: 45.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00834/0.7966, allocations: 5.424 MB / 0.6399 GB, free: 42.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.7966, allocations: 5.328 kB / 0.6399 GB, free: 42.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.7976, allocations: 222 kB / 0.6401 GB, free: 42.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002525/0.8002, allocations: 1.032 MB / 0.6411 GB, free: 42.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.8003, allocations: 21.5 kB / 0.6411 GB, free: 42.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/0.8129, allocations: 12.66 MB / 0.6535 GB, free: 33.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.8129, allocations: 1.375 kB / 0.6535 GB, free: 33.95 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006096/0.819, allocations: 4.326 MB / 0.6577 GB, free: 32.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.8202, allocations: 477.6 kB / 0.6582 GB, free: 31.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/0.8205, allocations: 11.78 kB / 0.6582 GB, free: 31.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.8216, allocations: 56.94 kB / 0.6582 GB, free: 31.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.8218, allocations: 102.3 kB / 0.6583 GB, free: 31.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.822, allocations: 45.22 kB / 0.6584 GB, free: 31.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001475/0.8234, allocations: 1.008 MB / 0.6594 GB, free: 31.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003591/0.827, allocations: 1.008 MB / 0.6603 GB, free: 31.33 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006548/0.8277, allocations: 368.9 kB / 0.6607 GB, free: 31.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006458/0.8342, allocations: 5.015 MB / 0.6656 GB, free: 28.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.8342, allocations: 2.594 kB / 0.6656 GB, free: 28.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002616/0.8368, allocations: 1.886 MB / 0.6674 GB, free: 27.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.8391, allocations: 415.6 kB / 0.6678 GB, free: 27.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009306/0.8484, allocations: 4.765 MB / 0.6725 GB, free: 25.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/0.8502, allocations: 2.114 MB / 0.6746 GB, free: 24.82 MB / 442.7 MB Notification: Performance of SimCode: time 9.11e-07/0.8502, allocations: 2.844 kB / 0.6746 GB, free: 24.82 MB / 442.7 MB Notification: Performance of Templates: time 0.06714/0.9173, allocations: 46.79 MB / 0.7203 GB, free: 3.309 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Rectifier/SMEE_Rectifier.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches