Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009124/0.0009123, allocations: 181.7 kB / 17.41 MB, free: 4.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007964/0.0007964, allocations: 97.03 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003307, allocations: 11.98 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2237, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3231/0.5468, allocations: 131.8 MB / 0.4957 GB, free: 105.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.5472, allocations: 95.31 kB / 0.4958 GB, free: 105.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2062/0.7534, allocations: 95.81 MB / 0.5893 GB, free: 27.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.7535, allocations: 0 / 0.5893 GB, free: 27.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003574/0.7538, allocations: 91.92 kB / 0.5894 GB, free: 27.49 MB / 378.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.01164/0.7655, allocations: 4.152 MB / 0.5935 GB, free: 23.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.7655, allocations: 12.03 kB / 0.5935 GB, free: 23.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005074/0.7706, allocations: 0.9169 MB / 0.5944 GB, free: 22.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007518/0.7782, allocations: 3.053 MB / 0.5974 GB, free: 19.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.7784, allocations: 271.8 kB / 0.5976 GB, free: 18.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/0.7797, allocations: 368.3 kB / 0.598 GB, free: 18.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009831/0.7896, allocations: 4.683 MB / 0.6026 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.496e-05/0.7897, allocations: 3.938 kB / 0.6026 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003856/0.7901, allocations: 156 kB / 0.6027 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.7902, allocations: 151.3 kB / 0.6028 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007103/0.7973, allocations: 3.815 MB / 0.6066 GB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02766/0.825, allocations: 15.99 MB / 0.6222 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00826/0.8333, allocations: 7.91 MB / 0.6299 GB, free: 484 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003195/0.8365, allocations: 1.772 MB / 0.6316 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.847, allocations: 5.116 MB / 0.6366 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.8471, allocations: 60.5 kB / 0.6367 GB, free: 9.348 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 4.849e-06/0.8471, allocations: 0 / 0.6367 GB, free: 9.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=183): time 0.01569/0.8628, allocations: 7.214 MB / 0.6437 GB, free: 1.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.863, allocations: 180.2 kB / 0.6439 GB, free: 1.711 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2361/1.099, allocations: 2.195 MB / 0.6461 GB, free: 69.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005195/1.1, allocations: 58.7 kB / 0.6461 GB, free: 69.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001638/1.101, allocations: 1.683 MB / 0.6478 GB, free: 68.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000825/1.102, allocations: 0.6207 MB / 0.6484 GB, free: 68.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/1.103, allocations: 44.62 kB / 0.6484 GB, free: 68.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002005/1.103, allocations: 394.6 kB / 0.6488 GB, free: 68.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/1.104, allocations: 0.8575 MB / 0.6496 GB, free: 68.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/1.106, allocations: 1.499 MB / 0.6511 GB, free: 67.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004144/1.11, allocations: 2.459 MB / 0.6535 GB, free: 66.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.986e-05/1.111, allocations: 7.5 kB / 0.6535 GB, free: 66.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.007357/1.118, allocations: 3.084 MB / 0.6565 GB, free: 66.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005059/1.118, allocations: 0.6457 MB / 0.6571 GB, free: 65.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-05/1.119, allocations: 19.72 kB / 0.6571 GB, free: 65.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/1.12, allocations: 472.9 kB / 0.6576 GB, free: 65.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/1.123, allocations: 494.7 kB / 0.6581 GB, free: 65.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008966/1.132, allocations: 8.069 MB / 0.666 GB, free: 60.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/1.135, allocations: 102 kB / 0.666 GB, free: 60.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004476/1.135, allocations: 92.72 kB / 0.6661 GB, free: 60.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/1.135, allocations: 3.719 kB / 0.6661 GB, free: 60.48 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005115/1.14, allocations: 2.813 MB / 0.6689 GB, free: 60.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.019e-05/1.14, allocations: 18.94 kB / 0.6689 GB, free: 60.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008819/1.141, allocations: 471.9 kB / 0.6694 GB, free: 60.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/1.143, allocations: 487.6 kB / 0.6698 GB, free: 60.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00614/1.149, allocations: 8.08 MB / 0.6777 GB, free: 54.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/1.151, allocations: 92.39 kB / 0.6778 GB, free: 54.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003026/1.152, allocations: 91.34 kB / 0.6779 GB, free: 54.89 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 () * 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.002555/1.154, allocations: 1.158 MB / 0.679 GB, free: 54.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005946/1.155, allocations: 255.2 kB / 0.6793 GB, free: 54.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005702/1.16, allocations: 2.825 MB / 0.682 GB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/1.16, allocations: 20.25 kB / 0.682 GB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.159e-05/1.161, allocations: 7.375 kB / 0.682 GB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/1.161, allocations: 13.72 kB / 0.6821 GB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/1.173, allocations: 6.015 MB / 0.6879 GB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/1.173, allocations: 1.406 kB / 0.6879 GB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.174, allocations: 253.3 kB / 0.6882 GB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001656/1.176, allocations: 0.6588 MB / 0.6888 GB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/1.176, allocations: 44.17 kB / 0.6889 GB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/1.187, allocations: 12.57 MB / 0.7011 GB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.187, allocations: 3.812 kB / 0.7011 GB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005946/1.193, allocations: 3.95 MB / 0.705 GB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/1.195, allocations: 0.5117 MB / 0.7055 GB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007602/1.195, allocations: 33.91 kB / 0.7055 GB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.197, allocations: 93.5 kB / 0.7056 GB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/1.197, allocations: 147.3 kB / 0.7058 GB, free: 42.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.197, allocations: 48.88 kB / 0.7058 GB, free: 42.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002983/1.2, allocations: 1.482 MB / 0.7073 GB, free: 42.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.2, allocations: 3.156 kB / 0.7073 GB, free: 42.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006227/1.207, allocations: 1.345 MB / 0.7086 GB, free: 41.98 MB / 410.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.00103/1.208, allocations: 468.8 kB / 0.709 GB, free: 41.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006825/1.215, allocations: 4.803 MB / 0.7137 GB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.215, allocations: 3.375 kB / 0.7137 GB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002517/1.217, allocations: 1.973 MB / 0.7156 GB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004379/1.221, allocations: 0.6586 MB / 0.7163 GB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/1.235, allocations: 8.26 MB / 0.7243 GB, free: 33.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/1.238, allocations: 2.471 MB / 0.7268 GB, free: 32.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007656/1.239, allocations: 173.2 kB / 0.7269 GB, free: 32.39 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/1.239, allocations: 0 / 0.7269 GB, free: 32.39 MB / 410.7 MB Notification: Performance of Templates: time 0.3334/1.572, allocations: 149.6 MB / 0.873 GB, free: 83.38 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches