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.696/1.696, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003508, allocations: 8 kB / 233.3 MB, free: 0.832 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08389/0.08428, allocations: 38.77 MB / 272.1 MB, free: 9.984 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4608/0.5451, allocations: 95.27 MB / 367.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/0.5455, allocations: 87.95 kB / 367.5 MB, free: 3.512 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2625/0.808, allocations: 49.01 MB / 416.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.8081, allocations: 0 / 416.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002974/0.8084, allocations: 59.94 kB / 416.5 MB, free: 2.094 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: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.2478/1.056, allocations: 2.725 MB / 419.3 MB, free: 79.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.056, allocations: 8.625 kB / 419.3 MB, free: 79.42 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001531/1.058, allocations: 337.8 kB / 419.6 MB, free: 79.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/1.06, allocations: 326.6 kB / 419.9 MB, free: 79.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006655/1.066, allocations: 1.699 MB / 421.6 MB, free: 78.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/1.067, allocations: 171.8 kB / 421.8 MB, free: 78.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/1.068, allocations: 224.9 kB / 422 MB, free: 78.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/1.079, allocations: 3.129 MB / 425.1 MB, free: 78.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/1.079, allocations: 12.67 kB / 425.1 MB, free: 78.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005522/1.079, allocations: 96.58 kB / 425.2 MB, free: 78.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001637/1.08, allocations: 94.77 kB / 425.3 MB, free: 78.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009711/1.089, allocations: 2.618 MB / 428 MB, free: 78.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02908/1.118, allocations: 9.879 MB / 437.8 MB, free: 76.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004804/1.123, allocations: 2.136 MB / 440 MB, free: 75.47 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005101/1.124, allocations: 141.8 kB / 440.1 MB, free: 75.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/1.124, allocations: 43.88 kB / 440.2 MB, free: 75.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=129): time 4.518e-06/1.124, allocations: 0 / 440.2 MB, free: 75.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.03035/1.154, allocations: 8.057 MB / 448.2 MB, free: 72.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/1.154, allocations: 64.09 kB / 448.3 MB, free: 72.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/1.158, allocations: 1.442 MB / 449.7 MB, free: 71.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003985/1.158, allocations: 49.42 kB / 449.8 MB, free: 71.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007497/1.159, allocations: 1.003 MB / 450.8 MB, free: 70.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007033/1.16, allocations: 0.4911 MB / 451.3 MB, free: 70.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/1.16, allocations: 27.94 kB / 451.3 MB, free: 70.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/1.16, allocations: 373 kB / 451.6 MB, free: 70.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/1.162, allocations: 0.9163 MB / 452.6 MB, free: 69.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002761/1.165, allocations: 1.234 MB / 453.8 MB, free: 69.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/1.168, allocations: 1.065 MB / 454.9 MB, free: 68.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/1.168, allocations: 2.906 kB / 454.9 MB, free: 68.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008127/1.176, allocations: 2.93 MB / 457.8 MB, free: 67.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/1.176, allocations: 8.438 kB / 457.8 MB, free: 67.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/1.177, allocations: 10.81 kB / 457.8 MB, free: 67.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003291/1.18, allocations: 0.8385 MB / 458.7 MB, free: 67.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/1.182, allocations: 317.8 kB / 459 MB, free: 67.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/1.198, allocations: 9.346 MB / 468.3 MB, free: 61.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/1.2, allocations: 102.6 kB / 468.4 MB, free: 61.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003449/1.201, allocations: 61.58 kB / 468.5 MB, free: 61.2 MB / 346.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: 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 (152): * Single equations (assignments): 147 * 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,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002277/1.203, allocations: 0.7989 MB / 469.3 MB, free: 60.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000677/1.204, allocations: 187.1 kB / 469.5 MB, free: 60.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007876/1.211, allocations: 2.893 MB / 472.3 MB, free: 59.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/1.212, allocations: 11.47 kB / 472.4 MB, free: 59.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/1.212, allocations: 10.19 kB / 472.4 MB, free: 59.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.963e-05/1.212, allocations: 10.38 kB / 472.4 MB, free: 59.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/1.227, allocations: 5.67 MB / 478 MB, free: 57.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.227, allocations: 4.156 kB / 478 MB, free: 57.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/1.229, allocations: 209.1 kB / 478.3 MB, free: 57.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003961/1.233, allocations: 0.9041 MB / 479.2 MB, free: 56.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003592/1.233, allocations: 33.17 kB / 479.2 MB, free: 56.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01723/1.251, allocations: 10.89 MB / 490.1 MB, free: 49.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.251, allocations: 3.969 kB / 490.1 MB, free: 49.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/1.262, allocations: 4.375 MB / 494.5 MB, free: 45.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/1.264, allocations: 468.7 kB / 494.9 MB, free: 45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007312/1.264, allocations: 31.8 kB / 494.9 MB, free: 44.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/1.267, allocations: 97.28 kB / 495 MB, free: 44.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007026/1.267, allocations: 133.5 kB / 495.2 MB, free: 44.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/1.268, allocations: 43.12 kB / 495.2 MB, free: 44.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002555/1.27, allocations: 1.117 MB / 496.3 MB, free: 43.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.27, allocations: 4 kB / 496.3 MB, free: 43.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003356/1.274, allocations: 0.5853 MB / 496.9 MB, free: 43.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,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 (102): * Single equations (assignments): 97 * 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.01232/1.286, allocations: 5.731 MB / 0.4909 GB, free: 38.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00772/1.294, allocations: 3.023 MB / 0.4938 GB, free: 35.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.294, allocations: 8.188 kB / 0.4938 GB, free: 35.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005225/1.299, allocations: 2.071 MB / 0.4959 GB, free: 33.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/1.303, allocations: 482.6 kB / 0.4963 GB, free: 33.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04183/1.345, allocations: 21.71 MB / 0.5175 GB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002221/1.347, allocations: 2.022 MB / 0.5195 GB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/1.349, allocations: 0.8781 MB / 0.5203 GB, free: 9.992 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/1.349, allocations: 0 / 0.5203 GB, free: 9.992 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.097/5.446, allocations: 99.95 MB / 0.6179 GB, free: 53.35 MB / 362.7 MB