Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 1.97/1.97, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003621, allocations: 12 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07987/0.08026, allocations: 44.5 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02019/0.1005, allocations: 13.89 MB / 322.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.1114, allocations: 4.337 MB / 326.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003014/0.1145, allocations: 107.7 kB / 326.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003668/0.1182, allocations: 0.921 MB / 327.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006703/0.1249, allocations: 1.531 MB / 329.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005016/0.13, allocations: 1.282 MB / 330.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01739/0.1474, allocations: 9.365 MB / 339.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04117/0.1886, allocations: 17.18 MB / 357 MB, free: 220 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006737/0.1954, allocations: 3.622 MB / 360.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007567/0.203, allocations: 4.079 MB / 364.7 MB, free: 8.484 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002011/0.205, allocations: 0.5624 MB / 365.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003658/0.2087, allocations: 0.7848 MB / 366 MB, free: 7.141 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002943/0.2117, allocations: 1.705 MB / 367.7 MB, free: 5.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003142/0.2149, allocations: 1.775 MB / 369.5 MB, free: 3.645 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2332/0.448, allocations: 15.2 MB / 384.7 MB, free: 27.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.01e-06/0.4481, allocations: 0 / 384.7 MB, free: 27.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.665e-06/0.4481, allocations: 0 / 384.7 MB, free: 27.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004502/0.4486, allocations: 0.6875 kB / 384.7 MB, free: 27.41 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03465/0.4832, allocations: 10.32 MB / 395 MB, free: 22.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.4833, allocations: 8.844 kB / 395 MB, free: 22.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04551/0.5288, allocations: 6.266 MB / 401.3 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/0.5419, allocations: 5.093 MB / 406.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007546/0.5427, allocations: 0.6682 MB / 407.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003391/0.5461, allocations: 0.874 MB / 407.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03961/0.5857, allocations: 14.67 MB / 422.6 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003466/0.5861, allocations: 11.66 kB / 422.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002848/0.589, allocations: 374.8 kB / 423 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005216/0.5895, allocations: 0.5015 MB / 423.5 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03373/0.6233, allocations: 13.48 MB / 437 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1024/0.7258, allocations: 44.69 MB / 481.7 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/0.7437, allocations: 11.69 MB / 493.3 MB, free: 2.008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000648/0.7444, allocations: 182.6 kB / 493.5 MB, free: 1.828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.703e-05/0.7445, allocations: 78.22 kB / 493.6 MB, free: 1.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=421): time 1.074e-05/0.7446, allocations: 4 kB / 493.6 MB, free: 1.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=421): time 0.0293/0.7739, allocations: 10.29 MB / 0.4921 GB, free: 7.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.774, allocations: 129.1 kB / 0.4922 GB, free: 7.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006623/0.7807, allocations: 3.128 MB / 0.4953 GB, free: 4.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007872/0.7815, allocations: 93.7 kB / 0.4954 GB, free: 3.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00365/0.7852, allocations: 3.614 MB / 0.4989 GB, free: 284 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002233/0.7874, allocations: 1.439 MB / 0.5003 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006698/0.7881, allocations: 118.3 kB / 0.5004 GB, free: 14.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00059/0.7887, allocations: 0.5468 MB / 0.5009 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006737/0.7955, allocations: 2.908 MB / 0.5038 GB, free: 11.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009067/0.8046, allocations: 4.974 MB / 0.5086 GB, free: 5.379 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008578/0.8132, allocations: 4.026 MB / 0.5126 GB, free: 1.391 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.485e-05/0.8133, allocations: 19.78 kB / 0.5126 GB, free: 1.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.2506/1.064, allocations: 9.088 MB / 0.5215 GB, free: 129.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.659e-05/1.064, allocations: 39.06 kB / 0.5215 GB, free: 129.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/1.064, allocations: 68.38 kB / 0.5216 GB, free: 129.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004029/1.068, allocations: 1.101 MB / 0.5226 GB, free: 129.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006473/1.075, allocations: 1.303 MB / 0.5239 GB, free: 129.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01774/1.092, allocations: 10.07 MB / 0.5337 GB, free: 123.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005637/1.098, allocations: 0.7449 MB / 0.5345 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001334/1.1, allocations: 283 kB / 0.5347 GB, free: 123.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007956/1.108, allocations: 3.419 MB / 0.5381 GB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.109, allocations: 351.3 kB / 0.5384 GB, free: 121.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/1.125, allocations: 7.058 MB / 0.5453 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0126/1.138, allocations: 5.857 MB / 0.551 GB, free: 112.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-05/1.138, allocations: 12 kB / 0.551 GB, free: 112.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.529e-05/1.138, allocations: 22.59 kB / 0.5511 GB, free: 112.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03518/1.173, allocations: 15.11 MB / 0.5658 GB, free: 98.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-05/1.174, allocations: 10.62 kB / 0.5658 GB, free: 98.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003995/1.178, allocations: 0.7606 MB / 0.5666 GB, free: 97.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003669/1.181, allocations: 1.021 MB / 0.5676 GB, free: 96.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007885/1.182, allocations: 95.97 kB / 0.5677 GB, free: 96.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01627/1.198, allocations: 9.958 MB / 0.5774 GB, free: 86.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/1.198, allocations: 11.94 kB / 0.5774 GB, free: 86.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02013/1.219, allocations: 10.54 MB / 0.5877 GB, free: 75.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002914/1.222, allocations: 0.9834 MB / 0.5886 GB, free: 74.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/1.223, allocations: 87.98 kB / 0.5887 GB, free: 74.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003489/1.226, allocations: 275.7 kB / 0.589 GB, free: 74.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001192/1.228, allocations: 307.4 kB / 0.5893 GB, free: 74.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005037/1.228, allocations: 132 kB / 0.5894 GB, free: 73.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004387/1.232, allocations: 2.101 MB / 0.5915 GB, free: 71.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.22e-06/1.232, allocations: 0 / 0.5915 GB, free: 71.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008773/1.241, allocations: 2.229 MB / 0.5936 GB, free: 69.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (401): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/1.242, allocations: 284.3 kB / 0.5939 GB, free: 69.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01464/1.257, allocations: 7.537 MB / 0.6013 GB, free: 61.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.257, allocations: 0 / 0.6013 GB, free: 61.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007505/1.265, allocations: 3.668 MB / 0.6049 GB, free: 58.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/1.269, allocations: 0.6824 MB / 0.6055 GB, free: 57.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/1.302, allocations: 18.69 MB / 0.6238 GB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/1.312, allocations: 5.885 MB / 0.6295 GB, free: 32.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001969/1.314, allocations: 359.4 kB / 0.6299 GB, free: 32.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.288e-06/1.314, allocations: 0 / 0.6299 GB, free: 32.34 MB / 410.7 MB Notification: Performance of Templates: time 0.4617/1.776, allocations: 186 MB / 0.8116 GB, free: 18.1 MB / 426.7 MB