Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.797/1.797, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 12 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07651/0.07689, allocations: 44.52 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3496/0.4266, allocations: 97.87 MB / 406.3 MB, free: 16.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.4269, allocations: 101.2 kB / 406.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1453/0.5722, allocations: 40.18 MB / 446.6 MB, free: 9.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.208e-06/0.5722, allocations: 0 / 446.6 MB, free: 9.098 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001441/0.5724, allocations: 47.94 kB / 446.7 MB, free: 9.051 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.005071/0.5775, allocations: 2.137 MB / 448.8 MB, free: 7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5775, allocations: 8.031 kB / 448.8 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000923/0.5784, allocations: 253.2 kB / 449 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.5816, allocations: 1.336 MB / 450.4 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.5818, allocations: 133.3 kB / 450.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003833/0.5822, allocations: 185.5 kB / 450.7 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005103/0.5873, allocations: 2.345 MB / 453 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-05/0.5874, allocations: 11.84 kB / 453.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/0.5876, allocations: 73.5 kB / 453.1 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.5878, allocations: 87.44 kB / 453.2 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004646/0.5924, allocations: 1.876 MB / 455.1 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.6075, allocations: 7.172 MB / 462.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.6103, allocations: 1.331 MB / 463.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003388/0.6107, allocations: 134.1 kB / 463.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.6107, allocations: 39.56 kB / 463.8 MB, free: 9.926 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 4.399e-06/0.6107, allocations: 0 / 463.8 MB, free: 9.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.02178/0.6325, allocations: 7.203 MB / 471 MB, free: 2.559 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.6326, allocations: 60.41 kB / 471 MB, free: 2.488 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.6348, allocations: 1.036 MB / 472.1 MB, free: 1.441 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.635, allocations: 45.7 kB / 472.1 MB, free: 1.391 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007336/0.6357, allocations: 0.8322 MB / 472.9 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004416/0.6362, allocations: 398.3 kB / 473.3 MB, free: 156 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.6363, allocations: 32 kB / 473.4 MB, free: 124 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002323/0.6365, allocations: 366.7 kB / 473.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.6382, allocations: 0.678 MB / 474.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.6401, allocations: 0.9853 MB / 475.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.642, allocations: 0.8228 MB / 476.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.057e-06/0.642, allocations: 4 kB / 476.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006373/0.6484, allocations: 2.347 MB / 478.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.6484, allocations: 8 kB / 478.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.6485, allocations: 12.25 kB / 478.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/0.6507, allocations: 0.645 MB / 479.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.6521, allocations: 275.6 kB / 479.5 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.6631, allocations: 6.515 MB / 486 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.6646, allocations: 95.83 kB / 486.1 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.6648, allocations: 55.98 kB / 486.1 MB, free: 2.891 MB / 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.001484/0.6663, allocations: 0.6105 MB / 486.8 MB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/0.6667, allocations: 130.4 kB / 486.9 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005644/0.6724, allocations: 2.279 MB / 489.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.6724, allocations: 12 kB / 489.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.6725, allocations: 8 kB / 489.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.6725, allocations: 7.969 kB / 489.2 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/0.6832, allocations: 4.426 MB / 493.6 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.6832, allocations: 8 kB / 493.6 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.6843, allocations: 176 kB / 493.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002735/0.6871, allocations: 0.7302 MB / 494.5 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.6872, allocations: 39.97 kB / 494.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.7006, allocations: 8.299 MB / 0.4911 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/0.7007, allocations: 12.14 kB / 0.4911 GB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007566/0.7083, allocations: 3.367 MB / 0.4944 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.7093, allocations: 355.3 kB / 0.4947 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/0.7096, allocations: 31.98 kB / 0.4947 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.7106, allocations: 83.91 kB / 0.4948 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/0.711, allocations: 96.77 kB / 0.4949 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.7111, allocations: 35.98 kB / 0.495 GB, free: 13.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001657/0.7128, allocations: 0.8028 MB / 0.4957 GB, free: 12.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.7128, allocations: 0 / 0.4957 GB, free: 12.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001912/0.7147, allocations: 483.9 kB / 0.4962 GB, free: 12.26 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.0006141/0.7154, allocations: 292.2 kB / 0.4965 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005093/0.7205, allocations: 2.318 MB / 0.4987 GB, free: 9.578 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.7205, allocations: 0 / 0.4987 GB, free: 9.578 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00355/0.7241, allocations: 1.594 MB / 0.5003 GB, free: 7.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.7262, allocations: 353.4 kB / 0.5006 GB, free: 7.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009093/0.7353, allocations: 4.779 MB / 0.5053 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/0.7373, allocations: 1.669 MB / 0.5069 GB, free: 1.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005323/0.7378, allocations: 99.42 kB / 0.507 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of SimCode: time 1.606e-06/0.7379, allocations: 0 / 0.507 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of Templates: time 0.2844/1.022, allocations: 57.33 MB / 0.563 GB, free: 108 MB / 410.7 MB