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.001396/0.001396, allocations: 195 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000916/0.0009163, allocations: 98.75 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.597e-05/2.599e-05, allocations: 4 kB / 350.6 MB, free: 2.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09788/0.09792, allocations: 51.49 MB / 402 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/0.4617, allocations: 133.5 MB / 0.523 GB, free: 4.836 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.4621, allocations: 95.86 kB / 0.5231 GB, free: 4.785 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4579/0.92, allocations: 99.73 MB / 0.6205 GB, free: 80.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.92, allocations: 0 / 0.6205 GB, free: 80.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003857/0.9204, allocations: 100 kB / 0.6206 GB, free: 80.93 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.01254/0.933, allocations: 3.78 MB / 0.6243 GB, free: 79.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.933, allocations: 9.562 kB / 0.6243 GB, free: 79.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006204/0.9393, allocations: 0.9008 MB / 0.6252 GB, free: 79.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.9506, allocations: 3.648 MB / 0.6288 GB, free: 77.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.9509, allocations: 276.1 kB / 0.629 GB, free: 77.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/0.9521, allocations: 369.8 kB / 0.6294 GB, free: 77.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009368/0.9614, allocations: 4.571 MB / 0.6338 GB, free: 75.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.9616, allocations: 7.906 kB / 0.6338 GB, free: 75.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/0.962, allocations: 155 kB / 0.634 GB, free: 75.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.9621, allocations: 161.1 kB / 0.6341 GB, free: 75.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005795/0.9679, allocations: 3.713 MB / 0.6378 GB, free: 73.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0206/0.9885, allocations: 16.1 MB / 0.6535 GB, free: 64.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005787/0.9943, allocations: 8.04 MB / 0.6613 GB, free: 57.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002325/0.9967, allocations: 1.732 MB / 0.663 GB, free: 56.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007978/1.005, allocations: 5.659 MB / 0.6686 GB, free: 53.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/1.005, allocations: 59.17 kB / 0.6686 GB, free: 53.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=174): time 4.499e-06/1.005, allocations: 0 / 0.6686 GB, free: 53.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.008132/1.013, allocations: 5.079 MB / 0.6736 GB, free: 50.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/1.013, allocations: 177.1 kB / 0.6737 GB, free: 50.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002799/1.016, allocations: 1.939 MB / 0.6756 GB, free: 49.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/1.016, allocations: 52.67 kB / 0.6757 GB, free: 49.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001019/1.017, allocations: 1.699 MB / 0.6773 GB, free: 48.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/1.017, allocations: 0.6004 MB / 0.6779 GB, free: 47.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/1.018, allocations: 46 kB / 0.678 GB, free: 47.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/1.018, allocations: 395.6 kB / 0.6784 GB, free: 47.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/1.019, allocations: 0.8049 MB / 0.6791 GB, free: 47.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/1.02, allocations: 1.444 MB / 0.6805 GB, free: 46.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/1.022, allocations: 1.055 MB / 0.6816 GB, free: 45.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.022, allocations: 10.78 kB / 0.6816 GB, free: 45.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004134/1.026, allocations: 2.977 MB / 0.6845 GB, free: 44.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001715/1.028, allocations: 7.837 MB / 0.6921 GB, free: 35.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.555e-05/1.028, allocations: 19.16 kB / 0.6922 GB, free: 35.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009596/1.029, allocations: 471.8 kB / 0.6926 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/1.03, allocations: 481.7 kB / 0.6931 GB, free: 35.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005797/1.036, allocations: 8.059 MB / 0.7009 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/1.038, allocations: 102.1 kB / 0.701 GB, free: 28.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/1.038, allocations: 92.84 kB / 0.7011 GB, free: 28.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/1.038, allocations: 4.094 kB / 0.7011 GB, free: 28.93 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003769/1.042, allocations: 2.724 MB / 0.7038 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/1.042, allocations: 23.95 kB / 0.7038 GB, free: 27.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008633/1.043, allocations: 472.6 kB / 0.7043 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/1.045, allocations: 476.7 kB / 0.7047 GB, free: 26.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005913/1.051, allocations: 8.042 MB / 0.7126 GB, free: 18.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/1.053, allocations: 83.58 kB / 0.7127 GB, free: 18.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/1.053, allocations: 96.09 kB / 0.7127 GB, free: 18.36 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.0005567/1.054, allocations: 245.1 kB / 0.713 GB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004484/1.054, allocations: 256.9 kB / 0.7132 GB, free: 17.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004295/1.059, allocations: 2.73 MB / 0.7159 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/1.059, allocations: 23.84 kB / 0.7159 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.059, allocations: 8 kB / 0.7159 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/1.059, allocations: 6.469 kB / 0.7159 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008642/1.067, allocations: 5.874 MB / 0.7217 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.068, allocations: 0 / 0.7217 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/1.069, allocations: 246.2 kB / 0.7219 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/1.07, allocations: 0.6489 MB / 0.7225 GB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/1.07, allocations: 39.95 kB / 0.7226 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009709/1.08, allocations: 12.54 MB / 0.7348 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.08, allocations: 0 / 0.7348 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005981/1.086, allocations: 3.952 MB / 0.7387 GB, free: 9.008 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.087, allocations: 0.5018 MB / 0.7392 GB, free: 8.484 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003347/1.088, allocations: 40 kB / 0.7392 GB, free: 8.445 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.089, allocations: 83.94 kB / 0.7393 GB, free: 8.363 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003286/1.089, allocations: 137.8 kB / 0.7394 GB, free: 8.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/1.089, allocations: 51.98 kB / 0.7395 GB, free: 8.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002291/1.091, allocations: 1.463 MB / 0.7409 GB, free: 6.699 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.091, allocations: 3.938 kB / 0.7409 GB, free: 6.695 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004569/1.096, allocations: 1.359 MB / 0.7422 GB, free: 5.336 MB / 458.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.0008889/1.097, allocations: 0.525 MB / 0.7427 GB, free: 4.848 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.2559/1.353, allocations: 4.735 MB / 0.7474 GB, free: 86.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/1.353, allocations: 6.031 kB / 0.7474 GB, free: 86.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003119/1.356, allocations: 1.905 MB / 0.7492 GB, free: 86.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/1.359, allocations: 0.638 MB / 0.7499 GB, free: 86.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.37, allocations: 5.608 MB / 0.7553 GB, free: 85.03 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/1.372, allocations: 2.587 MB / 0.7579 GB, free: 84.26 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003433/1.376, allocations: 0.8619 MB / 0.7587 GB, free: 84.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/1.376, allocations: 122.4 kB / 0.7588 GB, free: 84.15 MB / 458.7 MB Notification: Performance of SimCode: time 1.733e-06/1.376, allocations: 0 / 0.7588 GB, free: 84.15 MB / 458.7 MB Notification: Performance of Templates: time 0.07979/1.456, allocations: 48.67 MB / 0.8063 GB, free: 81.6 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