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_Inverter.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_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 2.145/2.145, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004786, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1348, allocations: 44.49 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5319/0.6668, allocations: 97.88 MB / 406.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.6671, allocations: 91.42 kB / 407 MB, free: 13.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2331/0.9002, allocations: 40.2 MB / 447.2 MB, free: 7.051 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.377e-06/0.9003, allocations: 0 / 447.2 MB, free: 7.051 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002967/0.9006, allocations: 47.94 kB / 447.3 MB, free: 7.004 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.01652/0.9171, allocations: 2.135 MB / 449.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.9172, allocations: 8.031 kB / 449.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.9192, allocations: 253.2 kB / 449.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005938/0.9252, allocations: 1.345 MB / 451 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.9254, allocations: 131 kB / 451.1 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006776/0.9261, allocations: 182.9 kB / 451.3 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009229/0.9354, allocations: 2.347 MB / 453.7 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.9356, allocations: 11.89 kB / 453.7 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/0.936, allocations: 71.62 kB / 453.7 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002056/0.9362, allocations: 82.58 kB / 453.8 MB, free: 1.699 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008601/0.9448, allocations: 1.884 MB / 455.7 MB, free: 392 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02123/0.9661, allocations: 7.168 MB / 462.9 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003357/0.9695, allocations: 1.327 MB / 464.2 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004272/0.97, allocations: 138 kB / 464.3 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.9701, allocations: 39.56 kB / 464.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.948e-06/0.9701, allocations: 0 / 464.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.02952/0.9996, allocations: 7.191 MB / 471.6 MB, free: 80 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.9997, allocations: 68.41 kB / 471.6 MB, free: 0 / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/1.003, allocations: 1.167 MB / 472.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003254/1.003, allocations: 45.69 kB / 472.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009797/1.004, allocations: 0.8575 MB / 473.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006143/1.005, allocations: 402.2 kB / 474.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/1.005, allocations: 24 kB / 474.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/1.005, allocations: 361.9 kB / 474.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/1.007, allocations: 0.6819 MB / 475.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/1.009, allocations: 0.9814 MB / 476.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/1.012, allocations: 0.8267 MB / 477 MB, free: 10.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/1.012, allocations: 8 kB / 477 MB, free: 10.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007774/1.02, allocations: 2.424 MB / 479.4 MB, free: 8.047 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/1.02, allocations: 8.625 kB / 479.4 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/1.02, allocations: 8 kB / 479.4 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00289/1.023, allocations: 0.6374 MB / 480 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/1.025, allocations: 287.6 kB / 480.3 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/1.039, allocations: 6.511 MB / 486.8 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/1.041, allocations: 99.83 kB / 486.9 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/1.041, allocations: 55.98 kB / 487 MB, free: 172 kB / 362.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.001728/1.043, allocations: 0.5988 MB / 487.6 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004562/1.043, allocations: 138.3 kB / 487.7 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007166/1.05, allocations: 2.283 MB / 490 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/1.051, allocations: 12 kB / 490 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.051, allocations: 4 kB / 490 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/1.051, allocations: 7.969 kB / 490 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/1.064, allocations: 4.434 MB / 494.5 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/1.064, allocations: 4 kB / 494.5 MB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/1.066, allocations: 176.1 kB / 494.6 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003487/1.069, allocations: 0.7342 MB / 495.4 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002271/1.069, allocations: 31.98 kB / 495.4 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01623/1.086, allocations: 8.303 MB / 0.4919 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.086, allocations: 3.938 kB / 0.4919 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009533/1.095, allocations: 3.258 MB / 0.4951 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/1.097, allocations: 363.3 kB / 0.4954 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/1.097, allocations: 24 kB / 0.4955 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.099, allocations: 87.91 kB / 0.4955 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003926/1.099, allocations: 92.8 kB / 0.4956 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/1.099, allocations: 39.94 kB / 0.4957 GB, free: 10.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001954/1.101, allocations: 0.8028 MB / 0.4964 GB, free: 10.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.11e-07/1.101, allocations: 0 / 0.4964 GB, free: 10.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002601/1.104, allocations: 483.9 kB / 0.4969 GB, free: 9.695 MB / 394.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.0008206/1.105, allocations: 293 kB / 0.4972 GB, free: 9.398 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00666/1.111, allocations: 2.319 MB / 0.4995 GB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.111, allocations: 4.062 kB / 0.4995 GB, free: 7.004 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004757/1.116, allocations: 1.597 MB / 0.501 GB, free: 5.352 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/1.119, allocations: 344.2 kB / 0.5013 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/1.131, allocations: 4.728 MB / 0.506 GB, free: 228 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002504/1.133, allocations: 1.689 MB / 0.5076 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001848/1.135, allocations: 288 kB / 0.5079 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/1.136, allocations: 99.34 kB / 0.508 GB, free: 14.12 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/1.136, allocations: 0 / 0.508 GB, free: 14.12 MB / 410.7 MB Notification: Performance of Templates: time 0.3973/1.533, allocations: 24.87 MB / 0.5323 GB, free: 111.4 MB / 410.7 MB