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.SynchronousInductionMachines.SMPM_CurrentSource.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.SynchronousInductionMachines.SMPM_CurrentSource,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.936/1.936, allocations: 194.8 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004718, allocations: 11.98 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3118, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01595/0.3278, allocations: 8.906 MB / 317.5 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009357/0.3372, allocations: 3.524 MB / 321 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.3392, allocations: 47.75 kB / 321.1 MB, free: 140 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003065/0.3423, allocations: 0.6919 MB / 321.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.3459, allocations: 0.7711 MB / 322.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.3473, allocations: 303.5 kB / 322.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004312/0.3516, allocations: 1.919 MB / 324.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003511/0.3552, allocations: 1.796 MB / 326.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.3574, allocations: 0.934 MB / 327.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/0.3601, allocations: 1.249 MB / 328.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000528/0.3606, allocations: 152 kB / 328.9 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009761/0.3616, allocations: 227.8 kB / 329.1 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.3628, allocations: 0.7595 MB / 329.8 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000867/0.3637, allocations: 0.5627 MB / 330.4 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005911/0.3696, allocations: 3.865 MB / 334.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3697, allocations: 0 / 334.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3697, allocations: 0 / 334.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001468/0.3699, allocations: 0 / 334.3 MB, free: 2.848 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: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.009685/0.3795, allocations: 2.841 MB / 337.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3796, allocations: 8.031 kB / 337.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001216/0.3808, allocations: 362.7 kB / 337.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.3821, allocations: 340.1 kB / 337.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004887/0.387, allocations: 1.655 MB / 339.5 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.3873, allocations: 185 kB / 339.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007482/0.388, allocations: 247.9 kB / 339.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009638/0.3977, allocations: 3.224 MB / 343.1 MB, free: 9.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.3979, allocations: 4 kB / 343.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.3983, allocations: 100 kB / 343.2 MB, free: 9.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002248/0.3985, allocations: 128.9 kB / 343.3 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008614/0.4071, allocations: 2.701 MB / 346 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02729/0.4345, allocations: 10.46 MB / 356.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.4376, allocations: 1.323 MB / 357.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/0.438, allocations: 207.6 kB / 358 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.4381, allocations: 43.56 kB / 358.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 3.827e-06/0.4381, allocations: 0 / 358.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=121): time 0.02748/0.4656, allocations: 7.026 MB / 365.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.4657, allocations: 68.41 kB / 365.2 MB, free: 3.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004079/0.4698, allocations: 1.718 MB / 366.9 MB, free: 1.418 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002834/0.4702, allocations: 45.7 kB / 366.9 MB, free: 1.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.4716, allocations: 1.275 MB / 368.2 MB, free: 76 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006627/0.4722, allocations: 418.1 kB / 368.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.4724, allocations: 32 kB / 368.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.4726, allocations: 369.9 kB / 369 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.4747, allocations: 0.7652 MB / 369.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002519/0.4772, allocations: 1.281 MB / 371 MB, free: 12.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/0.4798, allocations: 0.9706 MB / 372 MB, free: 12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.4799, allocations: 4 kB / 372 MB, free: 12 MB / 314.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.006788/0.4866, allocations: 2.455 MB / 374.5 MB, free: 9.527 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.4867, allocations: 12 kB / 374.5 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-05/0.4868, allocations: 16 kB / 374.5 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.4878, allocations: 239.2 kB / 374.7 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/0.4909, allocations: 419.5 kB / 375.1 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003982/0.4949, allocations: 3.037 MB / 378.2 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/0.4973, allocations: 127.7 kB / 378.3 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.4975, allocations: 68 kB / 378.4 MB, free: 5.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (197): * Single equations (assignments): 193 * 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: 2 * 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: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002195/0.4997, allocations: 0.8134 MB / 379.2 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006145/0.5003, allocations: 185.8 kB / 379.4 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005578/0.5059, allocations: 2.019 MB / 381.4 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.506, allocations: 19.98 kB / 381.4 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.506, allocations: 3.953 kB / 381.4 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.5061, allocations: 11.97 kB / 381.4 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/0.5189, allocations: 4.676 MB / 386.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.519, allocations: 4 kB / 386.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/0.5212, allocations: 259.9 kB / 386.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009497/0.5222, allocations: 203.3 kB / 386.5 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.5223, allocations: 27.98 kB / 386.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003779/0.5261, allocations: 3.009 MB / 389.6 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.5262, allocations: 0 / 389.6 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007714/0.5339, allocations: 3.101 MB / 392.7 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.5353, allocations: 426.6 kB / 393.1 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003748/0.5357, allocations: 27.98 kB / 393.1 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.5373, allocations: 99.77 kB / 393.2 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.5376, allocations: 76.95 kB / 393.3 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.5377, allocations: 36 kB / 393.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002669/0.5404, allocations: 1.165 MB / 394.5 MB, free: 4.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5404, allocations: 0 / 394.5 MB, free: 4.715 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002307/0.5428, allocations: 487.9 kB / 395 MB, free: 4.238 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.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 (119): * Single equations (assignments): 115 * 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: 2 * 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: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008259/0.551, allocations: 3.708 MB / 398.7 MB, free: 472 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005875/0.557, allocations: 2.327 MB / 401 MB, free: 14.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.557, allocations: 0 / 401 MB, free: 14.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003181/0.5602, allocations: 1.335 MB / 402.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003427/0.5637, allocations: 441 kB / 402.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.29/0.8537, allocations: 15.08 MB / 417.9 MB, free: 91.53 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.8558, allocations: 2.048 MB / 419.9 MB, free: 90.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00242/0.8583, allocations: 0.4959 MB / 420.4 MB, free: 90.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001886/0.8602, allocations: 1.006 MB / 421.4 MB, free: 89.76 MB / 346.7 MB Notification: Performance of SimCode: time 1.643e-06/0.8602, allocations: 0 / 421.4 MB, free: 89.76 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09757/0.9578, allocations: 42.22 MB / 463.6 MB, free: 51.49 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/0.9581, allocations: 233.3 kB / 463.9 MB, free: 51.26 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.633/4.591, allocations: 0 / 463.9 MB, free: 51.26 MB / 346.7 MB