Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001536, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000765/0.0007651, allocations: 101.8 kB / 297.4 MB, free: 6.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002273/0.0002274, allocations: 8 kB / 357.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1888, allocations: 51.28 MB / 408.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2722/0.461, allocations: 127.2 MB / 0.5233 GB, free: 90.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.4613, allocations: 87.08 kB / 0.5233 GB, free: 90.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1183/0.5796, allocations: 55.56 MB / 0.5776 GB, free: 34.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.5796, allocations: 0 / 0.5776 GB, free: 34.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001457/0.5798, allocations: 67.94 kB / 0.5777 GB, free: 34.6 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.004887/0.5847, allocations: 2.934 MB / 0.5805 GB, free: 31.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.5847, allocations: 12.03 kB / 0.5805 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.586, allocations: 433 kB / 0.581 GB, free: 31.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.5886, allocations: 1.812 MB / 0.5827 GB, free: 29.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.481e-05/0.5887, allocations: 177.1 kB / 0.5829 GB, free: 29.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/0.589, allocations: 244.3 kB / 0.5831 GB, free: 28.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003844/0.5928, allocations: 3.043 MB / 0.5861 GB, free: 25.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.813e-05/0.5929, allocations: 8.094 kB / 0.5861 GB, free: 25.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002102/0.5931, allocations: 115.9 kB / 0.5862 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.705e-05/0.5932, allocations: 96.59 kB / 0.5863 GB, free: 25.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.5966, allocations: 2.438 MB / 0.5887 GB, free: 23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.6085, allocations: 10.31 MB / 0.5988 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/0.6111, allocations: 2.761 MB / 0.6015 GB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.6124, allocations: 1.141 MB / 0.6026 GB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/0.6126, allocations: 142.3 kB / 0.6027 GB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.6127, allocations: 51.88 kB / 0.6028 GB, free: 8.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.577e-06/0.6127, allocations: 0 / 0.6028 GB, free: 8.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.01691/0.6296, allocations: 9.13 MB / 0.6117 GB, free: 14.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.6297, allocations: 176.2 kB / 0.6118 GB, free: 14.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/0.6323, allocations: 1.838 MB / 0.6136 GB, free: 12.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.6324, allocations: 53.7 kB / 0.6137 GB, free: 12.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008024/0.6332, allocations: 1.157 MB / 0.6148 GB, free: 11.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004367/0.6337, allocations: 0.5969 MB / 0.6154 GB, free: 10.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.6338, allocations: 44 kB / 0.6154 GB, free: 10.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.634, allocations: 385.8 kB / 0.6158 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.6354, allocations: 0.9174 MB / 0.6167 GB, free: 9.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.6372, allocations: 1.365 MB / 0.618 GB, free: 7.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003204/0.6404, allocations: 2.372 MB / 0.6204 GB, free: 5.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.6404, allocations: 4 kB / 0.6204 GB, free: 5.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.005636/0.646, allocations: 3.315 MB / 0.6236 GB, free: 2.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003312/0.6464, allocations: 462.3 kB / 0.624 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/0.6464, allocations: 16 kB / 0.6241 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002342/0.6488, allocations: 0.9646 MB / 0.625 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.6501, allocations: 371.4 kB / 0.6254 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/0.6639, allocations: 11.99 MB / 0.6371 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.6656, allocations: 111.9 kB / 0.6372 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.6658, allocations: 76 kB / 0.6372 GB, free: 3.398 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.6658, allocations: 8 kB / 0.6373 GB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005106/0.6709, allocations: 3.088 MB / 0.6403 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/0.671, allocations: 19.98 kB / 0.6403 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/0.6733, allocations: 0.9696 MB / 0.6412 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.6747, allocations: 363.5 kB / 0.6416 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/0.6883, allocations: 12.01 MB / 0.6533 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.69, allocations: 104 kB / 0.6534 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.6902, allocations: 76 kB / 0.6535 GB, free: 2.199 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.001458/0.6916, allocations: 0.805 MB / 0.6543 GB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/0.692, allocations: 217.4 kB / 0.6545 GB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004958/0.6969, allocations: 2.987 MB / 0.6574 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.697, allocations: 19.94 kB / 0.6574 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.697, allocations: 8 kB / 0.6574 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.697, allocations: 7.969 kB / 0.6574 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00945/0.7065, allocations: 5.913 MB / 0.6632 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.7065, allocations: 0 / 0.6632 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009622/0.7075, allocations: 223.7 kB / 0.6634 GB, free: 7.871 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002561/0.71, allocations: 1.027 MB / 0.6644 GB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.7102, allocations: 51.91 kB / 0.6645 GB, free: 6.777 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1777/0.8879, allocations: 13.71 MB / 0.6778 GB, free: 97.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8879, allocations: 0 / 0.6778 GB, free: 97.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006094/0.894, allocations: 4.346 MB / 0.6821 GB, free: 96.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009641/0.895, allocations: 497.4 kB / 0.6826 GB, free: 96.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/0.8953, allocations: 38.45 kB / 0.6826 GB, free: 96.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.8964, allocations: 103.7 kB / 0.6827 GB, free: 96.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003241/0.8968, allocations: 146.3 kB / 0.6828 GB, free: 96.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.8969, allocations: 45.25 kB / 0.6829 GB, free: 96.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001587/0.8985, allocations: 1.253 MB / 0.6841 GB, free: 96.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8985, allocations: 0 / 0.6841 GB, free: 96.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003294/0.9018, allocations: 1.2 MB / 0.6853 GB, free: 96.74 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.0006548/0.9024, allocations: 377.5 kB / 0.6856 GB, free: 96.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00727/0.9097, allocations: 5.491 MB / 0.691 GB, free: 95.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.9098, allocations: 0 / 0.691 GB, free: 95.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003014/0.9128, allocations: 2.132 MB / 0.6931 GB, free: 94.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/0.9158, allocations: 0.5421 MB / 0.6936 GB, free: 94.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008563/0.9244, allocations: 6.744 MB / 0.7002 GB, free: 92.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.9258, allocations: 1.978 MB / 0.7021 GB, free: 91.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005755/0.9264, allocations: 131.5 kB / 0.7023 GB, free: 91.37 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.9264, allocations: 0 / 0.7023 GB, free: 91.37 MB / 442.7 MB Notification: Performance of Templates: time 0.07833/1.005, allocations: 95.14 MB / 0.7952 GB, free: 25.57 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches