Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.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.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003493/0.003493, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.797/3.797, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001855/0.001855, allocations: 94.86 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006304/0.0006304, allocations: 12 kB / 327 MB, free: 15.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2868, allocations: 47.58 MB / 374.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.04442/0.3312, allocations: 9.676 MB / 384.2 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.515/0.8463, allocations: 6.339 MB / 390.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003801/0.8502, allocations: 54.28 kB / 390.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005537/0.8558, allocations: 0.6936 MB / 391.3 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007214/0.8631, allocations: 0.8667 MB / 392.2 MB, free: 9.324 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01132/0.8745, allocations: 1.333 MB / 393.5 MB, free: 9.301 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009684/0.8843, allocations: 2.231 MB / 395.7 MB, free: 9.293 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006988/0.8913, allocations: 1.377 MB / 397.1 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005411/0.8968, allocations: 1.057 MB / 398.2 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006379/0.9033, allocations: 1.248 MB / 399.4 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002058/0.9054, allocations: 153.8 kB / 399.6 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005093/0.9106, allocations: 338.3 kB / 399.9 MB, free: 8.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003692/0.9144, allocations: 0.7001 MB / 400.6 MB, free: 8.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003606/0.9181, allocations: 0.5786 MB / 401.2 MB, free: 8.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.931, allocations: 3.707 MB / 404.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.9311, allocations: 4 kB / 404.9 MB, free: 7.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.9311, allocations: 0 / 404.9 MB, free: 7.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002725/0.9314, allocations: 0 / 404.9 MB, free: 7.145 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.01879/0.9502, allocations: 2.952 MB / 407.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.919e-05/0.9503, allocations: 9.219 kB / 407.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005389/0.9557, allocations: 427.5 kB / 408.3 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009559/0.9654, allocations: 1.605 MB / 409.9 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004811/0.9659, allocations: 185.1 kB / 410.1 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02159/0.9876, allocations: 243.1 kB / 410.3 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/1.005, allocations: 3.012 MB / 413.3 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002283/1.006, allocations: 11.22 kB / 413.3 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001274/1.007, allocations: 106.5 kB / 413.4 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003159/1.007, allocations: 106 kB / 413.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/1.022, allocations: 2.519 MB / 416 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06325/1.085, allocations: 10.31 MB / 426.4 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02652/1.112, allocations: 2.723 MB / 429.1 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008393/1.113, allocations: 121 kB / 429.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/1.113, allocations: 51.88 kB / 429.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=149): time 1.122e-05/1.113, allocations: 4 kB / 429.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=166): time 0.0738/1.187, allocations: 8.159 MB / 437.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001992/1.187, allocations: 183.5 kB / 437.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008405/1.195, allocations: 1.842 MB / 439.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006832/1.196, allocations: 60.66 kB / 439.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002174/1.198, allocations: 1.072 MB / 440.6 MB, free: 9.164 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001588/1.2, allocations: 0.5672 MB / 441.1 MB, free: 8.605 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004809/1.201, allocations: 40 kB / 441.2 MB, free: 8.566 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004696/1.201, allocations: 382.8 kB / 441.5 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004323/1.205, allocations: 0.8628 MB / 442.4 MB, free: 7.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005317/1.211, allocations: 1.315 MB / 443.7 MB, free: 5.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005125/1.216, allocations: 1.045 MB / 444.8 MB, free: 4.781 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.382e-05/1.216, allocations: 4 kB / 444.8 MB, free: 4.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01528/1.231, allocations: 2.99 MB / 447.8 MB, free: 1.742 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003832/1.235, allocations: 4.791 MB / 452.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/1.236, allocations: 12 kB / 452.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005429/1.241, allocations: 0.7704 MB / 453.3 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/1.245, allocations: 375.4 kB / 453.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05495/1.3, allocations: 11.86 MB / 465.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009277/1.31, allocations: 103.8 kB / 465.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000856/1.311, allocations: 76 kB / 465.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/1.311, allocations: 7.953 kB / 465.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02919/1.34, allocations: 2.883 MB / 468.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/1.34, allocations: 14.62 kB / 468.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01371/1.354, allocations: 0.7394 MB / 469.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008811/1.363, allocations: 367.4 kB / 469.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05739/1.42, allocations: 12 MB / 481.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/1.423, allocations: 87.98 kB / 481.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008281/1.424, allocations: 72.09 kB / 481.9 MB, free: 13.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (194): * Single equations (assignments): 186 * 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: 5 * 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: 2 {(3,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.004896/1.429, allocations: 0.8127 MB / 482.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001625/1.431, allocations: 217.4 kB / 482.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01609/1.447, allocations: 2.838 MB / 485.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.757e-05/1.447, allocations: 16 kB / 485.8 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.993e-05/1.447, allocations: 4.047 kB / 485.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.749e-05/1.447, allocations: 15.91 kB / 485.8 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03099/1.478, allocations: 5.652 MB / 491.5 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.782e-05/1.478, allocations: 8.094 kB / 491.5 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003116/1.482, allocations: 235.7 kB / 491.7 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006155/1.488, allocations: 0.8116 MB / 492.5 MB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005674/1.488, allocations: 47.97 kB / 492.5 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03737/1.526, allocations: 13.34 MB / 0.494 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.698e-05/1.526, allocations: 11.94 kB / 0.494 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01843/1.544, allocations: 4.254 MB / 0.4982 GB, free: 388 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003212/1.548, allocations: 479.1 kB / 0.4986 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001497/1.549, allocations: 44.23 kB / 0.4987 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004478/1.554, allocations: 103.9 kB / 0.4988 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/1.555, allocations: 137 kB / 0.4989 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004742/1.556, allocations: 44 kB / 0.499 GB, free: 15.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005758/1.561, allocations: 1.254 MB / 0.5002 GB, free: 14.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.024e-06/1.561, allocations: 0 / 0.5002 GB, free: 14.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01278/1.574, allocations: 1.066 MB / 0.5012 GB, free: 13.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],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 (123): * Single equations (assignments): 117 * 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 {(3,100.0%) 16,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/1.576, allocations: 212.3 kB / 0.5014 GB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02254/1.598, allocations: 5.228 MB / 0.5065 GB, free: 7.617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.135e-05/1.598, allocations: 0 / 0.5065 GB, free: 7.617 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01741/1.616, allocations: 2.071 MB / 0.5086 GB, free: 5.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01228/1.628, allocations: 0.5494 MB / 0.5091 GB, free: 4.918 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05281/1.681, allocations: 6.624 MB / 0.5156 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00636/1.688, allocations: 2 MB / 0.5175 GB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/1.689, allocations: 135.4 kB / 0.5176 GB, free: 12.04 MB / 410.7 MB Notification: Performance of SimCode: time 3.075e-06/1.689, allocations: 0 / 0.5176 GB, free: 12.04 MB / 410.7 MB Notification: Performance of Templates: time 0.7447/2.434, allocations: 99.56 MB / 0.6149 GB, free: 85.15 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Rectifier/SMEE_Rectifier.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches