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.001444/0.001444, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.42/1.42, allocations: 221.3 MB / 235.5 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008716/0.0008716, allocations: 87.06 kB / 286.5 MB, free: 256 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.431e-05/2.435e-05, allocations: 4 kB / 343.8 MB, free: 4.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08787/0.08791, allocations: 50.42 MB / 394.3 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.389/0.477, allocations: 132.5 MB / 0.5144 GB, free: 2.969 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.4773, allocations: 97.36 kB / 0.5145 GB, free: 2.879 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4467/0.924, allocations: 96.15 MB / 0.6084 GB, free: 92.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.9241, allocations: 0 / 0.6084 GB, free: 92.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002946/0.9244, allocations: 92.12 kB / 0.6085 GB, free: 92.66 MB / 426.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.009809/0.9342, allocations: 3.746 MB / 0.6121 GB, free: 90.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.9342, allocations: 7.875 kB / 0.6121 GB, free: 90.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/0.9394, allocations: 0.9112 MB / 0.613 GB, free: 89.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008016/0.9474, allocations: 3.603 MB / 0.6166 GB, free: 87.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.9477, allocations: 281.5 kB / 0.6168 GB, free: 87.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008519/0.9485, allocations: 373.6 kB / 0.6172 GB, free: 87.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007716/0.9562, allocations: 4.56 MB / 0.6216 GB, free: 83.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.578e-05/0.9564, allocations: 11.92 kB / 0.6216 GB, free: 83.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003404/0.9567, allocations: 152 kB / 0.6218 GB, free: 82.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.9568, allocations: 155.3 kB / 0.6219 GB, free: 82.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007075/0.9639, allocations: 3.711 MB / 0.6256 GB, free: 79.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02656/0.9905, allocations: 16.02 MB / 0.6412 GB, free: 62.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005528/0.9961, allocations: 7.791 MB / 0.6488 GB, free: 54.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/0.9984, allocations: 1.733 MB / 0.6505 GB, free: 52.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008317/1.007, allocations: 5.066 MB / 0.6554 GB, free: 47.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/1.007, allocations: 52.56 kB / 0.6555 GB, free: 47.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=174): time 4.148e-06/1.007, allocations: 0 / 0.6555 GB, free: 47.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=177): time 0.007931/1.015, allocations: 5.069 MB / 0.6604 GB, free: 41.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/1.015, allocations: 180.2 kB / 0.6606 GB, free: 41.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00292/1.018, allocations: 1.916 MB / 0.6625 GB, free: 39.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002427/1.018, allocations: 57.7 kB / 0.6625 GB, free: 39.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000815/1.019, allocations: 1.698 MB / 0.6642 GB, free: 37.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/1.019, allocations: 0.5918 MB / 0.6648 GB, free: 37.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-05/1.019, allocations: 47.94 kB / 0.6648 GB, free: 37.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/1.019, allocations: 394.4 kB / 0.6652 GB, free: 36.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/1.02, allocations: 0.8126 MB / 0.666 GB, free: 36.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/1.022, allocations: 1.445 MB / 0.6674 GB, free: 34.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/1.023, allocations: 1.056 MB / 0.6684 GB, free: 33.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/1.023, allocations: 4 kB / 0.6684 GB, free: 33.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004543/1.028, allocations: 2.98 MB / 0.6714 GB, free: 30.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001872/1.03, allocations: 7.828 MB / 0.679 GB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-05/1.03, allocations: 20 kB / 0.679 GB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/1.031, allocations: 471.8 kB / 0.6795 GB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/1.033, allocations: 475.3 kB / 0.6799 GB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006195/1.039, allocations: 8.046 MB / 0.6878 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/1.041, allocations: 99.95 kB / 0.6879 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/1.041, allocations: 92 kB / 0.688 GB, free: 11.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/1.041, allocations: 4 kB / 0.688 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003595/1.045, allocations: 2.729 MB / 0.6906 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/1.045, allocations: 23.98 kB / 0.6907 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008188/1.046, allocations: 472.7 kB / 0.6911 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.047, allocations: 471.3 kB / 0.6916 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005879/1.053, allocations: 8.05 MB / 0.6994 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/1.056, allocations: 91.86 kB / 0.6995 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004656/1.056, allocations: 95.98 kB / 0.6996 GB, free: 15.48 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.0006205/1.057, allocations: 248.3 kB / 0.6998 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006268/1.058, allocations: 249.1 kB / 0.7001 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005396/1.063, allocations: 2.733 MB / 0.7027 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/1.063, allocations: 16 kB / 0.7028 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/1.063, allocations: 11.92 kB / 0.7028 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/1.063, allocations: 11.97 kB / 0.7028 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/1.074, allocations: 5.877 MB / 0.7085 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.074, allocations: 8.031 kB / 0.7085 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.075, allocations: 243.7 kB / 0.7088 GB, free: 5.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/1.076, allocations: 0.6465 MB / 0.7094 GB, free: 5.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/1.077, allocations: 40 kB / 0.7094 GB, free: 5.211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2491/1.326, allocations: 12.53 MB / 0.7217 GB, free: 92.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.326, allocations: 6.094 kB / 0.7217 GB, free: 92.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006392/1.332, allocations: 3.918 MB / 0.7255 GB, free: 91.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.334, allocations: 0.5041 MB / 0.726 GB, free: 91.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/1.334, allocations: 42.56 kB / 0.726 GB, free: 91.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.335, allocations: 87.34 kB / 0.7261 GB, free: 91.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003877/1.336, allocations: 139.5 kB / 0.7262 GB, free: 91.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.336, allocations: 50.52 kB / 0.7263 GB, free: 91.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002526/1.338, allocations: 1.454 MB / 0.7277 GB, free: 91.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.338, allocations: 0 / 0.7277 GB, free: 91.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006972/1.345, allocations: 1.336 MB / 0.729 GB, free: 91.17 MB / 442.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.001238/1.346, allocations: 0.5299 MB / 0.7295 GB, free: 91.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009212/1.356, allocations: 4.737 MB / 0.7342 GB, free: 89.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.356, allocations: 3.953 kB / 0.7342 GB, free: 89.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002823/1.359, allocations: 1.9 MB / 0.736 GB, free: 89.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003891/1.363, allocations: 0.6416 MB / 0.7366 GB, free: 89.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/1.373, allocations: 5.591 MB / 0.7421 GB, free: 87.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002385/1.375, allocations: 2.576 MB / 0.7446 GB, free: 86.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003306/1.379, allocations: 0.8437 MB / 0.7454 GB, free: 86.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/1.379, allocations: 122.7 kB / 0.7456 GB, free: 86.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/1.379, allocations: 0 / 0.7456 GB, free: 86.83 MB / 442.7 MB Notification: Performance of Templates: time 0.07257/1.452, allocations: 48.2 MB / 0.7926 GB, free: 70.67 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/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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches