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.579/1.579, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006127/0.0006129, allocations: 8 kB / 233.2 MB, free: 3.027 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.149, allocations: 38.78 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.5219, allocations: 92.8 MB / 364.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5223, allocations: 92.5 kB / 364.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1607/0.683, allocations: 40.25 MB / 405.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.683, allocations: 4 kB / 405.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001808/0.6832, allocations: 51.94 kB / 405.2 MB, free: 10.65 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006162/0.6894, allocations: 2.116 MB / 407.3 MB, free: 8.477 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.6895, allocations: 8.031 kB / 407.3 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.6907, allocations: 253.2 kB / 407.6 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/0.6944, allocations: 1.289 MB / 408.9 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.6946, allocations: 139.6 kB / 409 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004713/0.6951, allocations: 183.9 kB / 409.2 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006364/0.7015, allocations: 2.332 MB / 411.5 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-05/0.7016, allocations: 7.891 kB / 411.5 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/0.7019, allocations: 76.34 kB / 411.6 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/0.702, allocations: 87.39 kB / 411.7 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005508/0.7076, allocations: 1.876 MB / 413.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/0.7237, allocations: 7.132 MB / 420.7 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002845/0.7266, allocations: 1.322 MB / 422 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/0.727, allocations: 138 kB / 422.2 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.7271, allocations: 43.56 kB / 422.2 MB, free: 9.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 4.965e-06/0.7271, allocations: 3.938 kB / 422.2 MB, free: 9.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.02235/0.7495, allocations: 7.196 MB / 429.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.7496, allocations: 64.41 kB / 429.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.7518, allocations: 1.013 MB / 430.5 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002146/0.752, allocations: 49.64 kB / 430.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2357/0.9877, allocations: 0.826 MB / 431.4 MB, free: 87.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/0.9882, allocations: 393.1 kB / 431.7 MB, free: 87.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.9884, allocations: 26.97 kB / 431.8 MB, free: 87.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.9885, allocations: 362 kB / 432.1 MB, free: 87.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.9903, allocations: 0.6826 MB / 432.8 MB, free: 87.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.9922, allocations: 0.9811 MB / 433.8 MB, free: 87.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.9941, allocations: 0.8272 MB / 434.6 MB, free: 87.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.9942, allocations: 4.109 kB / 434.6 MB, free: 87.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006035/1, allocations: 2.349 MB / 437 MB, free: 86.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/1, allocations: 12.2 kB / 437 MB, free: 86.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/1, allocations: 9.312 kB / 437 MB, free: 86.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/1.003, allocations: 0.6327 MB / 437.6 MB, free: 86.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/1.004, allocations: 283.7 kB / 437.9 MB, free: 86.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/1.014, allocations: 6.521 MB / 444.4 MB, free: 84.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/1.016, allocations: 95.28 kB / 444.5 MB, free: 84.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/1.016, allocations: 54.02 kB / 444.6 MB, free: 84.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (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.001397/1.017, allocations: 0.6001 MB / 445.2 MB, free: 84.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/1.018, allocations: 141 kB / 445.3 MB, free: 84.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005147/1.023, allocations: 2.282 MB / 447.6 MB, free: 83.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/1.023, allocations: 11.78 kB / 447.6 MB, free: 83.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.023, allocations: 3.781 kB / 447.6 MB, free: 83.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/1.023, allocations: 6.125 kB / 447.6 MB, free: 83.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009989/1.033, allocations: 4.408 MB / 452 MB, free: 83.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/1.033, allocations: 2.469 kB / 452 MB, free: 83.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/1.034, allocations: 174.6 kB / 452.2 MB, free: 83.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0027/1.037, allocations: 0.7295 MB / 452.9 MB, free: 83.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/1.037, allocations: 36.91 kB / 452.9 MB, free: 83.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.048, allocations: 8.301 MB / 461.2 MB, free: 77.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.048, allocations: 3.906 kB / 461.3 MB, free: 77.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006599/1.055, allocations: 3.364 MB / 464.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009485/1.056, allocations: 356.2 kB / 465 MB, free: 75.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/1.056, allocations: 29.56 kB / 465 MB, free: 75.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.057, allocations: 87.52 kB / 465.1 MB, free: 75.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/1.057, allocations: 100.2 kB / 465.2 MB, free: 75.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.058, allocations: 35.19 kB / 465.2 MB, free: 75.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001337/1.059, allocations: 0.7775 MB / 466 MB, free: 75.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.24e-07/1.059, allocations: 0 / 466 MB, free: 75.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001973/1.061, allocations: 483.2 kB / 466.5 MB, free: 75.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * 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.0005569/1.062, allocations: 310.8 kB / 466.8 MB, free: 75.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004547/1.066, allocations: 2.314 MB / 469.1 MB, free: 74.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.881e-06/1.066, allocations: 0 / 469.1 MB, free: 74.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003129/1.069, allocations: 1.597 MB / 470.7 MB, free: 73.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/1.071, allocations: 347.2 kB / 471 MB, free: 73.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007679/1.079, allocations: 4.752 MB / 475.8 MB, free: 70.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/1.081, allocations: 1.664 MB / 477.4 MB, free: 69.94 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005073/1.081, allocations: 93.44 kB / 477.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.64e-06/1.081, allocations: 0 / 477.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of Templates: time 0.0631/1.144, allocations: 56.85 MB / 0.5218 GB, free: 24.5 MB / 346.7 MB