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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.3 MB / 214.4 MB, free: 1.742 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.001035/0.001035, allocations: 86.36 kB / 262.5 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.537e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07375/0.07378, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/0.4008, allocations: 125.5 MB / 488.6 MB, free: 2.941 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4011, allocations: 88.2 kB / 488.7 MB, free: 2.898 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1488/0.5499, allocations: 54.81 MB / 0.5307 GB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5499, allocations: 0 / 0.5307 GB, free: 0.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003136/0.5503, allocations: 67.94 kB / 0.5308 GB, free: 0.8516 MB / 410.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.2055/0.7558, allocations: 2.573 MB / 0.5333 GB, free: 94.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.7559, allocations: 9.656 kB / 0.5333 GB, free: 94.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.758, allocations: 430.1 kB / 0.5337 GB, free: 94.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004833/0.7628, allocations: 1.738 MB / 0.5354 GB, free: 94.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.763, allocations: 79.91 kB / 0.5355 GB, free: 94.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00041/0.7634, allocations: 146.9 kB / 0.5356 GB, free: 94.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004211/0.7676, allocations: 2.227 MB / 0.5378 GB, free: 94.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004386/0.772, allocations: 2.62 MB / 0.5404 GB, free: 93.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.701e-05/0.7721, allocations: 12.91 kB / 0.5404 GB, free: 93.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.7723, allocations: 3.031 kB / 0.5404 GB, free: 93.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.7724, allocations: 99.27 kB / 0.5405 GB, free: 93.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/0.7877, allocations: 9.853 MB / 0.5501 GB, free: 90.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.7902, allocations: 2.64 MB / 0.5527 GB, free: 89.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.7914, allocations: 1.089 MB / 0.5537 GB, free: 89.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/0.7916, allocations: 141.3 kB / 0.5539 GB, free: 89.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.7917, allocations: 58.89 kB / 0.5539 GB, free: 89.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 3.737e-06/0.7917, allocations: 0 / 0.5539 GB, free: 89.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=175): time 0.009068/0.8008, allocations: 5.756 MB / 0.5596 GB, free: 88.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.8008, allocations: 178.6 kB / 0.5597 GB, free: 88.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.8026, allocations: 1.331 MB / 0.561 GB, free: 88.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.8027, allocations: 25.7 kB / 0.561 GB, free: 88.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005372/0.8033, allocations: 1.163 MB / 0.5622 GB, free: 87.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/0.8036, allocations: 0.5698 MB / 0.5627 GB, free: 86.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.715e-05/0.8037, allocations: 0 / 0.5627 GB, free: 86.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.8038, allocations: 380.2 kB / 0.5631 GB, free: 86.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009846/0.8048, allocations: 0.8505 MB / 0.5639 GB, free: 86.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.8059, allocations: 1.279 MB / 0.5652 GB, free: 85.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.8071, allocations: 1.047 MB / 0.5662 GB, free: 85.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.8071, allocations: 3.969 kB / 0.5662 GB, free: 85.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004203/0.8114, allocations: 3.048 MB / 0.5692 GB, free: 84.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007943/0.8122, allocations: 4.842 MB / 0.5739 GB, free: 78.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/0.8122, allocations: 13.53 kB / 0.5739 GB, free: 78.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.8142, allocations: 0.9534 MB / 0.5749 GB, free: 78.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.8154, allocations: 372.1 kB / 0.5752 GB, free: 78.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.8256, allocations: 11.53 MB / 0.5865 GB, free: 70.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.8273, allocations: 76.81 kB / 0.5865 GB, free: 70.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.8275, allocations: 72.91 kB / 0.5866 GB, free: 70.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.8275, allocations: 3.812 kB / 0.5866 GB, free: 70.82 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003912/0.8314, allocations: 2.815 MB / 0.5894 GB, free: 69.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.8314, allocations: 11.16 kB / 0.5894 GB, free: 69.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.8334, allocations: 0.9497 MB / 0.5903 GB, free: 69.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.8346, allocations: 366 kB / 0.5907 GB, free: 69.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009947/0.8445, allocations: 11.54 MB / 0.6019 GB, free: 61.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.8466, allocations: 63.7 kB / 0.602 GB, free: 61.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/0.8468, allocations: 73.97 kB / 0.6021 GB, free: 61.76 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.0004837/0.8473, allocations: 159.1 kB / 0.6022 GB, free: 61.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.8477, allocations: 198.8 kB / 0.6024 GB, free: 61.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/0.8517, allocations: 2.745 MB / 0.6051 GB, free: 60.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.8518, allocations: 14.53 kB / 0.6051 GB, free: 60.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.8518, allocations: 6.406 kB / 0.6051 GB, free: 60.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.8518, allocations: 6.609 kB / 0.6051 GB, free: 60.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007656/0.8595, allocations: 5.406 MB / 0.6104 GB, free: 58.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.8595, allocations: 12.98 kB / 0.6104 GB, free: 58.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008948/0.8604, allocations: 222.9 kB / 0.6106 GB, free: 58.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00216/0.8626, allocations: 1.007 MB / 0.6116 GB, free: 58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.8627, allocations: 18.09 kB / 0.6116 GB, free: 58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.8736, allocations: 13.2 MB / 0.6245 GB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.8736, allocations: 4 kB / 0.6245 GB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005395/0.879, allocations: 4.208 MB / 0.6286 GB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.8802, allocations: 473.4 kB / 0.6291 GB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/0.8805, allocations: 15.09 kB / 0.6291 GB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.8816, allocations: 69.08 kB / 0.6291 GB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/0.8819, allocations: 149.6 kB / 0.6293 GB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.606e-05/0.882, allocations: 46.95 kB / 0.6293 GB, free: 41.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001281/0.8833, allocations: 1.003 MB / 0.6303 GB, free: 40.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8833, allocations: 0 / 0.6303 GB, free: 40.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003734/0.8871, allocations: 1.032 MB / 0.6313 GB, free: 39.26 MB / 410.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.0006141/0.8877, allocations: 362.5 kB / 0.6317 GB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006314/0.894, allocations: 5.183 MB / 0.6367 GB, free: 34.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.894, allocations: 3.938 kB / 0.6367 GB, free: 34.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002452/0.8965, allocations: 2.01 MB / 0.6387 GB, free: 32.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.8986, allocations: 436.5 kB / 0.6391 GB, free: 31.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007191/0.9058, allocations: 4.605 MB / 0.6436 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.9072, allocations: 2.048 MB / 0.6456 GB, free: 26.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002192/0.9094, allocations: 0.6418 MB / 0.6462 GB, free: 25.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.9096, allocations: 95.44 kB / 0.6463 GB, free: 25.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.9097, allocations: 0 / 0.6463 GB, free: 25.75 MB / 410.7 MB Notification: Performance of Templates: time 0.05792/0.9676, allocations: 40.84 MB / 0.6862 GB, free: 6.711 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