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_withLosses.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003681, allocations: 8 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.289, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01393/0.303, allocations: 7.863 MB / 316.4 MB, free: 4.758 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008628/0.3117, allocations: 3.292 MB / 319.7 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.3134, allocations: 39.81 kB / 319.8 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.3157, allocations: 0.5481 MB / 320.3 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002817/0.3186, allocations: 0.6893 MB / 321 MB, free: 176 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.3199, allocations: 279.6 kB / 321.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004403/0.3243, allocations: 1.759 MB / 323 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002489/0.3269, allocations: 1.281 MB / 324.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.3286, allocations: 0.8484 MB / 325.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/0.3312, allocations: 1.113 MB / 326.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000561/0.3318, allocations: 136 kB / 326.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.3331, allocations: 323.7 kB / 326.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.3343, allocations: 0.7947 MB / 327.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007712/0.3351, allocations: 0.5081 MB / 328 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00538/0.3405, allocations: 3.35 MB / 331.4 MB, free: 5.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3406, allocations: 0 / 331.4 MB, free: 5.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3406, allocations: 0 / 331.4 MB, free: 5.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.005e-05/0.3407, allocations: 4 kB / 331.4 MB, free: 5.727 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008368/0.3491, allocations: 2.719 MB / 334.1 MB, free: 2.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3491, allocations: 8.031 kB / 334.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00105/0.3502, allocations: 355.1 kB / 334.5 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.3513, allocations: 332.2 kB / 334.8 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004638/0.356, allocations: 1.545 MB / 336.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.3563, allocations: 160.1 kB / 336.5 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006503/0.3569, allocations: 215.9 kB / 336.7 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007896/0.3648, allocations: 2.692 MB / 339.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.397e-05/0.365, allocations: 8 kB / 339.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000319/0.3653, allocations: 91.94 kB / 339.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002048/0.3655, allocations: 104 kB / 339.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007487/0.373, allocations: 2.28 MB / 341.9 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02286/0.3959, allocations: 8.276 MB / 350.1 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00475/0.4007, allocations: 1.6 MB / 351.7 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003509/0.4011, allocations: 135.3 kB / 351.9 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.4012, allocations: 43.56 kB / 351.9 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 4.308e-06/0.4012, allocations: 0 / 351.9 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.02267/0.4239, allocations: 6.461 MB / 358.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.424, allocations: 64.72 kB / 358.4 MB, free: 9.965 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004265/0.4283, allocations: 2.093 MB / 360.5 MB, free: 7.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002932/0.4286, allocations: 49.64 kB / 360.6 MB, free: 7.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.4299, allocations: 1.119 MB / 361.7 MB, free: 6.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007613/0.4307, allocations: 461.3 kB / 362.1 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.4309, allocations: 28 kB / 362.2 MB, free: 6.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.4311, allocations: 353.9 kB / 362.5 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/0.4334, allocations: 0.7652 MB / 363.3 MB, free: 5.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.4359, allocations: 1.006 MB / 364.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/0.4387, allocations: 0.9215 MB / 365.2 MB, free: 3.012 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.4388, allocations: 0 / 365.2 MB, free: 3.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.009032/0.4478, allocations: 2.82 MB / 368 MB, free: 172 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.864e-05/0.448, allocations: 37.69 kB / 368.1 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/0.448, allocations: 7.938 kB / 368.1 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003681/0.4517, allocations: 0.8057 MB / 368.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/0.454, allocations: 275.6 kB / 369.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/0.4747, allocations: 9.269 MB / 378.4 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.4768, allocations: 91.89 kB / 378.5 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/0.477, allocations: 55.98 kB / 378.6 MB, free: 5.336 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 1 * 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%) 6,(6,88.9%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001926/0.4789, allocations: 0.7433 MB / 379.3 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006693/0.4796, allocations: 205.5 kB / 379.5 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007852/0.4875, allocations: 2.512 MB / 382 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.489e-05/0.4876, allocations: 19.95 kB / 382 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.4876, allocations: 8 kB / 382 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/0.4876, allocations: 7.969 kB / 382.1 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.5024, allocations: 4.918 MB / 387 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.5024, allocations: 0 / 387 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/0.5044, allocations: 211.9 kB / 387.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00325/0.5077, allocations: 0.6732 MB / 387.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/0.5079, allocations: 31.97 kB / 387.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/0.5234, allocations: 8.32 MB / 396.2 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.5235, allocations: 4.031 kB / 396.2 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/0.534, allocations: 3.55 MB / 399.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.5354, allocations: 442.5 kB / 400.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000368/0.5358, allocations: 24 kB / 400.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/0.5375, allocations: 99.84 kB / 400.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000441/0.5379, allocations: 100.8 kB / 400.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/0.5381, allocations: 39.98 kB / 400.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003165/0.5413, allocations: 1.472 MB / 401.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5413, allocations: 4 kB / 401.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00267/0.544, allocations: 0.5195 MB / 402.4 MB, free: 12.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (94): * Single equations (assignments): 88 * Array equations: 2 * 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%) 6,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01182/0.5558, allocations: 4.336 MB / 406.8 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007426/0.5633, allocations: 2.466 MB / 409.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.5634, allocations: 4 kB / 409.3 MB, free: 5.965 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004739/0.5681, allocations: 1.65 MB / 410.9 MB, free: 4.254 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/0.5714, allocations: 398.2 kB / 411.3 MB, free: 3.859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2604/0.8318, allocations: 7.878 MB / 419.2 MB, free: 90.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/0.8338, allocations: 2.005 MB / 421.2 MB, free: 89.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002034/0.8358, allocations: 393.3 kB / 421.6 MB, free: 89.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/0.8376, allocations: 0.959 MB / 422.5 MB, free: 89.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8376, allocations: 3.375 kB / 422.5 MB, free: 89.32 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/0.9418, allocations: 45.49 MB / 468 MB, free: 48.47 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002983/0.9422, allocations: 274.5 kB / 468.3 MB, free: 48.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.963/4.905, allocations: 3.828 kB / 468.3 MB, free: 48.12 MB / 346.7 MB