Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.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.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.779/1.779, allocations: 171.1 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 8 kB / 233.9 MB, free: 2.363 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.08646, allocations: 38.77 MB / 272.6 MB, free: 11.52 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.5415, allocations: 115.9 MB / 388.5 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/0.5419, allocations: 97.39 kB / 388.6 MB, free: 6.105 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.546/1.088, allocations: 55.57 MB / 444.2 MB, free: 79.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.486e-06/1.088, allocations: 2.562 kB / 444.2 MB, free: 79.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003591/1.088, allocations: 68.78 kB / 444.3 MB, free: 79.26 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.01311/1.102, allocations: 2.93 MB / 447.2 MB, free: 77.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.102, allocations: 8.531 kB / 447.2 MB, free: 77.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/1.105, allocations: 433.3 kB / 447.6 MB, free: 77.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006343/1.111, allocations: 1.741 MB / 449.4 MB, free: 77.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/1.112, allocations: 178.3 kB / 449.6 MB, free: 77.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/1.113, allocations: 246.2 kB / 449.8 MB, free: 77.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009399/1.122, allocations: 2.992 MB / 452.8 MB, free: 76.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/1.122, allocations: 12.41 kB / 452.8 MB, free: 76.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007748/1.123, allocations: 101.2 kB / 452.9 MB, free: 76.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/1.123, allocations: 102 kB / 453 MB, free: 76.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008067/1.131, allocations: 2.424 MB / 455.4 MB, free: 76.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/1.158, allocations: 10.08 MB / 465.5 MB, free: 73.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005274/1.164, allocations: 2.771 MB / 468.3 MB, free: 71.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005251/1.164, allocations: 134.5 kB / 468.4 MB, free: 71.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/1.164, allocations: 55 kB / 468.5 MB, free: 71.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=151): time 4.739e-06/1.164, allocations: 2.734 kB / 468.5 MB, free: 71.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=174): time 0.03394/1.198, allocations: 9.06 MB / 477.5 MB, free: 67.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/1.199, allocations: 203.9 kB / 477.7 MB, free: 67.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003979/1.203, allocations: 1.804 MB / 479.5 MB, free: 66.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004724/1.203, allocations: 53.3 kB / 479.6 MB, free: 66.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/1.204, allocations: 1.141 MB / 480.7 MB, free: 65.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008764/1.205, allocations: 0.5891 MB / 481.3 MB, free: 65.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/1.205, allocations: 41.84 kB / 481.4 MB, free: 65.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/1.205, allocations: 385.4 kB / 481.7 MB, free: 64.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/1.208, allocations: 0.9054 MB / 482.6 MB, free: 64.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/1.211, allocations: 1.357 MB / 484 MB, free: 63.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/1.213, allocations: 1.102 MB / 485.1 MB, free: 63.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/1.214, allocations: 3.719 kB / 485.1 MB, free: 63.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01014/1.224, allocations: 3.293 MB / 488.4 MB, free: 61.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/1.224, allocations: 11.94 kB / 488.4 MB, free: 61.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.242e-05/1.224, allocations: 16.5 kB / 488.4 MB, free: 61.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004166/1.228, allocations: 0.9648 MB / 489.4 MB, free: 61.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/1.231, allocations: 365 kB / 489.7 MB, free: 61.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/1.251, allocations: 12.33 MB / 0.4903 GB, free: 51.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/1.254, allocations: 115.1 kB / 0.4904 GB, free: 51.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000381/1.255, allocations: 75.42 kB / 0.4905 GB, free: 51.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * 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 initialization (189): * Single equations (assignments): 182 * 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.002106/1.257, allocations: 0.7368 MB / 0.4912 GB, free: 51.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007388/1.258, allocations: 213.5 kB / 0.4914 GB, free: 50.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008145/1.266, allocations: 2.964 MB / 0.4943 GB, free: 48.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-05/1.266, allocations: 16 kB / 0.4943 GB, free: 48.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-05/1.266, allocations: 12 kB / 0.4943 GB, free: 48.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.169e-05/1.266, allocations: 7.266 kB / 0.4943 GB, free: 48.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/1.284, allocations: 5.884 MB / 0.5001 GB, free: 43.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-05/1.284, allocations: 4 kB / 0.5001 GB, free: 43.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/1.286, allocations: 223.7 kB / 0.5003 GB, free: 43.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004709/1.291, allocations: 1.035 MB / 0.5013 GB, free: 42.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004021/1.291, allocations: 43.56 kB / 0.5014 GB, free: 42.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02291/1.314, allocations: 14.05 MB / 0.5151 GB, free: 29.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.314, allocations: 3.953 kB / 0.5151 GB, free: 29.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/1.325, allocations: 4.304 MB / 0.5193 GB, free: 25.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/1.327, allocations: 494.3 kB / 0.5198 GB, free: 24.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009971/1.328, allocations: 43.75 kB / 0.5198 GB, free: 24.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/1.331, allocations: 100.6 kB / 0.5199 GB, free: 24.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006634/1.332, allocations: 141.5 kB / 0.52 GB, free: 24.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/1.332, allocations: 55.22 kB / 0.5201 GB, free: 24.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002893/1.335, allocations: 1.234 MB / 0.5213 GB, free: 23.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.61e-07/1.335, allocations: 4 kB / 0.5213 GB, free: 23.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007262/1.342, allocations: 0.7416 MB / 0.522 GB, free: 22.89 MB / 346.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 (114): * Single equations (assignments): 109 * 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,75.0%) 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.001887/1.344, allocations: 362.9 kB / 0.5224 GB, free: 22.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01211/1.356, allocations: 3.181 MB / 0.5255 GB, free: 19.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/1.356, allocations: 1.875 kB / 0.5255 GB, free: 19.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00779/1.364, allocations: 2.151 MB / 0.5276 GB, free: 17.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006137/1.37, allocations: 0.5232 MB / 0.5281 GB, free: 17.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/1.393, allocations: 6.606 MB / 0.5345 GB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003016/1.396, allocations: 2.01 MB / 0.5365 GB, free: 9.223 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00316/1.399, allocations: 360.5 kB / 0.5368 GB, free: 8.883 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008343/1.4, allocations: 127.4 kB / 0.537 GB, free: 8.758 MB / 346.7 MB Notification: Performance of SimCode: time 2.093e-06/1.4, allocations: 0 / 0.537 GB, free: 8.758 MB / 346.7 MB Notification: Performance of Templates: time 0.3619/1.762, allocations: 39.57 MB / 0.5756 GB, free: 74.38 MB / 362.7 MB