Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001573/0.001573, allocations: 180 kB / 17.01 MB, free: 5.121 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.857/1.857, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009857/0.0009858, allocations: 85.05 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 4 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3924, allocations: 47.58 MB / 375.8 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.5711, allocations: 126 MB / 0.4901 GB, free: 2.559 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004392/0.5716, allocations: 91.95 kB / 0.4901 GB, free: 2.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4496/1.021, allocations: 55.47 MB / 0.5443 GB, free: 74.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.346e-06/1.021, allocations: 0 / 0.5443 GB, free: 74.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002373/1.022, allocations: 75.86 kB / 0.5444 GB, free: 74.83 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.007351/1.029, allocations: 2.945 MB / 0.5473 GB, free: 71.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/1.029, allocations: 11.97 kB / 0.5473 GB, free: 71.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/1.031, allocations: 432 kB / 0.5477 GB, free: 71.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003559/1.034, allocations: 1.746 MB / 0.5494 GB, free: 69.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/1.034, allocations: 184.8 kB / 0.5496 GB, free: 69.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/1.035, allocations: 243.9 kB / 0.5498 GB, free: 69.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004592/1.039, allocations: 3.016 MB / 0.5527 GB, free: 65.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.54e-05/1.039, allocations: 15.84 kB / 0.5528 GB, free: 65.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/1.04, allocations: 104 kB / 0.5529 GB, free: 65.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.242e-05/1.04, allocations: 96.59 kB / 0.553 GB, free: 65.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003669/1.043, allocations: 2.438 MB / 0.5553 GB, free: 63.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01509/1.059, allocations: 10.32 MB / 0.5654 GB, free: 52.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/1.061, allocations: 2.765 MB / 0.5681 GB, free: 49.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/1.062, allocations: 142.3 kB / 0.5682 GB, free: 49.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/1.062, allocations: 55.83 kB / 0.5683 GB, free: 49.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 6.302e-06/1.062, allocations: 3.984 kB / 0.5683 GB, free: 49.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.02004/1.082, allocations: 9.077 MB / 0.5772 GB, free: 40.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/1.082, allocations: 176.2 kB / 0.5773 GB, free: 40.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003613/1.086, allocations: 1.638 MB / 0.5789 GB, free: 38.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001893/1.086, allocations: 53.7 kB / 0.579 GB, free: 38.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008908/1.087, allocations: 1.169 MB / 0.5801 GB, free: 37.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000572/1.087, allocations: 0.5814 MB / 0.5807 GB, free: 36.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/1.087, allocations: 40 kB / 0.5807 GB, free: 36.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/1.088, allocations: 381.9 kB / 0.5811 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/1.089, allocations: 0.9213 MB / 0.582 GB, free: 35.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/1.091, allocations: 1.365 MB / 0.5833 GB, free: 33.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/1.092, allocations: 1.107 MB / 0.5844 GB, free: 32.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/1.092, allocations: 4 kB / 0.5844 GB, free: 32.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.006156/1.099, allocations: 3.322 MB / 0.5877 GB, free: 29.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002407/1.101, allocations: 4.9 MB / 0.5924 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-05/1.101, allocations: 12 kB / 0.5925 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002853/1.104, allocations: 0.968 MB / 0.5934 GB, free: 22.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/1.106, allocations: 367.5 kB / 0.5937 GB, free: 22.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/1.12, allocations: 12.32 MB / 0.6058 GB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/1.123, allocations: 111.9 kB / 0.6059 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005406/1.124, allocations: 83.98 kB / 0.606 GB, free: 9.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.124, allocations: 4 kB / 0.606 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005677/1.129, allocations: 3.08 MB / 0.609 GB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.251e-05/1.129, allocations: 16 kB / 0.609 GB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002546/1.132, allocations: 0.977 MB / 0.6099 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/1.134, allocations: 359.5 kB / 0.6103 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/1.151, allocations: 12.31 MB / 0.6223 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003198/1.154, allocations: 100.5 kB / 0.6224 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006368/1.155, allocations: 76 kB / 0.6225 GB, free: 8.043 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (192): * Single equations (assignments): 185 * 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 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.003487/1.158, allocations: 0.8112 MB / 0.6233 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/1.16, allocations: 225.3 kB / 0.6235 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007275/1.167, allocations: 2.983 MB / 0.6264 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/1.167, allocations: 16 kB / 0.6264 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.569e-05/1.167, allocations: 8 kB / 0.6264 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/1.167, allocations: 7.969 kB / 0.6264 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/1.183, allocations: 5.932 MB / 0.6322 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.183, allocations: 4 kB / 0.6322 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/1.184, allocations: 220 kB / 0.6324 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003254/1.187, allocations: 1.026 MB / 0.6334 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002503/1.188, allocations: 39.98 kB / 0.6335 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3405/1.528, allocations: 14.05 MB / 0.6472 GB, free: 95.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.528, allocations: 3.969 kB / 0.6472 GB, free: 95.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007259/1.536, allocations: 4.481 MB / 0.6516 GB, free: 95.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.537, allocations: 495.3 kB / 0.652 GB, free: 95.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002861/1.537, allocations: 42.61 kB / 0.6521 GB, free: 95.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.539, allocations: 100.4 kB / 0.6522 GB, free: 95.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004312/1.539, allocations: 144.9 kB / 0.6523 GB, free: 95.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/1.539, allocations: 50.75 kB / 0.6524 GB, free: 95.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002005/1.541, allocations: 1.249 MB / 0.6536 GB, free: 95.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.541, allocations: 0 / 0.6536 GB, free: 95.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004209/1.545, allocations: 1.196 MB / 0.6548 GB, free: 95.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (115): * Single equations (assignments): 110 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008281/1.546, allocations: 378.5 kB / 0.6551 GB, free: 95.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008237/1.554, allocations: 5.492 MB / 0.6605 GB, free: 93.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.554, allocations: 1.125 kB / 0.6605 GB, free: 93.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003259/1.558, allocations: 2.148 MB / 0.6626 GB, free: 93.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/1.561, allocations: 0.5373 MB / 0.6631 GB, free: 93.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.577, allocations: 6.711 MB / 0.6697 GB, free: 90.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003493/1.581, allocations: 2.044 MB / 0.6717 GB, free: 89.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002869/1.584, allocations: 0.4954 MB / 0.6721 GB, free: 89.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/1.585, allocations: 128 kB / 0.6723 GB, free: 89.72 MB / 410.7 MB Notification: Performance of SimCode: time 2.054e-06/1.585, allocations: 0 / 0.6723 GB, free: 89.72 MB / 410.7 MB Notification: Performance of Templates: time 0.07753/1.662, allocations: 45.9 MB / 0.7171 GB, free: 65.12 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches