Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.637/1.637, allocations: 171.2 MB / 184.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.326e-05, allocations: 3.938 kB / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2156, allocations: 38.77 MB / 267.6 MB, free: 9.434 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3686/0.5843, allocations: 92.72 MB / 360.3 MB, free: 37.64 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5846, allocations: 92.14 kB / 360.4 MB, free: 37.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1485/0.7331, allocations: 40.32 MB / 400.7 MB, free: 29.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.081e-06/0.7332, allocations: 0 / 400.7 MB, free: 29.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001419/0.7333, allocations: 51.16 kB / 400.8 MB, free: 29.91 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00487/0.7382, allocations: 1.925 MB / 402.7 MB, free: 28.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.7383, allocations: 11.69 kB / 402.7 MB, free: 28.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.7396, allocations: 258.2 kB / 403 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/0.7427, allocations: 1.283 MB / 404.2 MB, free: 28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.7429, allocations: 139.1 kB / 404.4 MB, free: 28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004832/0.7434, allocations: 177.6 kB / 404.6 MB, free: 27.99 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004989/0.7484, allocations: 2.276 MB / 406.8 MB, free: 27.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.197e-05/0.7485, allocations: 15.39 kB / 406.8 MB, free: 27.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/0.7487, allocations: 71.19 kB / 406.9 MB, free: 27.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.171e-05/0.7488, allocations: 84.62 kB / 407 MB, free: 27.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004143/0.753, allocations: 1.778 MB / 408.8 MB, free: 27.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.7669, allocations: 7.132 MB / 415.9 MB, free: 22.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.7689, allocations: 1.278 MB / 417.2 MB, free: 21.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.7702, allocations: 0.6898 MB / 417.9 MB, free: 20.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002797/0.7705, allocations: 133.8 kB / 418 MB, free: 20.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.7705, allocations: 43.34 kB / 418 MB, free: 20.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=90): time 5.561e-06/0.7705, allocations: 3.984 kB / 418.1 MB, free: 20.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=113): time 0.01635/0.7869, allocations: 5.955 MB / 424 MB, free: 14.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.787, allocations: 64.41 kB / 424.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.7888, allocations: 0.9948 MB / 425.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002181/0.7891, allocations: 49.7 kB / 425.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/0.7896, allocations: 0.8361 MB / 426 MB, free: 12.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004648/0.7901, allocations: 398.2 kB / 426.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.7902, allocations: 24 kB / 426.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7903, allocations: 370.7 kB / 426.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.7915, allocations: 0.6273 MB / 427.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.7929, allocations: 0.9385 MB / 428.3 MB, free: 9.863 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.7943, allocations: 0.7895 MB / 429.1 MB, free: 9.078 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.393e-06/0.7944, allocations: 0 / 429.1 MB, free: 9.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004659/0.799, allocations: 2.25 MB / 431.3 MB, free: 6.809 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.7991, allocations: 12.25 kB / 431.3 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.7991, allocations: 12 kB / 431.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/0.8011, allocations: 0.6295 MB / 432 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.8026, allocations: 279.6 kB / 432.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008756/0.8113, allocations: 6.291 MB / 438.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.8129, allocations: 91.95 kB / 438.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.8131, allocations: 52 kB / 438.7 MB, free: 15.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003847/0.8135, allocations: 189.3 kB / 438.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003708/0.8139, allocations: 138.3 kB / 439 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005393/0.8193, allocations: 2.173 MB / 441.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.8193, allocations: 12 kB / 441.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.8194, allocations: 11.95 kB / 441.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/0.8194, allocations: 7.969 kB / 441.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.8304, allocations: 4.338 MB / 445.6 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.8304, allocations: 4 kB / 445.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.8315, allocations: 175.8 kB / 445.7 MB, free: 7.996 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002842/0.8344, allocations: 0.7256 MB / 446.5 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/0.8346, allocations: 31.98 kB / 446.5 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/0.8481, allocations: 8.033 MB / 454.5 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.534e-05/0.8482, allocations: 11.89 kB / 454.5 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007329/0.8555, allocations: 3.252 MB / 457.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.8567, allocations: 359.2 kB / 458.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/0.8571, allocations: 31.98 kB / 458.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.8583, allocations: 79.92 kB / 458.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/0.8586, allocations: 100.8 kB / 458.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.8588, allocations: 35.98 kB / 458.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001761/0.8606, allocations: 0.7691 MB / 459.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.37e-07/0.8606, allocations: 0 / 459.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002271/0.8629, allocations: 475.9 kB / 459.6 MB, free: 9.555 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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: 3 * 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: 3 {(7,59.2%) 21,(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.0007051/0.8636, allocations: 307.2 kB / 459.9 MB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005003/0.8686, allocations: 2.209 MB / 462.1 MB, free: 6.965 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.19e-06/0.8687, allocations: 0 / 462.1 MB, free: 6.965 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003625/0.8723, allocations: 1.546 MB / 463.7 MB, free: 5.359 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.8746, allocations: 348.5 kB / 464 MB, free: 5.016 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008071/0.8827, allocations: 3.271 MB / 467.3 MB, free: 1.668 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/0.885, allocations: 1.673 MB / 468.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005436/0.8856, allocations: 103.3 kB / 469 MB, free: 15.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.883e-06/0.8856, allocations: 0 / 469 MB, free: 15.86 MB / 346.7 MB Notification: Performance of Templates: time 0.2767/1.162, allocations: 56.79 MB / 0.5135 GB, free: 102.4 MB / 362.7 MB