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.SMR_Inverter.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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.775/1.775, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005612/0.0005615, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.119, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4718/0.5908, allocations: 95.85 MB / 368.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/0.5912, allocations: 92.08 kB / 368.6 MB, free: 9.863 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2658/0.8571, allocations: 45.46 MB / 414 MB, free: 1.871 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.8571, allocations: 0 / 414 MB, free: 1.871 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003449/0.8575, allocations: 55.94 kB / 414.1 MB, free: 1.816 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.01265/0.8702, allocations: 2.448 MB / 416.5 MB, free: 15.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/0.8703, allocations: 8.031 kB / 416.5 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/0.8727, allocations: 296.7 kB / 416.8 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007637/0.8804, allocations: 1.494 MB / 418.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/0.8808, allocations: 160.2 kB / 418.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/0.882, allocations: 215.9 kB / 418.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.8949, allocations: 2.769 MB / 421.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001413/0.8951, allocations: 3.953 kB / 421.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005772/0.8957, allocations: 96 kB / 421.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.896, allocations: 96.09 kB / 421.6 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.9073, allocations: 2.23 MB / 423.9 MB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3449/1.252, allocations: 8.541 MB / 432.4 MB, free: 81.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005804/1.258, allocations: 1.72 MB / 434.1 MB, free: 80.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005523/1.259, allocations: 137.6 kB / 434.3 MB, free: 80.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/1.259, allocations: 47.2 kB / 434.3 MB, free: 80.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=102): time 5.73e-06/1.259, allocations: 0 / 434.3 MB, free: 80.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.03804/1.297, allocations: 7.118 MB / 441.4 MB, free: 79.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/1.297, allocations: 64.78 kB / 441.5 MB, free: 79.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004049/1.301, allocations: 1.334 MB / 442.8 MB, free: 79.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003859/1.301, allocations: 50.55 kB / 442.9 MB, free: 79.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.303, allocations: 1.007 MB / 443.9 MB, free: 78.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007683/1.303, allocations: 435.1 kB / 444.3 MB, free: 78.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/1.304, allocations: 29.06 kB / 444.3 MB, free: 78.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/1.304, allocations: 361.9 kB / 444.7 MB, free: 78.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/1.307, allocations: 0.7423 MB / 445.4 MB, free: 78.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003281/1.31, allocations: 1.114 MB / 446.5 MB, free: 78.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/1.313, allocations: 0.9169 MB / 447.5 MB, free: 77.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/1.313, allocations: 0 / 447.5 MB, free: 77.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.009842/1.323, allocations: 2.586 MB / 450.1 MB, free: 77.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/1.323, allocations: 10.19 kB / 450.1 MB, free: 77.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.331e-05/1.323, allocations: 11.59 kB / 450.1 MB, free: 77.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003184/1.327, allocations: 0.5806 MB / 450.7 MB, free: 77.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/1.33, allocations: 336.8 kB / 451 MB, free: 77.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/1.345, allocations: 6.548 MB / 457.5 MB, free: 75.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/1.348, allocations: 109.9 kB / 457.6 MB, free: 75.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/1.349, allocations: 57.19 kB / 457.7 MB, free: 75.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (155): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002324/1.351, allocations: 0.6951 MB / 458.4 MB, free: 75.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006718/1.352, allocations: 163.8 kB / 458.5 MB, free: 74.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0089/1.36, allocations: 2.358 MB / 460.9 MB, free: 74.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/1.361, allocations: 19 kB / 460.9 MB, free: 74.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/1.361, allocations: 3.938 kB / 460.9 MB, free: 74.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/1.361, allocations: 10.12 kB / 460.9 MB, free: 74.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/1.378, allocations: 4.718 MB / 465.7 MB, free: 72.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/1.378, allocations: 0 / 465.7 MB, free: 72.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/1.381, allocations: 205 kB / 465.9 MB, free: 72.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003988/1.385, allocations: 0.6348 MB / 466.5 MB, free: 72.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002371/1.385, allocations: 37.55 kB / 466.5 MB, free: 72.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04333/1.429, allocations: 8.31 MB / 474.8 MB, free: 66.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.429, allocations: 3.562 kB / 474.8 MB, free: 66.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02089/1.45, allocations: 3.383 MB / 478.2 MB, free: 65.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/1.451, allocations: 380.9 kB / 478.6 MB, free: 65.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000609/1.452, allocations: 34.88 kB / 478.6 MB, free: 65.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/1.454, allocations: 90.92 kB / 478.7 MB, free: 65.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000496/1.455, allocations: 102.7 kB / 478.8 MB, free: 65.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/1.455, allocations: 35.09 kB / 478.9 MB, free: 65.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0026/1.458, allocations: 0.9044 MB / 479.8 MB, free: 64.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.458, allocations: 3.5 kB / 479.8 MB, free: 64.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003541/1.461, allocations: 0.5146 MB / 480.3 MB, free: 64.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * 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 (95): * Single equations (assignments): 92 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009334/1.462, allocations: 301.1 kB / 480.6 MB, free: 64.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008195/1.47, allocations: 2.35 MB / 482.9 MB, free: 63.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.47, allocations: 0 / 482.9 MB, free: 63.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005525/1.476, allocations: 1.517 MB / 484.4 MB, free: 62.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/1.48, allocations: 373.4 kB / 484.8 MB, free: 62.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/1.495, allocations: 5.316 MB / 490.1 MB, free: 59.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/1.498, allocations: 1.854 MB / 492 MB, free: 58.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002581/1.501, allocations: 346.3 kB / 492.3 MB, free: 58.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00077/1.502, allocations: 101.9 kB / 492.4 MB, free: 58.83 MB / 346.7 MB Notification: Performance of SimCode: time 1.512e-06/1.502, allocations: 0 / 492.4 MB, free: 58.83 MB / 346.7 MB Notification: Performance of Templates: time 0.09002/1.592, allocations: 26.06 MB / 0.5063 GB, free: 39.35 MB / 346.7 MB