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.00104/0.00104, allocations: 200.5 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007912/0.0007915, allocations: 103.3 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002411/0.0002414, allocations: 4 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2201, allocations: 51.28 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3233/0.5435, allocations: 133.8 MB / 0.5304 GB, free: 48.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.5438, allocations: 104.9 kB / 0.5305 GB, free: 48.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2168/0.7606, allocations: 99.47 MB / 0.6277 GB, free: 5.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.7606, allocations: 3.938 kB / 0.6277 GB, free: 5.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004058/0.761, allocations: 91.92 kB / 0.6278 GB, free: 5.742 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: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.01325/0.7743, allocations: 4.203 MB / 0.6319 GB, free: 1.465 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7744, allocations: 8.031 kB / 0.6319 GB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005587/0.7799, allocations: 0.9091 MB / 0.6328 GB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00855/0.7885, allocations: 3.065 MB / 0.6358 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003203/0.7889, allocations: 275.8 kB / 0.636 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/0.7904, allocations: 376.2 kB / 0.6364 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.803, allocations: 4.677 MB / 0.6409 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001695/0.8032, allocations: 15.84 kB / 0.641 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009112/0.8041, allocations: 152 kB / 0.6411 GB, free: 7.809 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/0.8043, allocations: 155.2 kB / 0.6413 GB, free: 7.656 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008814/0.8131, allocations: 3.819 MB / 0.645 GB, free: 3.832 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0307/0.8439, allocations: 16.05 MB / 0.6607 GB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008529/0.8524, allocations: 8.179 MB / 0.6686 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00327/0.8558, allocations: 1.772 MB / 0.6704 GB, free: 8.492 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.8662, allocations: 5.704 MB / 0.6759 GB, free: 2.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/0.8663, allocations: 52.56 kB / 0.676 GB, free: 2.422 MB / 458.7 MB Notification: Performance of pre-optimization done (n=180): time 4.719e-06/0.8664, allocations: 0 / 0.676 GB, free: 2.422 MB / 458.7 MB Notification: Performance of matching and sorting (n=183): time 0.2366/1.103, allocations: 7.194 MB / 0.683 GB, free: 79.75 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/1.103, allocations: 174.4 kB / 0.6832 GB, free: 79.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/1.107, allocations: 2.21 MB / 0.6853 GB, free: 79.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003487/1.107, allocations: 59.52 kB / 0.6854 GB, free: 79.31 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001044/1.108, allocations: 1.695 MB / 0.6871 GB, free: 78.76 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006098/1.109, allocations: 0.618 MB / 0.6877 GB, free: 78.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/1.109, allocations: 49.81 kB / 0.6877 GB, free: 78.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/1.109, allocations: 395 kB / 0.6881 GB, free: 78.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/1.11, allocations: 0.8496 MB / 0.6889 GB, free: 78.13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/1.112, allocations: 1.509 MB / 0.6904 GB, free: 77.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003209/1.115, allocations: 2.449 MB / 0.6928 GB, free: 76.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/1.115, allocations: 5.219 kB / 0.6928 GB, free: 76.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.004567/1.12, allocations: 3.082 MB / 0.6958 GB, free: 76.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002655/1.12, allocations: 0.643 MB / 0.6964 GB, free: 75.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/1.12, allocations: 23.53 kB / 0.6964 GB, free: 75.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008904/1.121, allocations: 471.1 kB / 0.6969 GB, free: 75.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/1.122, allocations: 489.5 kB / 0.6974 GB, free: 75.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005755/1.128, allocations: 8.077 MB / 0.7052 GB, free: 70.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/1.13, allocations: 104.6 kB / 0.7053 GB, free: 70.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/1.131, allocations: 91.91 kB / 0.7054 GB, free: 70.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/1.131, allocations: 5.5 kB / 0.7054 GB, free: 70.17 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004076/1.135, allocations: 2.811 MB / 0.7082 GB, free: 69.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/1.135, allocations: 20.59 kB / 0.7082 GB, free: 69.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000955/1.136, allocations: 469.3 kB / 0.7087 GB, free: 69.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/1.137, allocations: 480.9 kB / 0.7091 GB, free: 69.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005983/1.143, allocations: 8.084 MB / 0.717 GB, free: 64.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.145, allocations: 91.38 kB / 0.7171 GB, free: 64.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/1.146, allocations: 90.91 kB / 0.7172 GB, free: 64.58 MB / 458.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.002411/1.148, allocations: 1.148 MB / 0.7183 GB, free: 64.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000699/1.149, allocations: 261 kB / 0.7186 GB, free: 64.26 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004737/1.153, allocations: 2.829 MB / 0.7213 GB, free: 63.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.153, allocations: 18.44 kB / 0.7213 GB, free: 63.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/1.153, allocations: 3.094 kB / 0.7213 GB, free: 63.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/1.153, allocations: 11.34 kB / 0.7213 GB, free: 63.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/1.165, allocations: 6.03 MB / 0.7272 GB, free: 63.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/1.165, allocations: 0 / 0.7272 GB, free: 63.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/1.166, allocations: 251.3 kB / 0.7275 GB, free: 63.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/1.167, allocations: 0.6446 MB / 0.7281 GB, free: 63.12 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/1.167, allocations: 51.8 kB / 0.7282 GB, free: 63.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009922/1.177, allocations: 12.6 MB / 0.7405 GB, free: 54.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.177, allocations: 4.594 kB / 0.7405 GB, free: 54.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005941/1.183, allocations: 3.954 MB / 0.7443 GB, free: 52.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.185, allocations: 0.5146 MB / 0.7448 GB, free: 52.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006677/1.185, allocations: 37.83 kB / 0.7449 GB, free: 52.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.187, allocations: 89.77 kB / 0.7449 GB, free: 52.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/1.187, allocations: 141.1 kB / 0.7451 GB, free: 52.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.187, allocations: 49.88 kB / 0.7451 GB, free: 52.37 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002812/1.19, allocations: 1.495 MB / 0.7466 GB, free: 51.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.19, allocations: 3.188 kB / 0.7466 GB, free: 51.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00577/1.196, allocations: 1.36 MB / 0.7479 GB, free: 51.65 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 () * 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.0008945/1.197, allocations: 488.1 kB / 0.7484 GB, free: 51.53 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006559/1.203, allocations: 4.81 MB / 0.7531 GB, free: 49.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.204, allocations: 0 / 0.7531 GB, free: 49.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002407/1.206, allocations: 1.99 MB / 0.755 GB, free: 47.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004212/1.21, allocations: 0.6665 MB / 0.7557 GB, free: 47.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/1.223, allocations: 8.308 MB / 0.7638 GB, free: 43.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002985/1.226, allocations: 2.516 MB / 0.7662 GB, free: 41.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002936/1.229, allocations: 0.6048 MB / 0.7668 GB, free: 41.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005701/1.23, allocations: 165.2 kB / 0.767 GB, free: 41.88 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/1.23, allocations: 0 / 0.767 GB, free: 41.88 MB / 458.7 MB Notification: Performance of Templates: time 0.07309/1.303, allocations: 45.11 MB / 0.811 GB, free: 25.43 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/jenkins1/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