Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadModel(Modelica): time 2.175/2.175, allocations: 194.8 MB / 211.7 MB, free: 2.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003609, allocations: 12 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1228, allocations: 44.5 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4558/0.5787, allocations: 98.36 MB / 407.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.579, allocations: 95.7 kB / 407.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2022/0.7813, allocations: 40.98 MB / 448.5 MB, free: 5.809 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.7813, allocations: 0 / 448.5 MB, free: 5.809 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003456/0.7817, allocations: 51.94 kB / 448.5 MB, free: 5.758 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.0127/0.7944, allocations: 2.211 MB / 450.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.838e-05/0.7945, allocations: 12.03 kB / 450.8 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/0.7969, allocations: 261.2 kB / 451 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007185/0.8041, allocations: 1.424 MB / 452.4 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002586/0.8045, allocations: 137 kB / 452.6 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009228/0.8054, allocations: 190.8 kB / 452.8 MB, free: 2.027 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/0.8173, allocations: 2.383 MB / 455.2 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/0.8176, allocations: 4 kB / 455.2 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008112/0.8184, allocations: 73.94 kB / 455.2 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002251/0.8187, allocations: 82.5 kB / 455.3 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.8296, allocations: 1.934 MB / 457.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03316/0.8629, allocations: 7.491 MB / 464.7 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00387/0.8668, allocations: 1.324 MB / 466.1 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004496/0.8673, allocations: 130.1 kB / 466.2 MB, free: 5.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.8674, allocations: 43.52 kB / 466.2 MB, free: 5.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 4.298e-06/0.8674, allocations: 0 / 466.2 MB, free: 5.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01686/0.8842, allocations: 5.079 MB / 471.3 MB, free: 296 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.8843, allocations: 64.41 kB / 471.4 MB, free: 216 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003116/0.8875, allocations: 1.337 MB / 472.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002405/0.8877, allocations: 45.7 kB / 472.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.8888, allocations: 0.8931 MB / 473.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000499/0.8893, allocations: 370.7 kB / 474 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.8894, allocations: 24 kB / 474 MB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.8896, allocations: 353.9 kB / 474.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.8915, allocations: 0.6506 MB / 475 MB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.8936, allocations: 0.9415 MB / 476 MB, free: 11.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.8958, allocations: 0.7838 MB / 476.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.8958, allocations: 0 / 476.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007753/0.9036, allocations: 2.472 MB / 479.2 MB, free: 8.184 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.9037, allocations: 8.625 kB / 479.2 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/0.9037, allocations: 11.98 kB / 479.2 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003697/0.9074, allocations: 0.7745 MB / 480 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.9093, allocations: 235.6 kB / 480.2 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02033/0.9297, allocations: 8.874 MB / 489.1 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.9316, allocations: 87.91 kB / 489.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.9319, allocations: 44 kB / 489.2 MB, free: 13.88 MB / 378.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.001798/0.9337, allocations: 0.6264 MB / 489.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005178/0.9342, allocations: 146.2 kB / 490 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005898/0.9401, allocations: 1.948 MB / 492 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.9402, allocations: 12 kB / 492 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.9402, allocations: 11.94 kB / 492 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.9402, allocations: 3.984 kB / 492 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.9528, allocations: 4.039 MB / 496 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.9528, allocations: 3.984 kB / 496 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002189/0.955, allocations: 196 kB / 496.2 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002864/0.9579, allocations: 470.9 kB / 496.7 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/0.9582, allocations: 27.98 kB / 496.7 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01404/0.9722, allocations: 6.306 MB / 0.4912 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.9723, allocations: 3.938 kB / 0.4912 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/0.9829, allocations: 2.853 MB / 0.494 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/0.9846, allocations: 363.2 kB / 0.4944 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000546/0.9852, allocations: 31.98 kB / 0.4944 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/0.9872, allocations: 71.92 kB / 0.4945 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004296/0.9877, allocations: 88.81 kB / 0.4946 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/0.9879, allocations: 31.94 kB / 0.4946 GB, free: 12.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002987/0.9909, allocations: 0.9309 MB / 0.4955 GB, free: 11.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.9909, allocations: 0 / 0.4955 GB, free: 11.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003364/0.9943, allocations: 467.9 kB / 0.4959 GB, free: 10.66 MB / 394.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.000939/0.9953, allocations: 317.1 kB / 0.4962 GB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00808/1.003, allocations: 2.086 MB / 0.4983 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.003, allocations: 1.875 kB / 0.4983 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00479/1.008, allocations: 1.375 MB / 0.4996 GB, free: 6.801 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/1.012, allocations: 340.5 kB / 0.4999 GB, free: 6.469 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/1.027, allocations: 4.795 MB / 0.5046 GB, free: 1.625 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002998/1.03, allocations: 1.732 MB / 0.5063 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00249/1.032, allocations: 308.1 kB / 0.5066 GB, free: 15.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007269/1.033, allocations: 103.4 kB / 0.5067 GB, free: 15.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/1.033, allocations: 4 kB / 0.5067 GB, free: 15.45 MB / 410.7 MB Notification: Performance of Templates: time 0.3657/1.399, allocations: 24.52 MB / 0.5307 GB, free: 109 MB / 410.7 MB