Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.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.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008871/0.0008871, allocations: 183 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.303/1.303, allocations: 205.4 MB / 224.2 MB, free: 8.926 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.000849/0.0008492, allocations: 89.72 kB / 272.5 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.000321, allocations: 8 kB / 329.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.212, allocations: 47.57 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2987/0.5107, allocations: 131.8 MB / 0.497 GB, free: 105.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.511, allocations: 92.5 kB / 0.497 GB, free: 105.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.207/0.718, allocations: 95.81 MB / 0.5906 GB, free: 27.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.718, allocations: 4 kB / 0.5906 GB, free: 27.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004123/0.7185, allocations: 91.92 kB / 0.5907 GB, free: 27.41 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: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.01336/0.7318, allocations: 4.155 MB / 0.5948 GB, free: 23.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.7319, allocations: 8.031 kB / 0.5948 GB, free: 23.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/0.737, allocations: 0.913 MB / 0.5957 GB, free: 22.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007326/0.7444, allocations: 3.049 MB / 0.5986 GB, free: 19.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.7446, allocations: 275.8 kB / 0.5989 GB, free: 18.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/0.7458, allocations: 376.2 kB / 0.5993 GB, free: 18.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.7566, allocations: 4.672 MB / 0.6038 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001564/0.7568, allocations: 11.94 kB / 0.6038 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008276/0.7576, allocations: 156 kB / 0.604 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/0.7577, allocations: 155.3 kB / 0.6041 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008023/0.7658, allocations: 3.815 MB / 0.6079 GB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0271/0.7929, allocations: 15.97 MB / 0.6235 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008612/0.8016, allocations: 7.926 MB / 0.6312 GB, free: 396 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003246/0.8049, allocations: 1.768 MB / 0.6329 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009148/0.814, allocations: 5.119 MB / 0.6379 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.8141, allocations: 52.56 kB / 0.638 GB, free: 9.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 5.6e-06/0.8141, allocations: 0 / 0.638 GB, free: 9.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=183): time 0.01532/0.8294, allocations: 7.218 MB / 0.645 GB, free: 1.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/0.8296, allocations: 180.2 kB / 0.6452 GB, free: 1.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1915/1.021, allocations: 2.197 MB / 0.6473 GB, free: 68.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000361/1.021, allocations: 55.61 kB / 0.6474 GB, free: 68.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009822/1.022, allocations: 1.689 MB / 0.649 GB, free: 68.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004728/1.023, allocations: 0.6203 MB / 0.6496 GB, free: 67.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/1.023, allocations: 51.33 kB / 0.6497 GB, free: 67.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/1.023, allocations: 389.5 kB / 0.6501 GB, free: 67.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/1.024, allocations: 0.8561 MB / 0.6509 GB, free: 67.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/1.026, allocations: 1.495 MB / 0.6524 GB, free: 66.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/1.028, allocations: 2.464 MB / 0.6548 GB, free: 66.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/1.028, allocations: 3.781 kB / 0.6548 GB, free: 66.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.004304/1.033, allocations: 3.08 MB / 0.6578 GB, free: 65.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003086/1.033, allocations: 0.6468 MB / 0.6584 GB, free: 65.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/1.033, allocations: 22.16 kB / 0.6584 GB, free: 65.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009371/1.034, allocations: 463.9 kB / 0.6589 GB, free: 65.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/1.036, allocations: 493.4 kB / 0.6593 GB, free: 65.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005816/1.041, allocations: 8.076 MB / 0.6672 GB, free: 59.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/1.043, allocations: 101.1 kB / 0.6673 GB, free: 59.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/1.044, allocations: 90.19 kB / 0.6674 GB, free: 59.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/1.044, allocations: 3.406 kB / 0.6674 GB, free: 59.68 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003771/1.048, allocations: 2.812 MB / 0.6702 GB, free: 59.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/1.048, allocations: 25.56 kB / 0.6702 GB, free: 59.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008061/1.048, allocations: 472.7 kB / 0.6706 GB, free: 59.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/1.05, allocations: 486.8 kB / 0.6711 GB, free: 59.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005601/1.056, allocations: 8.075 MB / 0.679 GB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.057, allocations: 94.83 kB / 0.6791 GB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/1.057, allocations: 96 kB / 0.6792 GB, free: 54.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * 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 (258): * Single equations (assignments): 251 * 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 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001943/1.059, allocations: 1.155 MB / 0.6803 GB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004623/1.06, allocations: 257.3 kB / 0.6805 GB, free: 53.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004101/1.064, allocations: 2.826 MB / 0.6833 GB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.064, allocations: 17.06 kB / 0.6833 GB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.064, allocations: 3.781 kB / 0.6833 GB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/1.064, allocations: 13.67 kB / 0.6833 GB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007831/1.072, allocations: 6.018 MB / 0.6892 GB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/1.072, allocations: 5.188 kB / 0.6892 GB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.073, allocations: 258.6 kB / 0.6895 GB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/1.074, allocations: 0.6481 MB / 0.6901 GB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/1.074, allocations: 41.03 kB / 0.6901 GB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009455/1.084, allocations: 12.58 MB / 0.7024 GB, free: 44.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.084, allocations: 6.25 kB / 0.7024 GB, free: 44.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004997/1.089, allocations: 3.945 MB / 0.7063 GB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.09, allocations: 0.5156 MB / 0.7068 GB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/1.09, allocations: 35.12 kB / 0.7068 GB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.091, allocations: 94.09 kB / 0.7069 GB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/1.092, allocations: 146.8 kB / 0.707 GB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.872e-05/1.092, allocations: 46.59 kB / 0.7071 GB, free: 41.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001878/1.094, allocations: 1.482 MB / 0.7085 GB, free: 41.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.094, allocations: 2.812 kB / 0.7085 GB, free: 41.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003737/1.097, allocations: 1.348 MB / 0.7099 GB, free: 41.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,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 (130): * Single equations (assignments): 124 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006393/1.098, allocations: 444.8 kB / 0.7103 GB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005486/1.104, allocations: 4.814 MB / 0.715 GB, free: 38.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.104, allocations: 2.625 kB / 0.715 GB, free: 38.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00211/1.106, allocations: 1.98 MB / 0.7169 GB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/1.109, allocations: 0.6517 MB / 0.7176 GB, free: 37.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/1.12, allocations: 8.28 MB / 0.7256 GB, free: 32.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00242/1.122, allocations: 2.511 MB / 0.7281 GB, free: 31.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002534/1.125, allocations: 0.6054 MB / 0.7287 GB, free: 31.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/1.125, allocations: 161.3 kB / 0.7288 GB, free: 31.49 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/1.125, allocations: 0 / 0.7288 GB, free: 31.49 MB / 410.7 MB Notification: Performance of Templates: time 0.06328/1.188, allocations: 44.7 MB / 0.7725 GB, free: 7.684 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_Rectifier/SMEE_Rectifier.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches