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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009543/0.0009544, allocations: 196.2 kB / 18.1 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007299/0.0007302, allocations: 87.66 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002343/0.0002343, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2296, allocations: 51.28 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.5627, allocations: 127.2 MB / 0.524 GB, free: 89.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.563, allocations: 92.2 kB / 0.524 GB, free: 89.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1243/0.6873, allocations: 55.57 MB / 0.5783 GB, free: 34.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6874, allocations: 0 / 0.5783 GB, free: 34.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000232/0.6876, allocations: 63.94 kB / 0.5784 GB, free: 34.47 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.006411/0.694, allocations: 2.93 MB / 0.5812 GB, free: 31.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.6941, allocations: 12.03 kB / 0.5812 GB, free: 31.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.6957, allocations: 437 kB / 0.5817 GB, free: 31.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.6992, allocations: 1.808 MB / 0.5834 GB, free: 29.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.6993, allocations: 181.1 kB / 0.5836 GB, free: 28.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005108/0.6998, allocations: 244.3 kB / 0.5838 GB, free: 28.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004825/0.7047, allocations: 3.047 MB / 0.5868 GB, free: 25.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.064e-05/0.7048, allocations: 4.094 kB / 0.5868 GB, free: 25.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/0.705, allocations: 107.9 kB / 0.5869 GB, free: 25.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.557e-05/0.7051, allocations: 96.59 kB / 0.587 GB, free: 25.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003821/0.7089, allocations: 2.442 MB / 0.5894 GB, free: 22.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01522/0.7242, allocations: 10.31 MB / 0.5995 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/0.7271, allocations: 2.765 MB / 0.6022 GB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.7284, allocations: 1.137 MB / 0.6033 GB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/0.7287, allocations: 142.4 kB / 0.6034 GB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.7287, allocations: 47.88 kB / 0.6035 GB, free: 7.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.086e-06/0.7287, allocations: 0 / 0.6035 GB, free: 7.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.01862/0.7474, allocations: 9.126 MB / 0.6124 GB, free: 14.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.7475, allocations: 180.2 kB / 0.6125 GB, free: 14.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003504/0.751, allocations: 1.835 MB / 0.6143 GB, free: 12.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002068/0.7512, allocations: 57.7 kB / 0.6144 GB, free: 12.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009563/0.7522, allocations: 1.157 MB / 0.6155 GB, free: 11.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005666/0.7528, allocations: 0.5969 MB / 0.6161 GB, free: 10.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.7529, allocations: 40 kB / 0.6161 GB, free: 10.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.7531, allocations: 393.8 kB / 0.6165 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.7547, allocations: 0.9096 MB / 0.6174 GB, free: 9.398 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.7566, allocations: 1.369 MB / 0.6187 GB, free: 7.855 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003332/0.7599, allocations: 2.372 MB / 0.6211 GB, free: 5.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.7599, allocations: 4 kB / 0.6211 GB, free: 5.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.005842/0.7658, allocations: 3.318 MB / 0.6243 GB, free: 1.973 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002602/0.7661, allocations: 458.3 kB / 0.6247 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.7661, allocations: 15.98 kB / 0.6248 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002213/0.7683, allocations: 0.9686 MB / 0.6257 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.7697, allocations: 375.5 kB / 0.6261 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/0.7836, allocations: 11.99 MB / 0.6378 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/0.7856, allocations: 112 kB / 0.6379 GB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003254/0.7859, allocations: 72 kB / 0.6379 GB, free: 3.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.7859, allocations: 4 kB / 0.6379 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005507/0.7915, allocations: 3.092 MB / 0.641 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/0.7915, allocations: 12 kB / 0.641 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/0.7939, allocations: 0.9692 MB / 0.6419 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.7952, allocations: 363.5 kB / 0.6423 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01397/0.8092, allocations: 12.02 MB / 0.654 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.8111, allocations: 99.97 kB / 0.6541 GB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003035/0.8115, allocations: 79.97 kB / 0.6542 GB, free: 2.07 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 () * Number of clocked 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.001835/0.8133, allocations: 0.805 MB / 0.655 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007195/0.814, allocations: 221.4 kB / 0.6552 GB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005275/0.8193, allocations: 2.983 MB / 0.6581 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.8193, allocations: 27.92 kB / 0.6581 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.8194, allocations: 4 kB / 0.6581 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.8194, allocations: 11.97 kB / 0.6581 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.8297, allocations: 5.909 MB / 0.6639 GB, free: 7.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.8298, allocations: 4 kB / 0.6639 GB, free: 7.953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009117/0.8307, allocations: 223.7 kB / 0.6641 GB, free: 7.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002423/0.8331, allocations: 1.023 MB / 0.6651 GB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.8332, allocations: 43.92 kB / 0.6652 GB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2027/1.036, allocations: 13.7 MB / 0.6785 GB, free: 97.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.036, allocations: 4.594 kB / 0.6785 GB, free: 97.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006566/1.043, allocations: 4.344 MB / 0.6828 GB, free: 97.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/1.044, allocations: 497 kB / 0.6833 GB, free: 97.15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/1.044, allocations: 41.52 kB / 0.6833 GB, free: 97.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.045, allocations: 100.8 kB / 0.6834 GB, free: 97.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003734/1.046, allocations: 145.1 kB / 0.6835 GB, free: 97.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.046, allocations: 47.28 kB / 0.6836 GB, free: 97.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001694/1.048, allocations: 1.253 MB / 0.6848 GB, free: 97.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.048, allocations: 0 / 0.6848 GB, free: 97.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003378/1.051, allocations: 1.201 MB / 0.686 GB, free: 97 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 () * Number of clocked 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,72.2%) 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.0006365/1.052, allocations: 378.2 kB / 0.6863 GB, free: 96.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007335/1.059, allocations: 5.489 MB / 0.6917 GB, free: 95.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.059, allocations: 10.66 kB / 0.6917 GB, free: 95.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002956/1.062, allocations: 2.134 MB / 0.6938 GB, free: 95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/1.065, allocations: 0.5488 MB / 0.6943 GB, free: 94.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008702/1.074, allocations: 6.685 MB / 0.7009 GB, free: 92.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/1.075, allocations: 1.999 MB / 0.7028 GB, free: 91.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001781/1.077, allocations: 0.4902 MB / 0.7033 GB, free: 91.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/1.078, allocations: 120.3 kB / 0.7034 GB, free: 91.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.263e-06/1.078, allocations: 0 / 0.7034 GB, free: 91.59 MB / 442.7 MB Notification: Performance of Templates: time 0.06897/1.147, allocations: 46.56 MB / 0.7489 GB, free: 74.14 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/jenkins1/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