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.001326/0.001326, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008534/0.0008533, allocations: 86.72 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.628e-05, allocations: 4 kB / 315.5 MB, free: 22.69 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0796/0.07963, allocations: 47.58 MB / 363.1 MB, free: 7.047 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3506/0.4303, allocations: 130.9 MB / 494 MB, free: 13.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.4305, allocations: 81.33 kB / 494.1 MB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4455/0.876, allocations: 94.8 MB / 0.5751 GB, free: 92.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.876, allocations: 0 / 0.5751 GB, free: 92.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003236/0.8764, allocations: 98.38 kB / 0.5752 GB, free: 92.54 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.01068/0.8871, allocations: 3.736 MB / 0.5788 GB, free: 90.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.8871, allocations: 7.281 kB / 0.5788 GB, free: 90.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006027/0.8932, allocations: 0.9061 MB / 0.5797 GB, free: 90.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01408/0.9073, allocations: 3.609 MB / 0.5832 GB, free: 88.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.9075, allocations: 124.3 kB / 0.5834 GB, free: 88.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/0.9086, allocations: 221.1 kB / 0.5836 GB, free: 88.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01081/0.9194, allocations: 3.486 MB / 0.587 GB, free: 87.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.9324, allocations: 4.037 MB / 0.5909 GB, free: 85.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.9326, allocations: 11.44 kB / 0.5909 GB, free: 85.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005013/0.9331, allocations: 3.469 kB / 0.5909 GB, free: 85.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001907/0.9333, allocations: 158.4 kB / 0.5911 GB, free: 85.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/0.9649, allocations: 15.33 MB / 0.6061 GB, free: 76.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005825/0.9708, allocations: 7.668 MB / 0.6135 GB, free: 68.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/0.9729, allocations: 1.641 MB / 0.6151 GB, free: 67.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007898/0.9808, allocations: 4.93 MB / 0.62 GB, free: 62.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/0.9809, allocations: 60.44 kB / 0.62 GB, free: 62.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=174): time 4.238e-06/0.9809, allocations: 0 / 0.62 GB, free: 62.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=177): time 0.009434/0.9903, allocations: 5.228 MB / 0.6251 GB, free: 58.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.9904, allocations: 180.2 kB / 0.6253 GB, free: 57.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.9925, allocations: 1.579 MB / 0.6268 GB, free: 56.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.9926, allocations: 25.7 kB / 0.6269 GB, free: 56.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007049/0.9934, allocations: 1.712 MB / 0.6285 GB, free: 54.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.9937, allocations: 0.5735 MB / 0.6291 GB, free: 53.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/0.9938, allocations: 0 / 0.6291 GB, free: 53.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.9939, allocations: 390.4 kB / 0.6295 GB, free: 53.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009222/0.9948, allocations: 0.7658 MB / 0.6302 GB, free: 52.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.996, allocations: 1.39 MB / 0.6316 GB, free: 51.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.9977, allocations: 1.157 MB / 0.6327 GB, free: 50 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.9978, allocations: 4 kB / 0.6327 GB, free: 50 MB / 410.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004628/1.002, allocations: 2.882 MB / 0.6355 GB, free: 47.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002011/1.004, allocations: 7.723 MB / 0.6431 GB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-05/1.005, allocations: 27.94 kB / 0.6431 GB, free: 38.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/1.006, allocations: 455.9 kB / 0.6435 GB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/1.007, allocations: 487.2 kB / 0.644 GB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005763/1.013, allocations: 7.771 MB / 0.6516 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/1.016, allocations: 51.86 kB / 0.6516 GB, free: 29.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/1.016, allocations: 99.98 kB / 0.6517 GB, free: 29.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/1.016, allocations: 4 kB / 0.6517 GB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003915/1.02, allocations: 2.606 MB / 0.6543 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.827e-05/1.02, allocations: 20.44 kB / 0.6543 GB, free: 26.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007956/1.021, allocations: 455.9 kB / 0.6547 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/1.022, allocations: 487.2 kB / 0.6552 GB, free: 25.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00543/1.028, allocations: 7.766 MB / 0.6628 GB, free: 17.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/1.03, allocations: 51.95 kB / 0.6628 GB, free: 17.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/1.03, allocations: 91.98 kB / 0.6629 GB, free: 17.46 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 () * 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.000604/1.031, allocations: 169.5 kB / 0.6631 GB, free: 17.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/1.031, allocations: 233.2 kB / 0.6633 GB, free: 17.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004785/1.036, allocations: 2.688 MB / 0.6659 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/1.036, allocations: 16 kB / 0.6659 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.036, allocations: 4.562 kB / 0.6659 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/1.036, allocations: 7.969 kB / 0.6659 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.047, allocations: 5.375 MB / 0.6712 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/1.047, allocations: 4 kB / 0.6712 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/1.048, allocations: 243.7 kB / 0.6714 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/1.049, allocations: 0.6367 MB / 0.6721 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/1.05, allocations: 15.94 kB / 0.6721 GB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/1.06, allocations: 12.09 MB / 0.6839 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/1.06, allocations: 8.266 kB / 0.6839 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007977/1.068, allocations: 3.879 MB / 0.6877 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/1.07, allocations: 486.1 kB / 0.6881 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007936/1.071, allocations: 15.98 kB / 0.6881 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.073, allocations: 55.94 kB / 0.6882 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003714/1.073, allocations: 133.7 kB / 0.6883 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.073, allocations: 52 kB / 0.6884 GB, free: 6.344 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00287/1.076, allocations: 1.165 MB / 0.6895 GB, free: 5.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.076, allocations: 0 / 0.6895 GB, free: 5.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006485/1.083, allocations: 1.172 MB / 0.6907 GB, free: 3.988 MB / 426.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.0009932/1.084, allocations: 446.5 kB / 0.6911 GB, free: 3.574 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2343/1.318, allocations: 4.456 MB / 0.6954 GB, free: 95.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.318, allocations: 3.719 kB / 0.6954 GB, free: 95.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002758/1.321, allocations: 1.829 MB / 0.6972 GB, free: 95.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/1.324, allocations: 499.5 kB / 0.6977 GB, free: 95.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/1.336, allocations: 5.446 MB / 0.703 GB, free: 93.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00377/1.34, allocations: 2.585 MB / 0.7055 GB, free: 93.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003896/1.344, allocations: 0.7636 MB / 0.7063 GB, free: 92.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/1.344, allocations: 116 kB / 0.7064 GB, free: 92.92 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/1.344, allocations: 4 kB / 0.7064 GB, free: 92.91 MB / 426.7 MB Notification: Performance of Templates: time 0.05707/1.401, allocations: 38.42 MB / 0.7439 GB, free: 90.52 MB / 426.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/jenkins/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