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.807/1.807, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 8 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08164/0.08202, allocations: 44.51 MB / 308.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.0116/0.09367, allocations: 7.168 MB / 315.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006367/0.1001, allocations: 2.765 MB / 318.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.1014, allocations: 35.81 kB / 318.3 MB, free: 7.004 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.1032, allocations: 0.5054 MB / 318.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.1057, allocations: 0.5958 MB / 319.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008678/0.1066, allocations: 207.7 kB / 319.6 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002996/0.1096, allocations: 1.462 MB / 321.1 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.1117, allocations: 1.192 MB / 322.3 MB, free: 3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.113, allocations: 0.7084 MB / 323 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.1146, allocations: 0.93 MB / 323.9 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003661/0.115, allocations: 120 kB / 324 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007094/0.1157, allocations: 183.9 kB / 324.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007815/0.1165, allocations: 0.5453 MB / 324.8 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006571/0.1172, allocations: 436.6 kB / 325.2 MB, free: 80 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004228/0.1214, allocations: 2.801 MB / 328 MB, free: 13.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1215, allocations: 0 / 328 MB, free: 13.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1215, allocations: 3.938 kB / 328 MB, free: 13.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.288e-05/0.1216, allocations: 0 / 328 MB, free: 13.27 MB / 282.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.005484/0.1271, allocations: 2.123 MB / 330.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1271, allocations: 12.03 kB / 330.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.1282, allocations: 253.2 kB / 330.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/0.1312, allocations: 1.176 MB / 331.6 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.1314, allocations: 139.5 kB / 331.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004427/0.1319, allocations: 179.9 kB / 331.9 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006037/0.1379, allocations: 2.367 MB / 334.2 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.322e-05/0.1381, allocations: 7.953 kB / 334.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/0.1383, allocations: 71.98 kB / 334.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/0.1385, allocations: 95.5 kB / 334.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005593/0.1441, allocations: 1.966 MB / 336.4 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01624/0.1604, allocations: 7.144 MB / 343.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.1632, allocations: 1.284 MB / 344.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/0.1636, allocations: 126.1 kB / 344.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.1636, allocations: 40.12 kB / 345 MB, free: 11.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 4.239e-06/0.1636, allocations: 3.938 kB / 345 MB, free: 11.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=107): time 0.02401/0.1877, allocations: 6.963 MB / 351.9 MB, free: 4.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/0.1878, allocations: 68.34 kB / 352 MB, free: 4.672 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00438/0.1922, allocations: 1.163 MB / 353.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003047/0.1926, allocations: 41.7 kB / 353.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.194, allocations: 0.8437 MB / 354 MB, free: 2.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008238/0.1948, allocations: 374.6 kB / 354.4 MB, free: 2.223 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.1951, allocations: 24 kB / 354.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003752/0.1955, allocations: 362.8 kB / 354.8 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003114/0.1986, allocations: 0.6584 MB / 355.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00356/0.2022, allocations: 0.9619 MB / 356.4 MB, free: 92 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/0.2059, allocations: 0.8072 MB / 357.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.2059, allocations: 0 / 357.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.01105/0.217, allocations: 2.268 MB / 359.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.916e-05/0.2171, allocations: 11.98 kB / 359.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-05/0.2172, allocations: 8 kB / 359.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003859/0.2211, allocations: 0.5929 MB / 360.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/0.2239, allocations: 275.6 kB / 360.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/0.2449, allocations: 6.416 MB / 366.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/0.2476, allocations: 92.09 kB / 366.9 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/0.2479, allocations: 55.98 kB / 366.9 MB, free: 5.273 MB / 314.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.002608/0.2505, allocations: 0.5988 MB / 367.5 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007127/0.2513, allocations: 134.3 kB / 367.7 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/0.2617, allocations: 2.169 MB / 369.8 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.472e-05/0.2618, allocations: 15.98 kB / 369.8 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/0.2618, allocations: 8 kB / 369.9 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.979e-05/0.2619, allocations: 7.969 kB / 369.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2276/0.4896, allocations: 4.272 MB / 374.1 MB, free: 60.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.4896, allocations: 4.031 kB / 374.1 MB, free: 60.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.4906, allocations: 176.4 kB / 374.3 MB, free: 60.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00234/0.493, allocations: 0.6501 MB / 375 MB, free: 60.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.4932, allocations: 29.38 kB / 375 MB, free: 60.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/0.5111, allocations: 7.917 MB / 382.9 MB, free: 54.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.5112, allocations: 6.922 kB / 382.9 MB, free: 54.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/0.5225, allocations: 3.093 MB / 386 MB, free: 53.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/0.5241, allocations: 351.4 kB / 386.3 MB, free: 53.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005888/0.5247, allocations: 25.23 kB / 386.4 MB, free: 53.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/0.5267, allocations: 85.88 kB / 386.5 MB, free: 53.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004467/0.5272, allocations: 89.06 kB / 386.5 MB, free: 53.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/0.5274, allocations: 32.84 kB / 386.6 MB, free: 53.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002704/0.5302, allocations: 0.7942 MB / 387.4 MB, free: 52.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-06/0.5302, allocations: 0 / 387.4 MB, free: 52.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003479/0.5337, allocations: 431.6 kB / 387.8 MB, free: 52.95 MB / 314.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.0005562/0.5343, allocations: 149.5 kB / 387.9 MB, free: 52.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007267/0.5416, allocations: 2.234 MB / 390.2 MB, free: 51.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.5417, allocations: 0 / 390.2 MB, free: 51.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004947/0.5466, allocations: 1.49 MB / 391.7 MB, free: 51.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/0.5515, allocations: 350.6 kB / 392 MB, free: 50.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.564, allocations: 4.73 MB / 396.7 MB, free: 47.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.5654, allocations: 1.657 MB / 398.4 MB, free: 45.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.5659, allocations: 99.42 kB / 398.5 MB, free: 45.89 MB / 314.7 MB Notification: Performance of SimCode: time 1.628e-06/0.566, allocations: 0 / 398.5 MB, free: 45.89 MB / 314.7 MB Notification: Performance of Templates: time 0.06378/0.6297, allocations: 55.98 MB / 454.5 MB, free: 5.852 MB / 330.7 MB