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.001494/0.001494, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.363/1.363, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0007486/0.0007484, allocations: 78.61 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.966e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08735/0.0874, allocations: 47.58 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.407/0.4945, allocations: 125.9 MB / 495.9 MB, free: 212 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.4947, allocations: 84.58 kB / 496 MB, free: 168 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3376/0.8324, allocations: 55.52 MB / 0.5386 GB, free: 96.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.8324, allocations: 0.9688 kB / 0.5386 GB, free: 96.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002075/0.8326, allocations: 66.58 kB / 0.5387 GB, free: 96.41 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.006011/0.8386, allocations: 2.578 MB / 0.5412 GB, free: 95.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8387, allocations: 9.281 kB / 0.5412 GB, free: 95.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.8406, allocations: 428.4 kB / 0.5416 GB, free: 95.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00376/0.8444, allocations: 1.743 MB / 0.5433 GB, free: 94.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.8445, allocations: 180.1 kB / 0.5435 GB, free: 94.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004445/0.845, allocations: 252.3 kB / 0.5437 GB, free: 94.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005516/0.8505, allocations: 2.964 MB / 0.5466 GB, free: 94.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.881e-05/0.8506, allocations: 4.531 kB / 0.5466 GB, free: 94.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.8508, allocations: 107 kB / 0.5467 GB, free: 94.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.851, allocations: 97.81 kB / 0.5468 GB, free: 94.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00468/0.8557, allocations: 2.369 MB / 0.5491 GB, free: 94.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.8697, allocations: 10.3 MB / 0.5592 GB, free: 91.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.872, allocations: 2.713 MB / 0.5618 GB, free: 89.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.8732, allocations: 1.104 MB / 0.5629 GB, free: 88.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002585/0.8734, allocations: 144.4 kB / 0.5631 GB, free: 88.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.8735, allocations: 58.86 kB / 0.5631 GB, free: 88.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 3.377e-06/0.8735, allocations: 0 / 0.5631 GB, free: 88.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=175): time 0.01358/0.8871, allocations: 7.325 MB / 0.5703 GB, free: 86.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.8872, allocations: 171.2 kB / 0.5704 GB, free: 86.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.8892, allocations: 1.619 MB / 0.572 GB, free: 85.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.8893, allocations: 58.64 kB / 0.5721 GB, free: 85.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005714/0.8899, allocations: 1.16 MB / 0.5732 GB, free: 84.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/0.8902, allocations: 0.5949 MB / 0.5738 GB, free: 84.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.861e-05/0.8903, allocations: 42.69 kB / 0.5738 GB, free: 83.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8904, allocations: 387 kB / 0.5742 GB, free: 83.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.8915, allocations: 0.8848 MB / 0.5751 GB, free: 83.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.8928, allocations: 1.331 MB / 0.5764 GB, free: 82.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.8941, allocations: 1.09 MB / 0.5774 GB, free: 82.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.8941, allocations: 3.125 kB / 0.5774 GB, free: 82.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004561/0.8987, allocations: 3.263 MB / 0.5806 GB, free: 80.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007514/0.8994, allocations: 4.892 MB / 0.5854 GB, free: 75.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.8995, allocations: 18.2 kB / 0.5854 GB, free: 75.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002105/0.9016, allocations: 0.9608 MB / 0.5863 GB, free: 75.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.9028, allocations: 369.6 kB / 0.5867 GB, free: 75.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/0.9135, allocations: 11.97 MB / 0.5984 GB, free: 67.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.9156, allocations: 108.1 kB / 0.5985 GB, free: 67.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.9158, allocations: 74.41 kB / 0.5986 GB, free: 67.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.9158, allocations: 7.469 kB / 0.5986 GB, free: 67.17 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004142/0.92, allocations: 3.043 MB / 0.6015 GB, free: 66.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.92, allocations: 13.56 kB / 0.6016 GB, free: 66.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.922, allocations: 0.9631 MB / 0.6025 GB, free: 65.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.9231, allocations: 369.4 kB / 0.6028 GB, free: 65.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.9335, allocations: 11.94 MB / 0.6145 GB, free: 55.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.9356, allocations: 105.1 kB / 0.6146 GB, free: 55.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.9358, allocations: 76 kB / 0.6147 GB, free: 55.84 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.0004675/0.9362, allocations: 226.2 kB / 0.6149 GB, free: 55.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000459/0.9367, allocations: 217.4 kB / 0.6151 GB, free: 55.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004189/0.9409, allocations: 2.928 MB / 0.618 GB, free: 52.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.9409, allocations: 19.95 kB / 0.618 GB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.9409, allocations: 8 kB / 0.618 GB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.941, allocations: 10.31 kB / 0.618 GB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008577/0.9496, allocations: 5.86 MB / 0.6237 GB, free: 48.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.9496, allocations: 4 kB / 0.6237 GB, free: 48.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008594/0.9505, allocations: 223.2 kB / 0.6239 GB, free: 47.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00221/0.9527, allocations: 1.034 MB / 0.6249 GB, free: 47.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.9528, allocations: 43.47 kB / 0.625 GB, free: 47.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/0.9642, allocations: 13.66 MB / 0.6383 GB, free: 34.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9642, allocations: 7.938 kB / 0.6383 GB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005614/0.9698, allocations: 4.38 MB / 0.6426 GB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.971, allocations: 0.4888 MB / 0.6431 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/0.9713, allocations: 38.81 kB / 0.6431 GB, free: 29.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.9725, allocations: 108 kB / 0.6432 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003318/0.9728, allocations: 136.3 kB / 0.6434 GB, free: 29.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.762e-05/0.9729, allocations: 47.61 kB / 0.6434 GB, free: 29.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001615/0.9745, allocations: 1.238 MB / 0.6446 GB, free: 28.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.9745, allocations: 0 / 0.6446 GB, free: 28.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003746/0.9783, allocations: 1.199 MB / 0.6458 GB, free: 26.97 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,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.0007033/0.979, allocations: 372.6 kB / 0.6461 GB, free: 26.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007322/0.9863, allocations: 5.447 MB / 0.6515 GB, free: 21.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.9864, allocations: 0.875 kB / 0.6515 GB, free: 21.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002914/0.9893, allocations: 2.092 MB / 0.6535 GB, free: 19.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.9921, allocations: 0.5423 MB / 0.654 GB, free: 19.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008798/1.001, allocations: 4.743 MB / 0.6587 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/1.003, allocations: 2.052 MB / 0.6607 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002939/1.006, allocations: 0.6898 MB / 0.6613 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/1.006, allocations: 110.2 kB / 0.6615 GB, free: 12.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/1.006, allocations: 0 / 0.6615 GB, free: 12.77 MB / 410.7 MB Notification: Performance of Templates: time 0.2987/1.305, allocations: 49.18 MB / 0.7095 GB, free: 97.48 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