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.SynchronousMachines.SMPM_OpenCircuit.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.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 194.8 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003732, allocations: 12 kB / 264.1 MB, free: 2.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.04355/0.3316, allocations: 24.6 MB / 333.2 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0237/0.3554, allocations: 8.224 MB / 341.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006409/0.3618, allocations: 159.5 kB / 341.6 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007698/0.3696, allocations: 1.578 MB / 343.1 MB, free: 9.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01407/0.3837, allocations: 3.143 MB / 346.3 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00694/0.3907, allocations: 1.292 MB / 347.6 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0186/0.4093, allocations: 7.42 MB / 355 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0261/0.4355, allocations: 9.867 MB / 364.9 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006576/0.4421, allocations: 2.916 MB / 367.8 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00797/0.4501, allocations: 3.319 MB / 371.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00227/0.4524, allocations: 471.9 kB / 371.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004746/0.4572, allocations: 0.7496 MB / 372.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003249/0.4605, allocations: 1.487 MB / 373.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004058/0.4646, allocations: 1.584 MB / 375.4 MB, free: 9.602 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02184/0.4865, allocations: 13.03 MB / 388.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4866, allocations: 0 / 388.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.4866, allocations: 0 / 388.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004331/0.4871, allocations: 0 / 388.4 MB, free: 12.54 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.03498/0.522, allocations: 8.199 MB / 396.6 MB, free: 4.246 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.5221, allocations: 12.03 kB / 396.6 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004884/0.527, allocations: 1.148 MB / 397.8 MB, free: 3.074 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04509/0.5722, allocations: 5.18 MB / 402.9 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01558/0.5878, allocations: 4.623 MB / 407.6 MB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008569/0.5887, allocations: 0.5337 MB / 408.1 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003206/0.5919, allocations: 0.7029 MB / 408.8 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3033/0.8953, allocations: 11.2 MB / 420 MB, free: 76.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004066/0.8957, allocations: 25.31 kB / 420 MB, free: 76.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0026/0.8983, allocations: 297.1 kB / 420.3 MB, free: 76.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000664/0.899, allocations: 446.7 kB / 420.8 MB, free: 76.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03184/0.9309, allocations: 10.74 MB / 431.5 MB, free: 72.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07899/1.01, allocations: 38.05 MB / 469.5 MB, free: 38.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02471/1.035, allocations: 28.05 MB / 497.6 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02239/1.057, allocations: 7.923 MB / 0.4937 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.347e-05/1.057, allocations: 64.45 kB / 0.4937 GB, free: 14.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=222): time 6.582e-06/1.057, allocations: 0 / 0.4937 GB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=238): time 0.03739/1.095, allocations: 10.4 MB / 0.5039 GB, free: 4.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003147/1.098, allocations: 1.928 MB / 0.5058 GB, free: 2.199 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009537/1.108, allocations: 3.688 MB / 0.5094 GB, free: 14.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004976/1.108, allocations: 61.7 kB / 0.5094 GB, free: 14.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004102/1.112, allocations: 3.559 MB / 0.5129 GB, free: 10.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00144/1.114, allocations: 0.8472 MB / 0.5137 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005314/1.114, allocations: 100 kB / 0.5138 GB, free: 9.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00052/1.115, allocations: 0.497 MB / 0.5143 GB, free: 9.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005583/1.12, allocations: 1.894 MB / 0.5162 GB, free: 7.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008307/1.129, allocations: 4.429 MB / 0.5205 GB, free: 1.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007818/1.137, allocations: 2.851 MB / 0.5233 GB, free: 15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.194e-05/1.137, allocations: 28 kB / 0.5233 GB, free: 14.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=640) (initialization): time 0.02175/1.159, allocations: 7.031 MB / 0.5302 GB, free: 7.922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.159, allocations: 44 kB / 0.5302 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/1.159, allocations: 88 kB / 0.5303 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003675/1.163, allocations: 0.7485 MB / 0.531 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007952/1.171, allocations: 1.142 MB / 0.5321 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/1.184, allocations: 5.385 MB / 0.5374 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006013/1.19, allocations: 319 kB / 0.5377 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/1.191, allocations: 276 kB / 0.538 GB, free: 15.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 403 * 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 (603): * Single equations (assignments): 600 * 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: 1 * 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: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007428/1.198, allocations: 2.533 MB / 0.5404 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/1.2, allocations: 391.3 kB / 0.5408 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/1.215, allocations: 4.303 MB / 0.545 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.003e-05/1.215, allocations: 24 kB / 0.545 GB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/1.215, allocations: 8 kB / 0.5451 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.259e-05/1.215, allocations: 15.95 kB / 0.5451 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04227/1.257, allocations: 14.33 MB / 0.5591 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.665e-05/1.257, allocations: 12.97 kB / 0.5591 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004203/1.261, allocations: 499.2 kB / 0.5596 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003774/1.265, allocations: 0.6864 MB / 0.5602 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005647/1.266, allocations: 67.98 kB / 0.5603 GB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/1.282, allocations: 7.094 MB / 0.5672 GB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2778/1.56, allocations: 1.868 MB / 0.569 GB, free: 141.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/1.578, allocations: 6.816 MB / 0.5757 GB, free: 139.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002754/1.58, allocations: 0.7948 MB / 0.5765 GB, free: 139.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/1.582, allocations: 67.62 kB / 0.5765 GB, free: 139.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00396/1.586, allocations: 169.5 kB / 0.5767 GB, free: 139.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008682/1.587, allocations: 226.8 kB / 0.5769 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003151/1.587, allocations: 94.34 kB / 0.577 GB, free: 139.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005898/1.593, allocations: 2.393 MB / 0.5793 GB, free: 138.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.593, allocations: 0 / 0.5793 GB, free: 138.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007302/1.6, allocations: 1.289 MB / 0.5806 GB, free: 138.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 1 ($STATESET1.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 (249): * Single equations (assignments): 246 * 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: 2 * 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: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01761/1.618, allocations: 7.509 MB / 0.5879 GB, free: 134.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01228/1.63, allocations: 5.173 MB / 0.593 GB, free: 132.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/1.63, allocations: 3.719 kB / 0.593 GB, free: 132.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006292/1.637, allocations: 2.427 MB / 0.5954 GB, free: 131.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006834/1.644, allocations: 0.9112 MB / 0.5962 GB, free: 131.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1142/1.758, allocations: 38.56 MB / 0.6339 GB, free: 93.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008544/1.766, allocations: 4.622 MB / 0.6384 GB, free: 88.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007789/1.774, allocations: 1.407 MB / 0.6398 GB, free: 87.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005663/1.78, allocations: 2.561 MB / 0.6423 GB, free: 85.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/1.78, allocations: 0 / 0.6423 GB, free: 85.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4897/2.27, allocations: 100.2 MB / 0.7401 GB, free: 128.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/2.27, allocations: 278.9 kB / 0.7404 GB, free: 127.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.005/8.276, allocations: 3.5 kB / 0.7404 GB, free: 127.9 MB / 426.7 MB