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_Initialize.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_Initialize,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",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.906/1.906, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004145, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09122/0.09167, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.403/0.4947, allocations: 93.25 MB / 365.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/0.4951, allocations: 103.3 kB / 366 MB, free: 12.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1796/0.6747, allocations: 41.07 MB / 407 MB, free: 8.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.088e-05/0.6747, allocations: 0 / 407 MB, free: 8.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002444/0.675, allocations: 47.94 kB / 407.1 MB, free: 8.793 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.008913/0.6839, allocations: 2.198 MB / 409.3 MB, free: 6.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.684, allocations: 12.03 kB / 409.3 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.6857, allocations: 261.2 kB / 409.6 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004876/0.6906, allocations: 1.38 MB / 410.9 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.6909, allocations: 131.6 kB / 411.1 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008751/0.6917, allocations: 191.8 kB / 411.3 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007672/0.6994, allocations: 2.368 MB / 413.6 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.77e-05/0.6996, allocations: 11.89 kB / 413.6 MB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/0.6999, allocations: 72 kB / 413.7 MB, free: 1.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.7001, allocations: 79.48 kB / 413.8 MB, free: 1.902 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009036/0.7091, allocations: 1.927 MB / 415.7 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02954/0.7387, allocations: 7.452 MB / 423.2 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004676/0.7434, allocations: 1.32 MB / 424.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/0.744, allocations: 130 kB / 424.6 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.148e-05/0.7442, allocations: 47.55 kB / 424.7 MB, free: 6.723 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 5.371e-06/0.7442, allocations: 0 / 424.7 MB, free: 6.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.02317/0.7674, allocations: 5.076 MB / 429.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.7675, allocations: 68.39 kB / 429.8 MB, free: 1.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004064/0.7716, allocations: 1.318 MB / 431.1 MB, free: 120 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.772, allocations: 45.7 kB / 431.2 MB, free: 68 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2397/1.012, allocations: 0.8826 MB / 432 MB, free: 86.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006043/1.012, allocations: 364 kB / 432.4 MB, free: 86.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/1.013, allocations: 23.91 kB / 432.4 MB, free: 86.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/1.013, allocations: 352 kB / 432.8 MB, free: 85.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/1.015, allocations: 0.6523 MB / 433.4 MB, free: 85.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/1.017, allocations: 0.9409 MB / 434.4 MB, free: 85.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/1.019, allocations: 0.7806 MB / 435.1 MB, free: 85.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/1.019, allocations: 3.812 kB / 435.1 MB, free: 85.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008205/1.027, allocations: 2.469 MB / 437.6 MB, free: 85.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/1.027, allocations: 10.14 kB / 437.6 MB, free: 85.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/1.028, allocations: 10.41 kB / 437.6 MB, free: 85.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003641/1.031, allocations: 0.7753 MB / 438.4 MB, free: 85.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/1.033, allocations: 235.4 kB / 438.6 MB, free: 85.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01847/1.052, allocations: 8.877 MB / 447.5 MB, free: 82.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/1.054, allocations: 89.55 kB / 447.6 MB, free: 82.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002501/1.054, allocations: 52.17 kB / 447.7 MB, free: 82.74 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001585/1.055, allocations: 0.626 MB / 448.3 MB, free: 82.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004616/1.056, allocations: 144.2 kB / 448.4 MB, free: 82.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005097/1.061, allocations: 1.952 MB / 450.4 MB, free: 82.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/1.061, allocations: 12.41 kB / 450.4 MB, free: 82.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.061, allocations: 3.906 kB / 450.4 MB, free: 82.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/1.061, allocations: 7.641 kB / 450.4 MB, free: 82.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/1.071, allocations: 4.016 MB / 454.4 MB, free: 81.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.071, allocations: 5.562 kB / 454.4 MB, free: 81.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/1.073, allocations: 193.1 kB / 454.6 MB, free: 81.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002012/1.075, allocations: 467.9 kB / 455.1 MB, free: 81.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/1.075, allocations: 31.23 kB / 455.1 MB, free: 81.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00825/1.083, allocations: 6.314 MB / 461.4 MB, free: 76.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.084, allocations: 1.938 kB / 461.4 MB, free: 76.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007078/1.091, allocations: 2.854 MB / 464.3 MB, free: 75.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.092, allocations: 372.2 kB / 464.6 MB, free: 74.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003845/1.092, allocations: 29.53 kB / 464.7 MB, free: 74.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/1.094, allocations: 72.48 kB / 464.7 MB, free: 74.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/1.094, allocations: 82.28 kB / 464.8 MB, free: 74.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.094, allocations: 32.66 kB / 464.8 MB, free: 74.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001845/1.096, allocations: 0.9128 MB / 465.8 MB, free: 74.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.096, allocations: 0 / 465.8 MB, free: 74.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002335/1.098, allocations: 468.8 kB / 466.2 MB, free: 74.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (87): * Single equations (assignments): 83 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006763/1.099, allocations: 298.1 kB / 466.5 MB, free: 74.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005957/1.105, allocations: 2.096 MB / 468.6 MB, free: 73.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/1.105, allocations: 0 / 468.6 MB, free: 73.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005662/1.111, allocations: 1.379 MB / 470 MB, free: 72.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/1.115, allocations: 356.4 kB / 470.3 MB, free: 72.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/1.126, allocations: 4.761 MB / 475.1 MB, free: 69.9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/1.127, allocations: 1.727 MB / 476.8 MB, free: 69.01 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00166/1.129, allocations: 318.4 kB / 477.1 MB, free: 68.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004404/1.13, allocations: 93.02 kB / 477.2 MB, free: 68.96 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/1.13, allocations: 0 / 477.2 MB, free: 68.96 MB / 346.7 MB Notification: Performance of Templates: time 0.06171/1.191, allocations: 24.19 MB / 0.4897 GB, free: 57.22 MB / 346.7 MB