Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_YD,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.511/1.511, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.00032, allocations: 8 kB / 233.3 MB, free: 2.953 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07639/0.07673, allocations: 38.77 MB / 272 MB, free: 12.1 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01252/0.0893, allocations: 7.955 MB / 280 MB, free: 4.105 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006807/0.09615, allocations: 3.006 MB / 283 MB, free: 1.094 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009171/0.09712, allocations: 39.81 kB / 283 MB, free: 1.055 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.09899, allocations: 0.5558 MB / 283.6 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.1013, allocations: 0.6971 MB / 284.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007798/0.1021, allocations: 235.7 kB / 284.5 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003338/0.1054, allocations: 1.961 MB / 286.5 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.108, allocations: 1.571 MB / 288 MB, free: 12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.1095, allocations: 0.9613 MB / 289 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.1115, allocations: 1.179 MB / 290.2 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003962/0.1119, allocations: 156 kB / 290.3 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007882/0.1127, allocations: 219.9 kB / 290.6 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009906/0.1137, allocations: 0.7088 MB / 291.3 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007014/0.1144, allocations: 0.551 MB / 291.8 MB, free: 8.211 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004894/0.1193, allocations: 3.72 MB / 295.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1194, allocations: 0 / 295.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1194, allocations: 0 / 295.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.129e-05/0.1195, allocations: 0 / 295.5 MB, free: 4.48 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: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.007417/0.1269, allocations: 2.742 MB / 298.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.127, allocations: 8.031 kB / 298.3 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000637/0.1276, allocations: 324.9 kB / 298.6 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009555/0.1286, allocations: 324.4 kB / 298.9 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2025/0.3311, allocations: 1.556 MB / 300.5 MB, free: 27.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.3314, allocations: 168.3 kB / 300.6 MB, free: 27.74 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005576/0.3319, allocations: 226.1 kB / 300.9 MB, free: 27.74 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007957/0.3399, allocations: 3.152 MB / 304 MB, free: 26.53 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.97e-05/0.3401, allocations: 12.78 kB / 304 MB, free: 26.53 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002912/0.3404, allocations: 92.98 kB / 304.1 MB, free: 26.46 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/0.3405, allocations: 105.6 kB / 304.2 MB, free: 26.45 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007401/0.3479, allocations: 2.726 MB / 306.9 MB, free: 25.47 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02028/0.3683, allocations: 9.836 MB / 316.8 MB, free: 19.13 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003294/0.3716, allocations: 2.097 MB / 318.9 MB, free: 17.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.3719, allocations: 121.3 kB / 319 MB, free: 17.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.372, allocations: 48.84 kB / 319 MB, free: 17.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=126): time 5.05e-06/0.372, allocations: 3.984 kB / 319 MB, free: 17.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=142): time 0.0256/0.3976, allocations: 8.105 MB / 327.1 MB, free: 10.28 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.3977, allocations: 64.72 kB / 327.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.4001, allocations: 1.602 MB / 328.8 MB, free: 8.598 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.4003, allocations: 53.7 kB / 328.9 MB, free: 8.539 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006426/0.4009, allocations: 1.021 MB / 329.9 MB, free: 7.512 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.4013, allocations: 490.2 kB / 330.4 MB, free: 7.039 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.4015, allocations: 35.94 kB / 330.4 MB, free: 7.004 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4016, allocations: 370.8 kB / 330.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.4035, allocations: 0.9174 MB / 331.7 MB, free: 5.715 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/0.4057, allocations: 1.275 MB / 333 MB, free: 4.293 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.4079, allocations: 1.076 MB / 334 MB, free: 3.223 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.4079, allocations: 4 kB / 334 MB, free: 3.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006631/0.4146, allocations: 2.956 MB / 337 MB, free: 244 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4146, allocations: 9.719 kB / 337 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.4146, allocations: 12 kB / 337 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003173/0.4178, allocations: 0.8332 MB / 337.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.4198, allocations: 315.5 kB / 338.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01644/0.4362, allocations: 9.34 MB / 347.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/0.4383, allocations: 104 kB / 347.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.4385, allocations: 56 kB / 347.7 MB, free: 5.184 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * 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: 3 * 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: 3 {(2,100.0%) 12,(9,33.3%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001889/0.4404, allocations: 0.8134 MB / 348.5 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004124/0.4408, allocations: 185.7 kB / 348.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007769/0.4486, allocations: 2.87 MB / 351.5 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.4486, allocations: 16 kB / 351.5 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.4486, allocations: 4 kB / 351.5 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.611e-05/0.4487, allocations: 15.95 kB / 351.5 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.4631, allocations: 5.651 MB / 357.2 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.4632, allocations: 8.281 kB / 357.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.4647, allocations: 187.8 kB / 357.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003716/0.4684, allocations: 0.9005 MB / 358.3 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.4686, allocations: 38.06 kB / 358.3 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/0.487, allocations: 10.85 MB / 369.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.487, allocations: 4.031 kB / 369.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/0.4977, allocations: 4.203 MB / 373.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.499, allocations: 458.7 kB / 373.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004054/0.4994, allocations: 43.86 kB / 373.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.5009, allocations: 83.92 kB / 374 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/0.5014, allocations: 137.1 kB / 374.1 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.5015, allocations: 43.59 kB / 374.1 MB, free: 9.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002229/0.5038, allocations: 1.099 MB / 375.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5038, allocations: 0 / 375.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002238/0.506, allocations: 0.5547 MB / 375.8 MB, free: 8.312 MB / 298.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.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01086/0.5169, allocations: 4.804 MB / 380.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.007057/0.524, allocations: 3.026 MB / 383.6 MB, free: 344 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.524, allocations: 4 kB / 383.6 MB, free: 340 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004679/0.5287, allocations: 2.046 MB / 385.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.5317, allocations: 472.3 kB / 386.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03772/0.5695, allocations: 15.81 MB / 401.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002276/0.5718, allocations: 2.014 MB / 404 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/0.5736, allocations: 0.8859 MB / 404.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5736, allocations: 0 / 404.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.933/4.507, allocations: 98.95 MB / 0.492 GB, free: 49.79 MB / 346.7 MB