Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 1.681/1.681, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003641, allocations: 12 kB / 233.2 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07825/0.07864, allocations: 38.77 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01492/0.09361, allocations: 5.739 MB / 277.7 MB, free: 6.434 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006658/0.1003, allocations: 1.854 MB / 279.5 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.1019, allocations: 39.81 kB / 279.6 MB, free: 4.535 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.1037, allocations: 334.1 kB / 279.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00372/0.1074, allocations: 0.6347 MB / 280.5 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.1092, allocations: 270.7 kB / 280.8 MB, free: 3.309 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.006101/0.1153, allocations: 1.958 MB / 282.7 MB, free: 1.348 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005576/0.121, allocations: 1.96 MB / 284.7 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/0.1238, allocations: 0.9342 MB / 285.6 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003603/0.1275, allocations: 1.136 MB / 286.8 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008506/0.1284, allocations: 152 kB / 286.9 MB, free: 13.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.1299, allocations: 219.8 kB / 287.1 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.1312, allocations: 0.5841 MB / 287.7 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.1328, allocations: 0.5316 MB / 288.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008187/0.141, allocations: 3.596 MB / 291.8 MB, free: 8.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.682e-06/0.1411, allocations: 0 / 291.8 MB, free: 8.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1411, allocations: 0 / 291.8 MB, free: 8.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001094/0.1412, allocations: 4 kB / 291.9 MB, free: 8.176 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.01505/0.1563, allocations: 3.059 MB / 294.9 MB, free: 5.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1563, allocations: 8.031 kB / 294.9 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00303/0.1594, allocations: 0.5041 MB / 295.4 MB, free: 4.539 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003925/0.1634, allocations: 1.565 MB / 297 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.1636, allocations: 192.9 kB / 297.2 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005681/0.1642, allocations: 243.9 kB / 297.4 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2268/0.391, allocations: 3.353 MB / 300.8 MB, free: 26.87 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.842e-05/0.3911, allocations: 1.375 kB / 300.8 MB, free: 26.87 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003275/0.3915, allocations: 101.4 kB / 300.9 MB, free: 26.87 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.3916, allocations: 102.4 kB / 301 MB, free: 26.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007005/0.3986, allocations: 2.771 MB / 303.7 MB, free: 26.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02001/0.4187, allocations: 9.786 MB / 313.5 MB, free: 20.21 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.4209, allocations: 1.5 MB / 315 MB, free: 19.09 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.698e-05/0.421, allocations: 22.12 kB / 315 MB, free: 19.08 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.4211, allocations: 45.33 kB / 315.1 MB, free: 19.03 MB / 250.7 MB Notification: Performance of pre-optimization done (n=88): time 4.12e-06/0.4211, allocations: 0 / 315.1 MB, free: 19.03 MB / 250.7 MB Notification: Performance of matching and sorting (n=88): time 0.007362/0.4285, allocations: 2.503 MB / 317.6 MB, free: 17.67 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.4285, allocations: 89.33 kB / 317.7 MB, free: 17.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.4307, allocations: 1.359 MB / 319 MB, free: 16.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.163e-05/0.4308, allocations: 41.39 kB / 319.1 MB, free: 16.8 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005226/0.4313, allocations: 1.075 MB / 320.2 MB, free: 15.83 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.4316, allocations: 307.3 kB / 320.5 MB, free: 15.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.4316, allocations: 19.75 kB / 320.5 MB, free: 15.56 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.4317, allocations: 357.7 kB / 320.8 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.4329, allocations: 0.513 MB / 321.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.4341, allocations: 0.7691 MB / 322.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.4354, allocations: 0.638 MB / 322.7 MB, free: 14.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.748e-06/0.4354, allocations: 3.688 kB / 322.8 MB, free: 14.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003625/0.439, allocations: 1.737 MB / 324.5 MB, free: 13.11 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.4391, allocations: 8 kB / 324.5 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.4391, allocations: 8 kB / 324.5 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.4403, allocations: 411.2 kB / 324.9 MB, free: 12.69 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008434/0.4412, allocations: 179.8 kB / 325.1 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.4544, allocations: 6.282 MB / 331.4 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.4564, allocations: 127 kB / 331.5 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.4566, allocations: 43.95 kB / 331.5 MB, free: 5.809 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (87): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001706/0.4583, allocations: 0.8369 MB / 332.4 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.4586, allocations: 130.5 kB / 332.5 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.4589, allocations: 159.6 kB / 332.6 MB, free: 4.668 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.4589, allocations: 15.98 kB / 332.7 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.302e-05/0.459, allocations: 4 kB / 332.7 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.459, allocations: 10.28 kB / 332.7 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007195/0.4662, allocations: 3.753 MB / 336.4 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.64e-06/0.4663, allocations: 4 kB / 336.4 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/0.4668, allocations: 115.3 kB / 336.5 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.4681, allocations: 408.7 kB / 336.9 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.56e-05/0.4682, allocations: 27.98 kB / 337 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/0.4787, allocations: 6.217 MB / 343.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.926e-06/0.4787, allocations: 3.938 kB / 343.2 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005032/0.4838, allocations: 2.295 MB / 345.5 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008804/0.4847, allocations: 343.2 kB / 345.8 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.4849, allocations: 28 kB / 345.9 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009554/0.4859, allocations: 99.91 kB / 346 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/0.4862, allocations: 91.52 kB / 346 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.44e-05/0.4863, allocations: 27.98 kB / 346.1 MB, free: 6.855 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001789/0.4881, allocations: 0.9511 MB / 347 MB, free: 5.898 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.44e-07/0.4881, allocations: 0 / 347 MB, free: 5.898 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002276/0.4904, allocations: 0.6259 MB / 347.6 MB, free: 5.27 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (47): * Single equations (assignments): 45 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003027/0.4907, allocations: 140.5 kB / 347.8 MB, free: 5.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003808/0.4945, allocations: 1.653 MB / 349.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.4946, allocations: 0 / 349.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.497, allocations: 1.05 MB / 350.5 MB, free: 2.375 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.4987, allocations: 280.4 kB / 350.8 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009821/0.5085, allocations: 5.256 MB / 356 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/0.5112, allocations: 2.115 MB / 358.1 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004007/0.5116, allocations: 75.42 kB / 358.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5116, allocations: 0 / 358.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of Templates: time 0.07546/0.5871, allocations: 47.82 MB / 406 MB, free: 10.72 MB / 330.7 MB