Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.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.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.852/1.852, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008292/0.0008293, allocations: 92.17 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.759e-05, allocations: 0 / 343.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 51.48 MB / 395.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.392/0.5099, allocations: 132.9 MB / 0.5157 GB, free: 9.273 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.5103, allocations: 97.75 kB / 0.5158 GB, free: 9.223 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.514/1.024, allocations: 98.53 MB / 0.612 GB, free: 76.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.024, allocations: 0 / 0.612 GB, free: 76.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004296/1.025, allocations: 95.45 kB / 0.6121 GB, free: 76.5 MB / 442.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.01346/1.038, allocations: 3.777 MB / 0.6158 GB, free: 74.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.038, allocations: 9.469 kB / 0.6158 GB, free: 74.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006245/1.045, allocations: 0.9035 MB / 0.6167 GB, free: 74.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/1.056, allocations: 3.631 MB / 0.6202 GB, free: 74.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/1.057, allocations: 117.8 kB / 0.6203 GB, free: 74.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001315/1.058, allocations: 220.3 kB / 0.6205 GB, free: 74.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009592/1.068, allocations: 3.494 MB / 0.6239 GB, free: 73.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/1.079, allocations: 4.032 MB / 0.6279 GB, free: 71.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/1.079, allocations: 9.469 kB / 0.6279 GB, free: 71.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000433/1.08, allocations: 4.031 kB / 0.6279 GB, free: 71.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/1.08, allocations: 157.2 kB / 0.628 GB, free: 71.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02236/1.102, allocations: 15.41 MB / 0.6431 GB, free: 63.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005345/1.108, allocations: 7.925 MB / 0.6508 GB, free: 56.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/1.11, allocations: 1.661 MB / 0.6525 GB, free: 55.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007453/1.117, allocations: 5.51 MB / 0.6578 GB, free: 52.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/1.117, allocations: 57.44 kB / 0.6579 GB, free: 51.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=174): time 4.248e-06/1.117, allocations: 0 / 0.6579 GB, free: 51.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.01078/1.128, allocations: 5.5 MB / 0.6633 GB, free: 49.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/1.128, allocations: 173.2 kB / 0.6634 GB, free: 49.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/1.13, allocations: 1.587 MB / 0.665 GB, free: 48.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/1.13, allocations: 29.61 kB / 0.665 GB, free: 48.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008001/1.131, allocations: 1.716 MB / 0.6667 GB, free: 47.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/1.131, allocations: 0.5818 MB / 0.6672 GB, free: 46.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/1.132, allocations: 0 / 0.6672 GB, free: 46.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/1.132, allocations: 393.2 kB / 0.6676 GB, free: 46.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009495/1.133, allocations: 0.7663 MB / 0.6684 GB, free: 46.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/1.134, allocations: 1.391 MB / 0.6697 GB, free: 44.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/1.136, allocations: 1.247 MB / 0.6709 GB, free: 44.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/1.136, allocations: 11.81 kB / 0.671 GB, free: 44.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004684/1.141, allocations: 2.958 MB / 0.6738 GB, free: 43.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001927/1.143, allocations: 7.739 MB / 0.6814 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.969e-05/1.143, allocations: 20.44 kB / 0.6814 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/1.144, allocations: 470.2 kB / 0.6819 GB, free: 34.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/1.146, allocations: 477.6 kB / 0.6823 GB, free: 34.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005453/1.151, allocations: 7.762 MB / 0.6899 GB, free: 28.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/1.153, allocations: 63.16 kB / 0.69 GB, free: 28.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/1.153, allocations: 89.38 kB / 0.6901 GB, free: 28.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/1.153, allocations: 4.031 kB / 0.6901 GB, free: 28.54 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004623/1.158, allocations: 2.696 MB / 0.6927 GB, free: 27.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/1.158, allocations: 21.09 kB / 0.6927 GB, free: 27.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008777/1.159, allocations: 465.2 kB / 0.6932 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/1.16, allocations: 476.8 kB / 0.6936 GB, free: 27.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/1.166, allocations: 7.756 MB / 0.7012 GB, free: 21.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/1.168, allocations: 57.05 kB / 0.7012 GB, free: 21.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/1.168, allocations: 96.38 kB / 0.7013 GB, free: 21 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 245 * 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.0005543/1.169, allocations: 162.4 kB / 0.7015 GB, free: 20.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/1.169, allocations: 231 kB / 0.7017 GB, free: 20.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00479/1.174, allocations: 2.747 MB / 0.7044 GB, free: 19.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/1.174, allocations: 24.47 kB / 0.7044 GB, free: 19.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.174, allocations: 10.88 kB / 0.7044 GB, free: 19.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/1.174, allocations: 10.17 kB / 0.7044 GB, free: 19.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008797/1.183, allocations: 5.443 MB / 0.7097 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.183, allocations: 3.969 kB / 0.7097 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/1.184, allocations: 244.7 kB / 0.71 GB, free: 17.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/1.185, allocations: 0.6401 MB / 0.7106 GB, free: 16.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/1.185, allocations: 20.38 kB / 0.7106 GB, free: 16.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009329/1.195, allocations: 12.1 MB / 0.7224 GB, free: 6.445 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.195, allocations: 4.031 kB / 0.7224 GB, free: 6.441 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005959/1.201, allocations: 3.951 MB / 0.7263 GB, free: 2.773 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/1.202, allocations: 490.6 kB / 0.7268 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003794/1.202, allocations: 4 kB / 0.7268 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/1.203, allocations: 65.44 kB / 0.7268 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/1.204, allocations: 134.4 kB / 0.727 GB, free: 2.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.675e-05/1.204, allocations: 52 kB / 0.727 GB, free: 2.145 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001614/1.205, allocations: 1.172 MB / 0.7282 GB, free: 1.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.205, allocations: 0 / 0.7282 GB, free: 1.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005367/1.211, allocations: 1.245 MB / 0.7294 GB, free: 0 / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 118 * 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.001066/1.212, allocations: 465.8 kB / 0.7298 GB, free: 15.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0069/1.219, allocations: 4.486 MB / 0.7342 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.219, allocations: 0 / 0.7342 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002648/1.221, allocations: 1.815 MB / 0.736 GB, free: 9.562 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/1.224, allocations: 0.4936 MB / 0.7365 GB, free: 9.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/1.237, allocations: 5.462 MB / 0.7418 GB, free: 4.246 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002807/1.24, allocations: 2.585 MB / 0.7443 GB, free: 2.254 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003518/1.244, allocations: 0.7725 MB / 0.7451 GB, free: 1.734 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/1.244, allocations: 111.1 kB / 0.7452 GB, free: 1.629 MB / 458.7 MB Notification: Performance of SimCode: time 1.803e-06/1.244, allocations: 0 / 0.7452 GB, free: 1.629 MB / 458.7 MB Notification: Performance of Templates: time 0.3563/1.6, allocations: 38.93 MB / 0.7832 GB, free: 79.21 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_Rectifier/SMEE_Rectifier.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches