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.000902/0.0009019, allocations: 183.1 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.4 MB / 224.2 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008434/0.0008434, allocations: 85.56 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 12 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1968, allocations: 47.57 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.3248, allocations: 126.3 MB / 0.4916 GB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.3251, allocations: 99.88 kB / 0.4917 GB, free: 2.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2746/0.5997, allocations: 55.36 MB / 0.5457 GB, free: 74.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5998, allocations: 0 / 0.5457 GB, free: 74.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002411/0.6, allocations: 67.94 kB / 0.5458 GB, free: 74.45 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.006538/0.6066, allocations: 2.922 MB / 0.5486 GB, free: 71.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.6066, allocations: 8.031 kB / 0.5486 GB, free: 71.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.6083, allocations: 433 kB / 0.5491 GB, free: 71.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/0.6115, allocations: 1.805 MB / 0.5508 GB, free: 69.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.053e-05/0.6116, allocations: 185.1 kB / 0.551 GB, free: 68.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003328/0.6119, allocations: 256.2 kB / 0.5512 GB, free: 68.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00415/0.6161, allocations: 3.028 MB / 0.5542 GB, free: 65.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.404e-05/0.6162, allocations: 12.08 kB / 0.5542 GB, free: 65.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.6164, allocations: 111.9 kB / 0.5543 GB, free: 65.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.867e-05/0.6165, allocations: 108.5 kB / 0.5544 GB, free: 65.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003515/0.62, allocations: 2.438 MB / 0.5568 GB, free: 62.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.6323, allocations: 10.31 MB / 0.5669 GB, free: 52.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/0.6349, allocations: 2.773 MB / 0.5696 GB, free: 49.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.6362, allocations: 1.138 MB / 0.5707 GB, free: 48.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.6365, allocations: 138.4 kB / 0.5708 GB, free: 48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.6365, allocations: 51.88 kB / 0.5709 GB, free: 47.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.907e-06/0.6366, allocations: 0 / 0.5709 GB, free: 47.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.01799/0.6546, allocations: 9.104 MB / 0.5798 GB, free: 38.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.6546, allocations: 172.2 kB / 0.5799 GB, free: 38.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/0.6568, allocations: 1.842 MB / 0.5817 GB, free: 36.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.657, allocations: 57.7 kB / 0.5818 GB, free: 36.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.6575, allocations: 1.161 MB / 0.5829 GB, free: 35.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.6578, allocations: 0.5969 MB / 0.5835 GB, free: 34.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.658, allocations: 36 kB / 0.5835 GB, free: 34.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.6581, allocations: 385.8 kB / 0.5839 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.6593, allocations: 0.9135 MB / 0.5848 GB, free: 33.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.6606, allocations: 1.368 MB / 0.5861 GB, free: 31.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/0.6632, allocations: 2.372 MB / 0.5884 GB, free: 29.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.6632, allocations: 4 kB / 0.5884 GB, free: 29.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004631/0.6679, allocations: 3.326 MB / 0.5917 GB, free: 25.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.668, allocations: 458.4 kB / 0.5921 GB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.6681, allocations: 15.98 kB / 0.5921 GB, free: 25.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/0.6701, allocations: 0.968 MB / 0.5931 GB, free: 24.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.6713, allocations: 371.4 kB / 0.5934 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.6822, allocations: 12 MB / 0.6052 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.6843, allocations: 112 kB / 0.6053 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/0.6845, allocations: 72.56 kB / 0.6053 GB, free: 11.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.6846, allocations: 4 kB / 0.6053 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004296/0.6889, allocations: 3.092 MB / 0.6084 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.6889, allocations: 12 kB / 0.6084 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/0.691, allocations: 0.9647 MB / 0.6093 GB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.6924, allocations: 367.4 kB / 0.6097 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.7045, allocations: 11.97 MB / 0.6214 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.7063, allocations: 108 kB / 0.6215 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.7065, allocations: 75.98 kB / 0.6215 GB, free: 10.11 MB / 394.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.001673/0.7082, allocations: 0.805 MB / 0.6223 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/0.7087, allocations: 225.4 kB / 0.6225 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004938/0.7136, allocations: 2.979 MB / 0.6254 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.7137, allocations: 23.94 kB / 0.6255 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.7137, allocations: 7.984 kB / 0.6255 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.7137, allocations: 7.969 kB / 0.6255 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.7237, allocations: 5.924 MB / 0.6313 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.7238, allocations: 0 / 0.6313 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009338/0.7247, allocations: 223.9 kB / 0.6315 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002501/0.7272, allocations: 1.039 MB / 0.6325 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.7273, allocations: 43.98 kB / 0.6325 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01504/0.7424, allocations: 13.7 MB / 0.6459 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7424, allocations: 4.125 kB / 0.6459 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1694/0.9119, allocations: 4.347 MB / 0.6502 GB, free: 97.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.9129, allocations: 495.9 kB / 0.6506 GB, free: 96.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.9132, allocations: 44.39 kB / 0.6507 GB, free: 96.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.9143, allocations: 104.6 kB / 0.6508 GB, free: 96.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003366/0.9147, allocations: 141 kB / 0.6509 GB, free: 96.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.61e-05/0.9148, allocations: 51.97 kB / 0.651 GB, free: 96.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001616/0.9164, allocations: 1.258 MB / 0.6522 GB, free: 96.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9164, allocations: 0 / 0.6522 GB, free: 96.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003173/0.9196, allocations: 1.193 MB / 0.6534 GB, free: 96.82 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 () * 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.0005932/0.9202, allocations: 376.6 kB / 0.6537 GB, free: 96.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006957/0.9271, allocations: 5.487 MB / 0.6591 GB, free: 95.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.9272, allocations: 0 / 0.6591 GB, free: 95.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002588/0.9298, allocations: 2.136 MB / 0.6612 GB, free: 94.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/0.9327, allocations: 0.5624 MB / 0.6617 GB, free: 94.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008754/0.9415, allocations: 6.719 MB / 0.6683 GB, free: 92.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001676/0.9432, allocations: 1.997 MB / 0.6702 GB, free: 91.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001755/0.945, allocations: 0.4906 MB / 0.6707 GB, free: 91.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.9453, allocations: 122.7 kB / 0.6708 GB, free: 91.41 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.9453, allocations: 0 / 0.6708 GB, free: 91.41 MB / 410.7 MB Notification: Performance of Templates: time 0.05837/1.004, allocations: 46.51 MB / 0.7162 GB, free: 67.37 MB / 410.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/jenkins1/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