Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_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.0009597/0.0009597, allocations: 200.9 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.5 MB / 245.4 MB, free: 8.266 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000884/0.0008839, allocations: 104 kB / 297.4 MB, free: 6.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002283/0.0002284, allocations: 8 kB / 357.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2073, allocations: 51.28 MB / 408.7 MB, free: 27.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/0.4888, allocations: 133.8 MB / 0.5297 GB, free: 48.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.4891, allocations: 100.4 kB / 0.5298 GB, free: 48.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2036/0.6927, allocations: 99.46 MB / 0.627 GB, free: 5.961 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.268e-06/0.6928, allocations: 0 / 0.627 GB, free: 5.961 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003952/0.6932, allocations: 99.8 kB / 0.6271 GB, free: 5.863 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.01251/0.7057, allocations: 4.207 MB / 0.6312 GB, free: 1.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.7057, allocations: 8.031 kB / 0.6312 GB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005099/0.7109, allocations: 0.9052 MB / 0.6321 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007657/0.7185, allocations: 3.069 MB / 0.6351 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002869/0.7188, allocations: 271.8 kB / 0.6353 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/0.72, allocations: 372.3 kB / 0.6357 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.7302, allocations: 4.677 MB / 0.6402 GB, free: 8.098 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.7304, allocations: 11.84 kB / 0.6403 GB, free: 8.086 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006318/0.731, allocations: 156 kB / 0.6404 GB, free: 7.934 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/0.7312, allocations: 155.2 kB / 0.6406 GB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007497/0.7387, allocations: 3.819 MB / 0.6443 GB, free: 3.957 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02489/0.7636, allocations: 16.05 MB / 0.66 GB, free: 3.473 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007122/0.7708, allocations: 8.169 MB / 0.6679 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002604/0.7734, allocations: 1.776 MB / 0.6697 GB, free: 8.613 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008608/0.782, allocations: 5.711 MB / 0.6752 GB, free: 2.594 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.7821, allocations: 52.56 kB / 0.6753 GB, free: 2.535 MB / 458.7 MB Notification: Performance of pre-optimization done (n=180): time 3.897e-06/0.7821, allocations: 0 / 0.6753 GB, free: 2.535 MB / 458.7 MB Notification: Performance of matching and sorting (n=183): time 0.1835/0.9656, allocations: 7.191 MB / 0.6823 GB, free: 80.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.9657, allocations: 175.7 kB / 0.6825 GB, free: 80.51 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003272/0.969, allocations: 2.213 MB / 0.6846 GB, free: 80.28 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.9691, allocations: 56.67 kB / 0.6847 GB, free: 80.25 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008355/0.97, allocations: 1.692 MB / 0.6864 GB, free: 79.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004526/0.9704, allocations: 0.6175 MB / 0.687 GB, free: 79.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.9706, allocations: 44.06 kB / 0.687 GB, free: 79.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.9707, allocations: 403.2 kB / 0.6874 GB, free: 79.08 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.972, allocations: 0.8539 MB / 0.6882 GB, free: 79.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.9737, allocations: 1.505 MB / 0.6897 GB, free: 78.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003037/0.9768, allocations: 2.45 MB / 0.6921 GB, free: 77.62 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.9768, allocations: 3.531 kB / 0.6921 GB, free: 77.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.004511/0.9813, allocations: 3.078 MB / 0.6951 GB, free: 77.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002627/0.9816, allocations: 0.6476 MB / 0.6957 GB, free: 76.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/0.9816, allocations: 20.12 kB / 0.6957 GB, free: 76.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000933/0.9826, allocations: 478.2 kB / 0.6962 GB, free: 76.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.9842, allocations: 487.9 kB / 0.6967 GB, free: 76.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005396/0.9896, allocations: 8.071 MB / 0.7045 GB, free: 71.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.9912, allocations: 103.3 kB / 0.7046 GB, free: 71.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.9914, allocations: 92.56 kB / 0.7047 GB, free: 71.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.9914, allocations: 3.25 kB / 0.7047 GB, free: 71.11 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003574/0.995, allocations: 2.809 MB / 0.7075 GB, free: 70.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/0.995, allocations: 24.48 kB / 0.7075 GB, free: 70.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008212/0.9958, allocations: 474.3 kB / 0.708 GB, free: 70.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.9973, allocations: 480.7 kB / 0.7084 GB, free: 70.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/1.003, allocations: 8.08 MB / 0.7163 GB, free: 65.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.004, allocations: 88.42 kB / 0.7164 GB, free: 65.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/1.004, allocations: 97.58 kB / 0.7165 GB, free: 65.52 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.002323/1.007, allocations: 1.149 MB / 0.7176 GB, free: 65.33 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005661/1.007, allocations: 262.7 kB / 0.7179 GB, free: 65.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/1.011, allocations: 2.825 MB / 0.7206 GB, free: 64.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.011, allocations: 22.8 kB / 0.7206 GB, free: 64.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.011, allocations: 5.406 kB / 0.7206 GB, free: 64.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.011, allocations: 7.828 kB / 0.7206 GB, free: 64.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007603/1.019, allocations: 6.018 MB / 0.7265 GB, free: 64.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.019, allocations: 0 / 0.7265 GB, free: 64.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/1.02, allocations: 263.7 kB / 0.7268 GB, free: 64.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/1.021, allocations: 0.6417 MB / 0.7274 GB, free: 64.06 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/1.022, allocations: 51.77 kB / 0.7274 GB, free: 64.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008753/1.03, allocations: 12.61 MB / 0.7398 GB, free: 55.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.03, allocations: 3.875 kB / 0.7398 GB, free: 55.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/1.035, allocations: 3.958 MB / 0.7436 GB, free: 53.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.036, allocations: 0.5105 MB / 0.7441 GB, free: 53.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/1.037, allocations: 44.28 kB / 0.7442 GB, free: 53.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009727/1.038, allocations: 88.39 kB / 0.7443 GB, free: 53.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/1.038, allocations: 140.8 kB / 0.7444 GB, free: 53.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.56e-05/1.038, allocations: 48.23 kB / 0.7444 GB, free: 53.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001969/1.04, allocations: 1.491 MB / 0.7459 GB, free: 52.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.04, allocations: 0 / 0.7459 GB, free: 52.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003539/1.044, allocations: 1.364 MB / 0.7472 GB, free: 52.57 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.0006234/1.044, allocations: 482.2 kB / 0.7477 GB, free: 52.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005133/1.049, allocations: 4.811 MB / 0.7524 GB, free: 50 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.049, allocations: 0 / 0.7524 GB, free: 50 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002051/1.051, allocations: 1.985 MB / 0.7543 GB, free: 48.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/1.054, allocations: 0.6648 MB / 0.755 GB, free: 48.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00946/1.064, allocations: 8.298 MB / 0.7631 GB, free: 43.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/1.066, allocations: 2.472 MB / 0.7655 GB, free: 42.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005687/1.066, allocations: 172.8 kB / 0.7656 GB, free: 42.9 MB / 458.7 MB Notification: Performance of SimCode: time 6.01e-07/1.066, allocations: 7.969 kB / 0.7657 GB, free: 42.9 MB / 458.7 MB Notification: Performance of Templates: time 0.3148/1.381, allocations: 150.2 MB / 0.9124 GB, free: 86.69 MB / 474.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches