Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.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: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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 3.2.3+maint.om/package.mo): time 0.0009512/0.0009513, allocations: 187.8 kB / 8.479 MB, free: 1.797 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.093/1.093, allocations: 205.2 MB / 214.1 MB, free: 5.156 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.0008357/0.0008357, allocations: 90.81 kB / 262.1 MB, free: 5.191 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.942e-06/5.962e-06, allocations: 0 / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05982/0.05984, allocations: 47.59 MB / 362.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/0.2964, allocations: 125.2 MB / 487.7 MB, free: 496 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.2966, allocations: 86.7 kB / 487.8 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd: time 0.1584/0.4551, allocations: 54.78 MB / 0.5299 GB, free: 452 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001906/0.4553, allocations: 71.86 kB / 0.5299 GB, free: 380 kB / 378.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.004947/0.4603, allocations: 2.566 MB / 0.5324 GB, free: 13.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.4603, allocations: 12.03 kB / 0.5324 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.4617, allocations: 440 kB / 0.5329 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/0.4649, allocations: 1.762 MB / 0.5346 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.465, allocations: 76 kB / 0.5347 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.4653, allocations: 143.9 kB / 0.5348 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00385/0.4692, allocations: 2.274 MB / 0.537 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004239/0.4734, allocations: 2.662 MB / 0.5396 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-05/0.4735, allocations: 11.84 kB / 0.5396 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.4737, allocations: 4 kB / 0.5396 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.321e-05/0.4738, allocations: 100.6 kB / 0.5397 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01623/0.49, allocations: 9.902 MB / 0.5494 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.4918, allocations: 1.102 MB / 0.5505 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.4935, allocations: 1.175 MB / 0.5516 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.4938, allocations: 146.3 kB / 0.5518 GB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.4939, allocations: 51.78 kB / 0.5518 GB, free: 9.348 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 3.135e-06/0.4939, allocations: 0 / 0.5518 GB, free: 9.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=175): time 0.01123/0.5051, allocations: 5.848 MB / 0.5575 GB, free: 3.438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/0.5052, allocations: 176.2 kB / 0.5577 GB, free: 3.227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.5073, allocations: 1.344 MB / 0.559 GB, free: 1.883 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.5075, allocations: 25.7 kB / 0.559 GB, free: 1.852 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005359/0.508, allocations: 0.8901 MB / 0.5599 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004526/0.5085, allocations: 0.5735 MB / 0.5605 GB, free: 372 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/0.5086, allocations: 0 / 0.5605 GB, free: 372 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5088, allocations: 381.9 kB / 0.5608 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.5101, allocations: 0.8786 MB / 0.5617 GB, free: 15.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.5117, allocations: 1.318 MB / 0.563 GB, free: 13.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.5132, allocations: 1.083 MB / 0.564 GB, free: 12.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.5132, allocations: 4 kB / 0.564 GB, free: 12.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.005222/0.5185, allocations: 3.112 MB / 0.5671 GB, free: 9.395 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001401/0.5199, allocations: 4.82 MB / 0.5718 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.851e-05/0.5199, allocations: 23.97 kB / 0.5718 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002405/0.5223, allocations: 0.9608 MB / 0.5727 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.5238, allocations: 371.4 kB / 0.5731 GB, free: 2.762 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1066/0.6304, allocations: 10.99 MB / 0.5838 GB, free: 146.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.632, allocations: 53.12 kB / 0.5839 GB, free: 146.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.6321, allocations: 81.06 kB / 0.584 GB, free: 146.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.6321, allocations: 3.281 kB / 0.584 GB, free: 146.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004056/0.6362, allocations: 2.868 MB / 0.5868 GB, free: 146.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/0.6362, allocations: 15.22 kB / 0.5868 GB, free: 146.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.6383, allocations: 0.9575 MB / 0.5877 GB, free: 146.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.6395, allocations: 368.9 kB / 0.5881 GB, free: 146.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009786/0.6493, allocations: 11 MB / 0.5988 GB, free: 141.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.651, allocations: 51.83 kB / 0.5989 GB, free: 141.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.6512, allocations: 74.75 kB / 0.5989 GB, free: 141.4 MB / 426.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.0003601/0.6515, allocations: 150.9 kB / 0.5991 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.6518, allocations: 207.6 kB / 0.5993 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/0.6558, allocations: 2.799 MB / 0.602 GB, free: 141.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.6558, allocations: 17.28 kB / 0.602 GB, free: 141.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6558, allocations: 7.688 kB / 0.602 GB, free: 141.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.6559, allocations: 10.08 kB / 0.602 GB, free: 141.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007502/0.6634, allocations: 5.432 MB / 0.6073 GB, free: 140.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.6634, allocations: 3.531 kB / 0.6073 GB, free: 140.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009758/0.6644, allocations: 216.8 kB / 0.6075 GB, free: 140.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002329/0.6667, allocations: 1.026 MB / 0.6085 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.6668, allocations: 21.31 kB / 0.6086 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.6777, allocations: 12.62 MB / 0.6209 GB, free: 133 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.6778, allocations: 5.688 kB / 0.6209 GB, free: 133 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005239/0.683, allocations: 4.333 MB / 0.6251 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008282/0.6839, allocations: 475.1 kB / 0.6256 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003187/0.6842, allocations: 22.09 kB / 0.6256 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.6853, allocations: 57.27 kB / 0.6257 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.6855, allocations: 102 kB / 0.6258 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.6856, allocations: 46.09 kB / 0.6258 GB, free: 130.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001187/0.6868, allocations: 1.01 MB / 0.6268 GB, free: 130.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003077/0.6899, allocations: 1.008 MB / 0.6278 GB, free: 130.4 MB / 426.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.0005947/0.6905, allocations: 365.2 kB / 0.6281 GB, free: 130.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006155/0.6966, allocations: 5.014 MB / 0.633 GB, free: 128 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6967, allocations: 2.344 kB / 0.633 GB, free: 128 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002657/0.6993, allocations: 1.89 MB / 0.6349 GB, free: 127.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.7014, allocations: 412 kB / 0.6353 GB, free: 127 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008446/0.7099, allocations: 4.794 MB / 0.6399 GB, free: 125.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/0.7115, allocations: 2.106 MB / 0.642 GB, free: 123.7 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.7115, allocations: 0 / 0.642 GB, free: 123.7 MB / 426.7 MB Notification: Performance of Templates: time 0.05674/0.7682, allocations: 46.78 MB / 0.6877 GB, free: 89.7 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Rectifier/SMEE_Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches