Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.541/1.541, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 12 kB / 233.4 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07678/0.07717, allocations: 38.77 MB / 272.1 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3758/0.453, allocations: 98.41 MB / 370.5 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.4534, allocations: 96.11 kB / 370.6 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2228/0.6761, allocations: 48.77 MB / 419.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.6762, allocations: 0 / 419.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003915/0.6766, allocations: 63.92 kB / 419.5 MB, free: 11.76 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01252/0.6892, allocations: 2.746 MB / 422.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.6892, allocations: 8.031 kB / 422.2 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002011/0.6913, allocations: 350.9 kB / 422.6 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.6933, allocations: 336.3 kB / 422.9 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0075/0.7009, allocations: 1.728 MB / 424.6 MB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.7012, allocations: 156 kB / 424.8 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008358/0.702, allocations: 207.9 kB / 425 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/0.7135, allocations: 2.674 MB / 427.7 MB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.7136, allocations: 15.84 kB / 427.7 MB, free: 3.281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004482/0.7141, allocations: 84 kB / 427.8 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/0.7143, allocations: 87.97 kB / 427.8 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.7245, allocations: 2.19 MB / 430 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2556/0.9801, allocations: 8.327 MB / 438.4 MB, free: 78.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005212/0.9853, allocations: 1.65 MB / 440 MB, free: 78.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004759/0.9859, allocations: 140.8 kB / 440.1 MB, free: 78.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.9859, allocations: 47.41 kB / 440.2 MB, free: 78.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=115): time 4.338e-06/0.9859, allocations: 0 / 440.2 MB, free: 78.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=131): time 0.02458/1.011, allocations: 6.789 MB / 447 MB, free: 76.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/1.011, allocations: 71.19 kB / 447 MB, free: 76.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00421/1.015, allocations: 1.853 MB / 448.9 MB, free: 76.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003539/1.015, allocations: 49.7 kB / 448.9 MB, free: 76.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009705/1.016, allocations: 1.094 MB / 450 MB, free: 76.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006521/1.017, allocations: 453.9 kB / 450.5 MB, free: 76.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/1.017, allocations: 28.19 kB / 450.5 MB, free: 76.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/1.017, allocations: 357.8 kB / 450.9 MB, free: 75.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/1.019, allocations: 0.7789 MB / 451.6 MB, free: 75.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/1.022, allocations: 1.018 MB / 452.7 MB, free: 75.56 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/1.024, allocations: 0.9319 MB / 453.6 MB, free: 75.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/1.024, allocations: 0 / 453.6 MB, free: 75.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.008707/1.033, allocations: 2.859 MB / 456.5 MB, free: 75.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/1.033, allocations: 37.17 kB / 456.5 MB, free: 75.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/1.033, allocations: 7.75 kB / 456.5 MB, free: 75.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00359/1.037, allocations: 0.8466 MB / 457.3 MB, free: 74.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/1.039, allocations: 267.2 kB / 457.6 MB, free: 74.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/1.057, allocations: 9.647 MB / 467.2 MB, free: 69.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/1.059, allocations: 98.28 kB / 467.3 MB, free: 69.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/1.06, allocations: 51.42 kB / 467.4 MB, free: 69.47 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (120): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001912/1.061, allocations: 0.7409 MB / 468.1 MB, free: 69.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006693/1.062, allocations: 203.4 kB / 468.3 MB, free: 69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007528/1.07, allocations: 2.574 MB / 470.9 MB, free: 68.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/1.07, allocations: 14.14 kB / 470.9 MB, free: 68.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.07, allocations: 7.312 kB / 470.9 MB, free: 68.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-05/1.07, allocations: 3.703 kB / 470.9 MB, free: 68.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/1.084, allocations: 5.084 MB / 476 MB, free: 66.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.579e-05/1.084, allocations: 5.719 kB / 476 MB, free: 66.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/1.086, allocations: 210.9 kB / 476.2 MB, free: 66.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003217/1.089, allocations: 0.7147 MB / 476.9 MB, free: 65.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/1.09, allocations: 29.36 kB / 477 MB, free: 65.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/1.103, allocations: 8.689 MB / 485.7 MB, free: 59.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.103, allocations: 3.625 kB / 485.7 MB, free: 59.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009475/1.113, allocations: 3.713 MB / 489.4 MB, free: 58.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.115, allocations: 476.3 kB / 489.8 MB, free: 58.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004644/1.115, allocations: 26.67 kB / 489.9 MB, free: 57.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/1.117, allocations: 95.8 kB / 490 MB, free: 57.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003679/1.117, allocations: 109.3 kB / 490.1 MB, free: 57.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.117, allocations: 42.31 kB / 490.1 MB, free: 57.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002817/1.12, allocations: 1.448 MB / 491.6 MB, free: 57.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.12, allocations: 0 / 491.6 MB, free: 57.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002999/1.123, allocations: 0.5721 MB / 492.1 MB, free: 57.35 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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01084/1.134, allocations: 4.967 MB / 497.1 MB, free: 53.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006508/1.141, allocations: 2.557 MB / 499.7 MB, free: 51.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/1.141, allocations: 0 / 499.7 MB, free: 51.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004115/1.145, allocations: 1.745 MB / 0.4896 GB, free: 49.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/1.148, allocations: 405.1 kB / 0.49 GB, free: 49.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/1.164, allocations: 12.06 MB / 0.5018 GB, free: 38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/1.166, allocations: 2.004 MB / 0.5038 GB, free: 36.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002013/1.168, allocations: 389.3 kB / 0.5041 GB, free: 36.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/1.169, allocations: 0.928 MB / 0.505 GB, free: 35.28 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/1.169, allocations: 0 / 0.505 GB, free: 35.28 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/1.288, allocations: 49.62 MB / 0.5535 GB, free: 5.266 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003648/1.288, allocations: 297.8 kB / 0.5538 GB, free: 4.891 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.345/5.633, allocations: 0 / 0.5538 GB, free: 4.891 MB / 362.7 MB