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.AsynchronousInductionMachines.AIMC_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.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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 2.092/2.092, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003583, allocations: 11.98 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08496/0.08534, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4255/0.5109, allocations: 92.8 MB / 365.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/0.5113, allocations: 90.58 kB / 365.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1791/0.6904, allocations: 40.28 MB / 405.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.6905, allocations: 0 / 405.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002604/0.6908, allocations: 51.94 kB / 405.8 MB, free: 10.08 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.008447/0.6993, allocations: 2.111 MB / 408 MB, free: 7.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.6993, allocations: 8.031 kB / 408 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.701, allocations: 253.2 kB / 408.2 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004623/0.7057, allocations: 1.293 MB / 409.5 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.7059, allocations: 131.6 kB / 409.6 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008598/0.7068, allocations: 187.9 kB / 409.8 MB, free: 6.004 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007845/0.7147, allocations: 2.329 MB / 412.1 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.7148, allocations: 11.91 kB / 412.2 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003035/0.7152, allocations: 76.28 kB / 412.2 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/0.7153, allocations: 87.44 kB / 412.3 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007229/0.7226, allocations: 1.876 MB / 414.2 MB, free: 1.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02117/0.7438, allocations: 7.125 MB / 421.3 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/0.7475, allocations: 1.326 MB / 422.6 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00045/0.748, allocations: 142 kB / 422.8 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.7481, allocations: 39.56 kB / 422.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.958e-06/0.7481, allocations: 0 / 422.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.03051/0.7786, allocations: 7.204 MB / 430 MB, free: 1.273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.7787, allocations: 60.41 kB / 430.1 MB, free: 1.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.7814, allocations: 1.144 MB / 431.2 MB, free: 48 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.2384/1.02, allocations: 41.7 kB / 431.3 MB, free: 0 / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001227/1.021, allocations: 0.8505 MB / 432.1 MB, free: 87.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006468/1.022, allocations: 399.9 kB / 432.5 MB, free: 87.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/1.022, allocations: 25.66 kB / 432.5 MB, free: 87.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/1.022, allocations: 355 kB / 432.9 MB, free: 87.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/1.024, allocations: 0.6849 MB / 433.6 MB, free: 87.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/1.026, allocations: 0.9808 MB / 434.5 MB, free: 86.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/1.029, allocations: 0.8288 MB / 435.4 MB, free: 86.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/1.029, allocations: 5.516 kB / 435.4 MB, free: 86.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007567/1.036, allocations: 2.426 MB / 437.8 MB, free: 86.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/1.036, allocations: 12.45 kB / 437.8 MB, free: 86.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/1.037, allocations: 11.94 kB / 437.8 MB, free: 86.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/1.039, allocations: 0.6317 MB / 438.5 MB, free: 86.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/1.042, allocations: 286.3 kB / 438.7 MB, free: 86.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/1.054, allocations: 6.526 MB / 445.3 MB, free: 84.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/1.056, allocations: 89.22 kB / 445.4 MB, free: 84.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/1.056, allocations: 56.59 kB / 445.4 MB, free: 84.02 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.001632/1.058, allocations: 0.6009 MB / 446 MB, free: 83.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004812/1.058, allocations: 139.7 kB / 446.1 MB, free: 83.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00661/1.065, allocations: 2.273 MB / 448.4 MB, free: 83.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/1.065, allocations: 11.62 kB / 448.4 MB, free: 83.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.065, allocations: 3.875 kB / 448.4 MB, free: 83.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/1.065, allocations: 3.703 kB / 448.4 MB, free: 83.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/1.077, allocations: 4.42 MB / 452.9 MB, free: 82.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/1.077, allocations: 7.453 kB / 452.9 MB, free: 82.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/1.078, allocations: 173.5 kB / 453 MB, free: 82.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003194/1.081, allocations: 0.7267 MB / 453.8 MB, free: 82.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/1.082, allocations: 33.61 kB / 453.8 MB, free: 82.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/1.095, allocations: 8.304 MB / 462.1 MB, free: 77.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.096, allocations: 2.844 kB / 462.1 MB, free: 77.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008166/1.104, allocations: 3.243 MB / 465.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/1.105, allocations: 356.4 kB / 465.7 MB, free: 75.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/1.105, allocations: 27.78 kB / 465.7 MB, free: 75.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/1.107, allocations: 87.17 kB / 465.8 MB, free: 75.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003719/1.107, allocations: 98.69 kB / 465.9 MB, free: 75.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/1.107, allocations: 36.81 kB / 465.9 MB, free: 75.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001591/1.109, allocations: 0.7826 MB / 466.7 MB, free: 75.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.109, allocations: 0 / 466.7 MB, free: 75.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002243/1.111, allocations: 479 kB / 467.2 MB, free: 75.08 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.0006477/1.112, allocations: 304.9 kB / 467.5 MB, free: 74.97 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005621/1.117, allocations: 2.306 MB / 469.8 MB, free: 73.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.117, allocations: 0 / 469.8 MB, free: 73.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004029/1.121, allocations: 1.598 MB / 471.4 MB, free: 73.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/1.124, allocations: 360.4 kB / 471.7 MB, free: 73.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009782/1.134, allocations: 4.7 MB / 476.4 MB, free: 70.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/1.135, allocations: 1.678 MB / 478.1 MB, free: 69.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001644/1.137, allocations: 293.4 kB / 478.4 MB, free: 69.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/1.138, allocations: 92.56 kB / 478.5 MB, free: 69.48 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/1.138, allocations: 3.688 kB / 478.5 MB, free: 69.48 MB / 346.7 MB Notification: Performance of Templates: time 0.07384/1.211, allocations: 24.54 MB / 0.4912 GB, free: 55.89 MB / 346.7 MB