Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.595/1.595, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003538, allocations: 8 kB / 233.2 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06958/0.06996, allocations: 38.79 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01081/0.08081, allocations: 7.14 MB / 279.1 MB, free: 5.027 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006218/0.08706, allocations: 2.757 MB / 281.8 MB, free: 2.266 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.08834, allocations: 35.81 kB / 281.9 MB, free: 2.23 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.0901, allocations: 0.5093 MB / 282.4 MB, free: 1.719 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.09276, allocations: 0.588 MB / 283 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009008/0.09369, allocations: 215.6 kB / 283.2 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003041/0.09674, allocations: 1.458 MB / 284.6 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.09893, allocations: 1.192 MB / 285.8 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.1003, allocations: 0.72 MB / 286.5 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.1019, allocations: 0.9183 MB / 287.5 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003409/0.1022, allocations: 116 kB / 287.6 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006593/0.1029, allocations: 179.9 kB / 287.8 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007844/0.1037, allocations: 0.5531 MB / 288.3 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006202/0.1043, allocations: 428.6 kB / 288.7 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003941/0.1083, allocations: 2.793 MB / 291.5 MB, free: 8.516 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1083, allocations: 0 / 291.5 MB, free: 8.516 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.501e-06/0.1084, allocations: 0 / 291.5 MB, free: 8.516 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.098e-05/0.1084, allocations: 0 / 291.5 MB, free: 8.516 MB / 250.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.005084/0.1135, allocations: 2.103 MB / 293.6 MB, free: 6.355 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1136, allocations: 12.03 kB / 293.6 MB, free: 6.344 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009437/0.1145, allocations: 245.3 kB / 293.9 MB, free: 6.102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/0.1173, allocations: 1.157 MB / 295 MB, free: 4.898 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.1175, allocations: 131.6 kB / 295.2 MB, free: 4.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004117/0.118, allocations: 187.9 kB / 295.3 MB, free: 4.586 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005899/0.1239, allocations: 2.355 MB / 297.7 MB, free: 2.195 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.109e-05/0.124, allocations: 3.906 kB / 297.7 MB, free: 2.191 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/0.1242, allocations: 76 kB / 297.8 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.1244, allocations: 91.48 kB / 297.9 MB, free: 2.027 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005374/0.1298, allocations: 1.962 MB / 299.8 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1909/0.3207, allocations: 7.087 MB / 306.9 MB, free: 25.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.3231, allocations: 1.281 MB / 308.2 MB, free: 25.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.3234, allocations: 124.4 kB / 308.3 MB, free: 24.97 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.3235, allocations: 44.34 kB / 308.4 MB, free: 24.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 4.09e-06/0.3235, allocations: 0 / 308.4 MB, free: 24.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=107): time 0.01884/0.3423, allocations: 6.973 MB / 315.3 MB, free: 21.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3424, allocations: 64.19 kB / 315.4 MB, free: 21.1 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.3442, allocations: 1.131 MB / 316.5 MB, free: 20.47 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.3443, allocations: 53.58 kB / 316.6 MB, free: 20.42 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/0.3448, allocations: 0.8333 MB / 317.4 MB, free: 19.66 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.3451, allocations: 374.3 kB / 317.8 MB, free: 19.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/0.3452, allocations: 27.88 kB / 317.8 MB, free: 19.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.3453, allocations: 358.5 kB / 318.2 MB, free: 18.97 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.3467, allocations: 0.6621 MB / 318.8 MB, free: 18.64 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.3482, allocations: 0.9605 MB / 319.8 MB, free: 17.94 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.3499, allocations: 0.8063 MB / 320.6 MB, free: 17.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/0.35, allocations: 7.328 kB / 320.6 MB, free: 17.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004995/0.355, allocations: 2.258 MB / 322.8 MB, free: 15.87 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.355, allocations: 12 kB / 322.9 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.3551, allocations: 8 kB / 322.9 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/0.3569, allocations: 0.6005 MB / 323.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.3582, allocations: 277.1 kB / 323.7 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008604/0.3668, allocations: 6.41 MB / 330.1 MB, free: 8.305 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.3682, allocations: 91.88 kB / 330.2 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.3684, allocations: 55.98 kB / 330.3 MB, free: 8.16 MB / 250.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 (130): * Single equations (assignments): 126 * 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%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001193/0.3696, allocations: 0.5949 MB / 330.9 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.3699, allocations: 130.4 kB / 331 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004651/0.3746, allocations: 2.174 MB / 333.2 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.3746, allocations: 12 kB / 333.2 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.3746, allocations: 4 kB / 333.2 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.3747, allocations: 11.97 kB / 333.2 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008732/0.3834, allocations: 4.271 MB / 337.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.3835, allocations: 8.031 kB / 337.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009712/0.3844, allocations: 171.8 kB / 337.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002133/0.3866, allocations: 0.6514 MB / 338.3 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/0.3868, allocations: 34.41 kB / 338.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/0.3997, allocations: 7.919 MB / 346.3 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.051e-06/0.3997, allocations: 7.938 kB / 346.3 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007335/0.4071, allocations: 3.106 MB / 349.4 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.4081, allocations: 351.3 kB / 349.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002733/0.4084, allocations: 23.95 kB / 349.7 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009858/0.4094, allocations: 83.91 kB / 349.8 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/0.4097, allocations: 88.81 kB / 349.9 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.4099, allocations: 35.98 kB / 350 MB, free: 3.926 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001559/0.4114, allocations: 0.7716 MB / 350.7 MB, free: 3.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.794e-06/0.4114, allocations: 0 / 350.7 MB, free: 3.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001929/0.4134, allocations: 429.8 kB / 351.1 MB, free: 2.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * 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 {(5,84.0%) 20,(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.0003806/0.4138, allocations: 146.9 kB / 351.3 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.005034/0.4188, allocations: 2.233 MB / 353.5 MB, free: 284 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.751e-06/0.4189, allocations: 4 kB / 353.5 MB, free: 280 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003486/0.4224, allocations: 1.497 MB / 355 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.4246, allocations: 343.8 kB / 355.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009624/0.4343, allocations: 4.704 MB / 360.1 MB, free: 9.633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/0.4364, allocations: 1.653 MB / 361.7 MB, free: 7.945 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005088/0.4369, allocations: 99.42 kB / 361.8 MB, free: 7.848 MB / 282.7 MB Notification: Performance of SimCode: time 1.699e-06/0.4369, allocations: 0 / 361.8 MB, free: 7.848 MB / 282.7 MB Notification: Performance of Templates: time 0.08572/0.5226, allocations: 55.51 MB / 417.3 MB, free: 276 kB / 330.7 MB