Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008473/0.0008474, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 223.3 MB / 241.4 MB, free: 11.61 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000757/0.000757, allocations: 106 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002813, allocations: 12 kB / 352.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2114, allocations: 50.41 MB / 402.8 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3013/0.5128, allocations: 132.8 MB / 0.523 GB, free: 92.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.5131, allocations: 103.2 kB / 0.5231 GB, free: 92.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1898/0.7029, allocations: 95.97 MB / 0.6169 GB, free: 12.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.703, allocations: 0 / 0.6169 GB, free: 12.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003736/0.7033, allocations: 95.81 kB / 0.617 GB, free: 12.54 MB / 394.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.01223/0.7156, allocations: 4.167 MB / 0.621 GB, free: 8.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.7157, allocations: 8.031 kB / 0.621 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004986/0.7206, allocations: 0.9091 MB / 0.6219 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007414/0.7281, allocations: 3.038 MB / 0.6249 GB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.7283, allocations: 279.8 kB / 0.6252 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006038/0.7289, allocations: 368.3 kB / 0.6255 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007781/0.7367, allocations: 4.675 MB / 0.6301 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-05/0.7368, allocations: 19.78 kB / 0.6301 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003249/0.7372, allocations: 152 kB / 0.6302 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/0.7373, allocations: 155.3 kB / 0.6304 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006235/0.7436, allocations: 3.819 MB / 0.6341 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02244/0.766, allocations: 15.97 MB / 0.6497 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006868/0.7729, allocations: 7.914 MB / 0.6574 GB, free: 1.539 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2201/0.9931, allocations: 1.764 MB / 0.6592 GB, free: 62.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008425/1.002, allocations: 5.115 MB / 0.6642 GB, free: 61.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/1.002, allocations: 58.86 kB / 0.6642 GB, free: 61.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 3.216e-06/1.002, allocations: 0 / 0.6642 GB, free: 61.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=183): time 0.01099/1.013, allocations: 7.19 MB / 0.6712 GB, free: 60.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/1.013, allocations: 178.9 kB / 0.6714 GB, free: 59.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/1.015, allocations: 2.196 MB / 0.6735 GB, free: 59.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.77e-05/1.015, allocations: 56.92 kB / 0.6736 GB, free: 59.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008625/1.016, allocations: 1.686 MB / 0.6752 GB, free: 59.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00034/1.017, allocations: 0.6256 MB / 0.6759 GB, free: 58.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/1.017, allocations: 44.91 kB / 0.6759 GB, free: 58.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/1.017, allocations: 394 kB / 0.6763 GB, free: 58.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/1.018, allocations: 0.853 MB / 0.6771 GB, free: 58.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/1.019, allocations: 1.504 MB / 0.6786 GB, free: 57.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/1.022, allocations: 2.454 MB / 0.681 GB, free: 56.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/1.022, allocations: 6.688 kB / 0.681 GB, free: 56.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.00431/1.026, allocations: 3.087 MB / 0.684 GB, free: 56.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002508/1.027, allocations: 0.644 MB / 0.6846 GB, free: 55.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/1.027, allocations: 18.5 kB / 0.6846 GB, free: 55.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008658/1.027, allocations: 472.1 kB / 0.6851 GB, free: 55.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/1.029, allocations: 494.5 kB / 0.6856 GB, free: 55.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005856/1.035, allocations: 8.07 MB / 0.6934 GB, free: 50.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/1.037, allocations: 98.75 kB / 0.6935 GB, free: 50.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/1.037, allocations: 93.16 kB / 0.6936 GB, free: 50.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.112e-06/1.037, allocations: 7.016 kB / 0.6936 GB, free: 50.46 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003518/1.04, allocations: 2.812 MB / 0.6964 GB, free: 50.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/1.04, allocations: 23.38 kB / 0.6964 GB, free: 50.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007883/1.041, allocations: 471.3 kB / 0.6969 GB, free: 50.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/1.043, allocations: 480 kB / 0.6973 GB, free: 50.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005433/1.048, allocations: 8.084 MB / 0.7052 GB, free: 44.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/1.05, allocations: 89.67 kB / 0.7053 GB, free: 44.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/1.05, allocations: 95.59 kB / 0.7054 GB, free: 44.87 MB / 426.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.001963/1.052, allocations: 1.154 MB / 0.7065 GB, free: 44.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/1.052, allocations: 255.7 kB / 0.7068 GB, free: 44.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003911/1.056, allocations: 2.828 MB / 0.7095 GB, free: 44.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.056, allocations: 18.81 kB / 0.7095 GB, free: 44.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.056, allocations: 5.875 kB / 0.7095 GB, free: 44.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/1.056, allocations: 7.641 kB / 0.7095 GB, free: 44.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007569/1.064, allocations: 6.022 MB / 0.7154 GB, free: 42.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.064, allocations: 3.594 kB / 0.7154 GB, free: 42.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009977/1.065, allocations: 254.4 kB / 0.7157 GB, free: 42.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/1.066, allocations: 0.6467 MB / 0.7163 GB, free: 41.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.882e-05/1.066, allocations: 44.97 kB / 0.7163 GB, free: 41.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008888/1.075, allocations: 12.59 MB / 0.7286 GB, free: 31.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.075, allocations: 2.891 kB / 0.7286 GB, free: 31.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004887/1.08, allocations: 3.953 MB / 0.7325 GB, free: 29.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008564/1.081, allocations: 0.5104 MB / 0.733 GB, free: 29.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/1.081, allocations: 39.75 kB / 0.733 GB, free: 29.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.082, allocations: 87.78 kB / 0.7331 GB, free: 29.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/1.082, allocations: 145.3 kB / 0.7333 GB, free: 29.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-05/1.082, allocations: 49.17 kB / 0.7333 GB, free: 29.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001844/1.084, allocations: 1.478 MB / 0.7348 GB, free: 28.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.084, allocations: 0 / 0.7348 GB, free: 28.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003705/1.088, allocations: 1.348 MB / 0.7361 GB, free: 28.67 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 () * 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.0005912/1.089, allocations: 453.2 kB / 0.7365 GB, free: 28.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005374/1.094, allocations: 4.81 MB / 0.7412 GB, free: 26.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.094, allocations: 7.312 kB / 0.7412 GB, free: 26.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002091/1.096, allocations: 1.979 MB / 0.7431 GB, free: 24.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.099, allocations: 0.6477 MB / 0.7438 GB, free: 24.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009453/1.108, allocations: 8.28 MB / 0.7519 GB, free: 20.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/1.11, allocations: 2.513 MB / 0.7543 GB, free: 18.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002199/1.113, allocations: 0.6156 MB / 0.7549 GB, free: 18.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/1.113, allocations: 151.1 kB / 0.7551 GB, free: 18.84 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/1.113, allocations: 0 / 0.7551 GB, free: 18.84 MB / 426.7 MB Notification: Performance of Templates: time 0.06201/1.175, allocations: 44.74 MB / 0.7988 GB, free: 10.71 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches