Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 2.101/2.101, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005062/0.0005063, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09922/0.09976, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5336/0.6334, allocations: 109.1 MB / 418.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.6338, allocations: 90.52 kB / 418.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4093/1.043, allocations: 82.69 MB / 0.4892 GB, free: 3.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.966e-06/1.043, allocations: 0 / 0.4892 GB, free: 3.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003747/1.044, allocations: 75.92 kB / 0.4893 GB, free: 2.945 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: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.01245/1.056, allocations: 2.954 MB / 0.4921 GB, free: 15.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.056, allocations: 11.97 kB / 0.4922 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/1.059, allocations: 420.1 kB / 0.4926 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006715/1.066, allocations: 1.846 MB / 0.4944 GB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/1.066, allocations: 185.4 kB / 0.4945 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000985/1.067, allocations: 255.8 kB / 0.4948 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/1.077, allocations: 3.215 MB / 0.4979 GB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/1.078, allocations: 7.984 kB / 0.4979 GB, free: 9.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004459/1.078, allocations: 108 kB / 0.498 GB, free: 9.691 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/1.078, allocations: 108.9 kB / 0.4981 GB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009466/1.088, allocations: 2.569 MB / 0.5006 GB, free: 7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0396/1.127, allocations: 10.43 MB / 0.5108 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006892/1.134, allocations: 1.813 MB / 0.5126 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009304/1.135, allocations: 227.1 kB / 0.5128 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.287e-05/1.136, allocations: 43.56 kB / 0.5129 GB, free: 9.992 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 7.254e-06/1.136, allocations: 0 / 0.5129 GB, free: 9.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=142): time 0.06451/1.2, allocations: 8.838 MB / 0.5215 GB, free: 1.012 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.2, allocations: 72.72 kB / 0.5216 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2804/1.481, allocations: 1.834 MB / 0.5233 GB, free: 97.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003757/1.481, allocations: 50.33 kB / 0.5234 GB, free: 97.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/1.482, allocations: 1.243 MB / 0.5246 GB, free: 97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000627/1.483, allocations: 485.6 kB / 0.5251 GB, free: 96.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/1.483, allocations: 36.72 kB / 0.5251 GB, free: 96.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/1.483, allocations: 373 kB / 0.5255 GB, free: 96.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/1.486, allocations: 0.872 MB / 0.5263 GB, free: 96.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002892/1.488, allocations: 1.36 MB / 0.5276 GB, free: 95.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003139/1.492, allocations: 1.071 MB / 0.5287 GB, free: 95.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.281e-05/1.492, allocations: 4.5 kB / 0.5287 GB, free: 95.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.009072/1.501, allocations: 2.98 MB / 0.5316 GB, free: 95.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/1.501, allocations: 15.28 kB / 0.5316 GB, free: 95.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-05/1.501, allocations: 17.84 kB / 0.5316 GB, free: 95.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/1.503, allocations: 0.5894 MB / 0.5322 GB, free: 95.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/1.506, allocations: 407.5 kB / 0.5326 GB, free: 95.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/1.519, allocations: 5.675 MB / 0.5381 GB, free: 94.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/1.522, allocations: 134.6 kB / 0.5383 GB, free: 94.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003697/1.522, allocations: 76.64 kB / 0.5383 GB, free: 94.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002237/1.524, allocations: 0.793 MB / 0.5391 GB, free: 94.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007417/1.525, allocations: 199 kB / 0.5393 GB, free: 94.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007846/1.533, allocations: 2.636 MB / 0.5419 GB, free: 93.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/1.533, allocations: 11.53 kB / 0.5419 GB, free: 93.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.533, allocations: 8.406 kB / 0.5419 GB, free: 93.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.755e-05/1.533, allocations: 10.38 kB / 0.5419 GB, free: 93.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/1.549, allocations: 5.499 MB / 0.5473 GB, free: 93.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/1.549, allocations: 3.969 kB / 0.5473 GB, free: 93.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/1.551, allocations: 251.8 kB / 0.5475 GB, free: 93.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002874/1.554, allocations: 0.6492 MB / 0.5482 GB, free: 93.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000291/1.554, allocations: 33.94 kB / 0.5482 GB, free: 93.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/1.567, allocations: 7.386 MB / 0.5554 GB, free: 90.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.567, allocations: 12.42 kB / 0.5554 GB, free: 90.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00982/1.577, allocations: 3.839 MB / 0.5592 GB, free: 88.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.579, allocations: 474.6 kB / 0.5596 GB, free: 88.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005849/1.579, allocations: 35.25 kB / 0.5596 GB, free: 88.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/1.582, allocations: 114.8 kB / 0.5598 GB, free: 88.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004336/1.582, allocations: 112.8 kB / 0.5599 GB, free: 88.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/1.582, allocations: 42.75 kB / 0.5599 GB, free: 88.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002819/1.585, allocations: 1.263 MB / 0.5611 GB, free: 88.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.585, allocations: 2.812 kB / 0.5611 GB, free: 88.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003655/1.589, allocations: 0.6361 MB / 0.5618 GB, free: 88.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008831/1.59, allocations: 335.7 kB / 0.5621 GB, free: 87.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006535/1.596, allocations: 2.61 MB / 0.5646 GB, free: 86.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.596, allocations: 0 / 0.5646 GB, free: 86.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004247/1.601, allocations: 1.634 MB / 0.5662 GB, free: 86.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/1.604, allocations: 396.7 kB / 0.5666 GB, free: 86.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/1.616, allocations: 6.113 MB / 0.5726 GB, free: 82.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/1.618, allocations: 2.062 MB / 0.5746 GB, free: 81.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002336/1.621, allocations: 424.1 kB / 0.575 GB, free: 81.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006536/1.621, allocations: 129.5 kB / 0.5751 GB, free: 81.89 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/1.621, allocations: 3.281 kB / 0.5751 GB, free: 81.89 MB / 410.7 MB Notification: Performance of Templates: time 0.08379/1.705, allocations: 30.99 MB / 0.6054 GB, free: 73.11 MB / 410.7 MB