Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.978/1.978, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 12 kB / 264.1 MB, free: 2.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2908, allocations: 44.5 MB / 308.6 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.05904/0.3499, allocations: 27.1 MB / 335.7 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03243/0.3824, allocations: 8.564 MB / 344.3 MB, free: 8.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006353/0.3888, allocations: 191.2 kB / 344.4 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008479/0.3973, allocations: 1.823 MB / 346.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01441/0.4118, allocations: 3.245 MB / 349.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007532/0.4194, allocations: 1.417 MB / 350.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.03555/0.4549, allocations: 11.78 MB / 362.7 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05854/0.5135, allocations: 17.43 MB / 380.1 MB, free: 4.832 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01041/0.524, allocations: 4.529 MB / 384.7 MB, free: 296 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/0.5361, allocations: 5.074 MB / 389.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003588/0.5397, allocations: 0.7266 MB / 390.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006142/0.5459, allocations: 1.015 MB / 391.5 MB, free: 9.453 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004922/0.5509, allocations: 2.313 MB / 393.8 MB, free: 7.133 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005387/0.5563, allocations: 2.414 MB / 396.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.575/1.131, allocations: 21.03 MB / 417.2 MB, free: 28.16 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.131, allocations: 0 / 417.2 MB, free: 28.16 MB / 346.8 MB Notification: Performance of FrontEnd: time 3.256e-06/1.132, allocations: 0 / 417.2 MB, free: 28.16 MB / 346.8 MB Notification: Performance of Transformations before backend: time 0.0006689/1.132, allocations: 0 / 417.2 MB, free: 28.16 MB / 346.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.05155/1.184, allocations: 12.42 MB / 429.7 MB, free: 24.41 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.184, allocations: 10.38 kB / 429.7 MB, free: 24.41 MB / 346.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006397/1.19, allocations: 1.538 MB / 431.2 MB, free: 24.3 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06417/1.254, allocations: 7.694 MB / 438.9 MB, free: 22.8 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02148/1.276, allocations: 7.212 MB / 446.1 MB, free: 20.88 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001084/1.277, allocations: 0.8029 MB / 446.9 MB, free: 20.86 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004861/1.282, allocations: 1.067 MB / 448 MB, free: 20.84 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05437/1.336, allocations: 17.5 MB / 465.5 MB, free: 10.66 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006104/1.337, allocations: 11.91 kB / 465.5 MB, free: 10.65 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004033/1.341, allocations: 453.6 kB / 465.9 MB, free: 10.56 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008872/1.342, allocations: 0.6605 MB / 466.6 MB, free: 9.945 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04904/1.391, allocations: 16.91 MB / 483.5 MB, free: 12.75 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1512/1.542, allocations: 57.25 MB / 0.5281 GB, free: 3.137 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05684/1.599, allocations: 40.01 MB / 0.5672 GB, free: 6.27 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3348/1.934, allocations: 12.46 MB / 0.5793 GB, free: 135.5 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.702e-05/1.934, allocations: 80.2 kB / 0.5794 GB, free: 135.5 MB / 458.8 MB Notification: Performance of pre-optimization done (n=410): time 8.346e-06/1.934, allocations: 0 / 0.5794 GB, free: 135.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=435): time 0.08201/2.016, allocations: 22.27 MB / 0.6012 GB, free: 131.4 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/2.016, allocations: 126.5 kB / 0.6013 GB, free: 131.3 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009833/2.026, allocations: 4.713 MB / 0.6059 GB, free: 130.9 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009109/2.027, allocations: 101.1 kB / 0.606 GB, free: 130.9 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003918/2.031, allocations: 4.77 MB / 0.6106 GB, free: 128.4 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002021/2.033, allocations: 1.489 MB / 0.6121 GB, free: 127.4 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007661/2.034, allocations: 131.8 kB / 0.6122 GB, free: 127.4 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004306/2.035, allocations: 0.5627 MB / 0.6128 GB, free: 127.1 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007485/2.042, allocations: 2.989 MB / 0.6157 GB, free: 127 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009143/2.051, allocations: 5.23 MB / 0.6208 GB, free: 122.6 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009499/2.061, allocations: 4.105 MB / 0.6248 GB, free: 120.7 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.467e-05/2.061, allocations: 24 kB / 0.6248 GB, free: 120.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.02788/2.089, allocations: 10.09 MB / 0.6347 GB, free: 112.4 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.914e-05/2.089, allocations: 38.81 kB / 0.6347 GB, free: 112.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/2.089, allocations: 75.95 kB / 0.6348 GB, free: 112.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007556/2.097, allocations: 1.671 MB / 0.6364 GB, free: 110.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01002/2.107, allocations: 1.412 MB / 0.6378 GB, free: 109.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03302/2.14, allocations: 16.89 MB / 0.6543 GB, free: 92.02 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007593/2.147, allocations: 347.7 kB / 0.6546 GB, free: 91.68 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/2.149, allocations: 300 kB / 0.6549 GB, free: 91.38 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * 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 (718): * Single equations (assignments): 714 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,69.4%) 28,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009771/2.159, allocations: 3.947 MB / 0.6588 GB, free: 87.52 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001707/2.16, allocations: 0.5094 MB / 0.6593 GB, free: 87 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02361/2.184, allocations: 7.928 MB / 0.667 GB, free: 79.03 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.587e-05/2.184, allocations: 48 kB / 0.667 GB, free: 78.98 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.913e-05/2.184, allocations: 16 kB / 0.6671 GB, free: 78.97 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001072/2.184, allocations: 23.88 kB / 0.6671 GB, free: 78.95 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04571/2.23, allocations: 17.72 MB / 0.6844 GB, free: 61.18 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.612e-05/2.23, allocations: 8 kB / 0.6844 GB, free: 61.17 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006564/2.237, allocations: 0.7541 MB / 0.6851 GB, free: 60.45 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007126/2.244, allocations: 1.548 MB / 0.6867 GB, free: 58.89 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008574/2.245, allocations: 108 kB / 0.6868 GB, free: 58.79 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03236/2.277, allocations: 19.88 MB / 0.7062 GB, free: 38.08 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/2.277, allocations: 11.75 kB / 0.7062 GB, free: 38.07 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02929/2.306, allocations: 11.64 MB / 0.7175 GB, free: 26.31 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004151/2.311, allocations: 1.191 MB / 0.7187 GB, free: 25.1 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001855/2.313, allocations: 91.98 kB / 0.7188 GB, free: 25.01 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005799/2.318, allocations: 243.8 kB / 0.719 GB, free: 24.77 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001538/2.32, allocations: 334.5 kB / 0.7194 GB, free: 24.45 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006408/2.321, allocations: 132 kB / 0.7195 GB, free: 24.32 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.007567/2.328, allocations: 3.165 MB / 0.7226 GB, free: 21.16 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.41e-07/2.328, allocations: 0 / 0.7226 GB, free: 21.16 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01105/2.339, allocations: 1.906 MB / 0.7244 GB, free: 19.25 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,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 (376): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,41.3%) 44,(2,100.0%) 12,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3174/2.657, allocations: 12.37 MB / 0.7365 GB, free: 155.6 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02219/2.679, allocations: 8.317 MB / 0.7446 GB, free: 154.8 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/2.679, allocations: 0.8438 kB / 0.7446 GB, free: 154.8 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01296/2.692, allocations: 4.725 MB / 0.7492 GB, free: 152.7 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00926/2.701, allocations: 1.193 MB / 0.7504 GB, free: 152.3 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1844/2.886, allocations: 58.72 MB / 0.8077 GB, free: 107.4 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01349/2.899, allocations: 7.038 MB / 0.8146 GB, free: 101.9 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01067/2.91, allocations: 1.94 MB / 0.8165 GB, free: 99.96 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009032/2.919, allocations: 3.987 MB / 0.8204 GB, free: 95.98 MB / 458.8 MB Notification: Performance of SimCode: time 1.693e-06/2.919, allocations: 4 kB / 0.8204 GB, free: 95.97 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5717/3.491, allocations: 147.9 MB / 0.9648 GB, free: 115.5 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003079/3.491, allocations: 258 kB / 0.965 GB, free: 115.1 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/11.19, allocations: 64 / 0.965 GB, free: 115.1 MB / 458.8 MB