Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.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: 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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 181.8 kB / 8.132 MB, free: 2.23 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.193/1.193, allocations: 221.4 MB / 229.9 MB, free: 3.055 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.0008587/0.0008587, allocations: 101.4 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.515e-06/7.535e-06, allocations: 4 kB / 336.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1901, allocations: 50.39 MB / 386.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2547/0.4448, allocations: 125.4 MB / 0.5003 GB, free: 103.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4451, allocations: 94.84 kB / 0.5004 GB, free: 103.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.1263/0.5714, allocations: 54.88 MB / 0.554 GB, free: 56.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001877/0.5716, allocations: 64 kB / 0.5541 GB, free: 56.46 MB / 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.004453/0.5761, allocations: 2.589 MB / 0.5566 GB, free: 53.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.5762, allocations: 8.031 kB / 0.5566 GB, free: 53.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.5778, allocations: 440 kB / 0.557 GB, free: 53.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/0.581, allocations: 1.762 MB / 0.5587 GB, free: 51.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.5811, allocations: 76 kB / 0.5588 GB, free: 51.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.5814, allocations: 147.9 kB / 0.559 GB, free: 51.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003306/0.5847, allocations: 2.263 MB / 0.5612 GB, free: 49.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.5883, allocations: 2.654 MB / 0.5638 GB, free: 46.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.139e-05/0.5884, allocations: 7.938 kB / 0.5638 GB, free: 46.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.5886, allocations: 7.906 kB / 0.5638 GB, free: 46.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.088e-05/0.5887, allocations: 100.6 kB / 0.5639 GB, free: 46.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.602, allocations: 9.887 MB / 0.5735 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.6035, allocations: 1.106 MB / 0.5746 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.6049, allocations: 1.186 MB / 0.5758 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/0.6053, allocations: 134.4 kB / 0.5759 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.6053, allocations: 51.88 kB / 0.5759 GB, free: 33.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.777e-06/0.6053, allocations: 0 / 0.5759 GB, free: 33.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.0102/0.6155, allocations: 5.856 MB / 0.5817 GB, free: 27.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.6156, allocations: 176.2 kB / 0.5818 GB, free: 27.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.6174, allocations: 1.339 MB / 0.5831 GB, free: 25.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.6176, allocations: 25.7 kB / 0.5832 GB, free: 25.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.6179, allocations: 0.894 MB / 0.584 GB, free: 25.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.6183, allocations: 0.5657 MB / 0.5846 GB, free: 24.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.893e-05/0.6184, allocations: 0 / 0.5846 GB, free: 24.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.6185, allocations: 381.9 kB / 0.585 GB, free: 24.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.6196, allocations: 0.8831 MB / 0.5858 GB, free: 23.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.6208, allocations: 1.322 MB / 0.5871 GB, free: 21.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.6221, allocations: 1.075 MB / 0.5882 GB, free: 20.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.6221, allocations: 4 kB / 0.5882 GB, free: 20.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004429/0.6265, allocations: 3.104 MB / 0.5912 GB, free: 17.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000669/0.6272, allocations: 4.826 MB / 0.5959 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.6272, allocations: 15.98 kB / 0.5959 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.6293, allocations: 0.9647 MB / 0.5969 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.6308, allocations: 375.4 kB / 0.5972 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.6411, allocations: 11.02 MB / 0.608 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.6429, allocations: 52.06 kB / 0.608 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.6431, allocations: 76 kB / 0.6081 GB, free: 15.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.874e-06/0.6431, allocations: 4 kB / 0.6081 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0048/0.6479, allocations: 2.882 MB / 0.6109 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/0.648, allocations: 16 kB / 0.6109 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002371/0.6504, allocations: 0.9489 MB / 0.6119 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.6518, allocations: 367.4 kB / 0.6122 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.664, allocations: 11.01 MB / 0.623 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.6658, allocations: 39.95 kB / 0.623 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.666, allocations: 76 kB / 0.6231 GB, free: 15.41 MB / 410.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.000438/0.6664, allocations: 160.5 kB / 0.6232 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/0.6668, allocations: 197.6 kB / 0.6234 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004893/0.6717, allocations: 2.802 MB / 0.6262 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.561e-05/0.6718, allocations: 16 kB / 0.6262 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.6718, allocations: 4 kB / 0.6262 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.6718, allocations: 11.97 kB / 0.6262 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009734/0.6816, allocations: 5.423 MB / 0.6315 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.6816, allocations: 4 kB / 0.6315 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.6828, allocations: 223.9 kB / 0.6317 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002804/0.6856, allocations: 1.028 MB / 0.6327 GB, free: 5.395 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.6858, allocations: 19.98 kB / 0.6327 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/0.6996, allocations: 12.65 MB / 0.6451 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.6996, allocations: 96 / 0.6451 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006637/0.7063, allocations: 4.342 MB / 0.6493 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.7075, allocations: 470.5 kB / 0.6498 GB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003658/0.7078, allocations: 15.98 kB / 0.6498 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.709, allocations: 59.94 kB / 0.6498 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.7092, allocations: 97.75 kB / 0.6499 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.7094, allocations: 47.98 kB / 0.65 GB, free: 2.988 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001504/0.7109, allocations: 1.003 MB / 0.651 GB, free: 1.992 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003523/0.7144, allocations: 1.012 MB / 0.6519 GB, free: 0.9805 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.0006871/0.7151, allocations: 369 kB / 0.6523 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.13/0.8451, allocations: 5.008 MB / 0.6572 GB, free: 130.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8452, allocations: 3.781 kB / 0.6572 GB, free: 130.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002428/0.8476, allocations: 1.884 MB / 0.659 GB, free: 130.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.8497, allocations: 419.4 kB / 0.6594 GB, free: 130.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009186/0.8589, allocations: 4.761 MB / 0.6641 GB, free: 129.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/0.8606, allocations: 2.105 MB / 0.6661 GB, free: 128.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/0.8606, allocations: 6.344 kB / 0.6661 GB, free: 128.4 MB / 426.7 MB Notification: Performance of Templates: time 0.06618/0.9268, allocations: 46.74 MB / 0.7118 GB, free: 124.3 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches