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.Components.EddyCurrentLosses.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: 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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 2.027/2.027, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.09031, allocations: 44.49 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02273/0.1131, allocations: 13.88 MB / 322.9 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.1253, allocations: 4.337 MB / 327.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.1283, allocations: 107.6 kB / 327.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004238/0.1326, allocations: 0.9133 MB / 328.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007303/0.1399, allocations: 1.539 MB / 329.8 MB, free: 11.51 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005518/0.1455, allocations: 1.288 MB / 331.1 MB, free: 10.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02113/0.1666, allocations: 9.306 MB / 340.4 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04937/0.216, allocations: 17.18 MB / 357.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007621/0.2237, allocations: 3.61 MB / 361.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009059/0.2328, allocations: 4.047 MB / 365.3 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00247/0.2353, allocations: 0.5625 MB / 365.8 MB, free: 7.367 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004421/0.2398, allocations: 0.7887 MB / 366.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003128/0.243, allocations: 1.705 MB / 368.3 MB, free: 4.867 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003374/0.2464, allocations: 1.779 MB / 370.1 MB, free: 3.078 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2662/0.5126, allocations: 15.2 MB / 385.3 MB, free: 27.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.5127, allocations: 0 / 385.3 MB, free: 27.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.858e-06/0.5127, allocations: 1.188 kB / 385.3 MB, free: 27.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005667/0.5133, allocations: 0 / 385.3 MB, free: 27.64 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.0444/0.5577, allocations: 10.31 MB / 395.6 MB, free: 22.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5578, allocations: 6.531 kB / 395.6 MB, free: 22.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05168/0.6094, allocations: 6.266 MB / 401.9 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01643/0.6259, allocations: 5.095 MB / 407 MB, free: 18.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000798/0.6268, allocations: 0.6709 MB / 407.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004207/0.631, allocations: 0.8682 MB / 408.5 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04631/0.6773, allocations: 14.6 MB / 423.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003833/0.6778, allocations: 7.906 kB / 423.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002995/0.6808, allocations: 374.1 kB / 423.5 MB, free: 9.855 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005951/0.6814, allocations: 0.4992 MB / 424 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03973/0.7212, allocations: 13.48 MB / 437.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1163/0.8374, allocations: 44.69 MB / 482.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0216/0.8591, allocations: 11.69 MB / 493.9 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007943/0.86, allocations: 179.7 kB / 494.1 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.277e-05/0.8601, allocations: 78.56 kB / 494.1 MB, free: 1.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=421): time 8.416e-06/0.8601, allocations: 4 kB / 494.1 MB, free: 1.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=421): time 0.03541/0.8955, allocations: 10.3 MB / 0.4926 GB, free: 7.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/0.8956, allocations: 121.1 kB / 0.4927 GB, free: 7.254 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006962/0.9026, allocations: 3.128 MB / 0.4958 GB, free: 4.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009117/0.9036, allocations: 97.7 kB / 0.4959 GB, free: 4.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003539/0.9071, allocations: 3.673 MB / 0.4995 GB, free: 312 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002411/0.9096, allocations: 1.439 MB / 0.5009 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006193/0.9102, allocations: 116 kB / 0.501 GB, free: 14.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005024/0.9107, allocations: 0.542 MB / 0.5015 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007644/0.9184, allocations: 2.908 MB / 0.5043 GB, free: 11.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009946/0.9284, allocations: 4.95 MB / 0.5092 GB, free: 5.438 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/0.9385, allocations: 4.027 MB / 0.5131 GB, free: 1.449 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.194e-05/0.9386, allocations: 16 kB / 0.5131 GB, free: 1.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.5334/1.472, allocations: 9.213 MB / 0.5221 GB, free: 128.5 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.098e-05/1.472, allocations: 31.66 kB / 0.5222 GB, free: 128.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/1.472, allocations: 70.61 kB / 0.5222 GB, free: 128.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005167/1.478, allocations: 1.1 MB / 0.5233 GB, free: 128.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00913/1.487, allocations: 1.305 MB / 0.5246 GB, free: 128.2 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/1.507, allocations: 10.06 MB / 0.5344 GB, free: 122.6 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006417/1.513, allocations: 0.7383 MB / 0.5351 GB, free: 122.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.515, allocations: 276.9 kB / 0.5354 GB, free: 122.1 MB / 410.8 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.008176/1.523, allocations: 3.436 MB / 0.5387 GB, free: 120.5 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.524, allocations: 354.9 kB / 0.5391 GB, free: 120.4 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/1.543, allocations: 7.056 MB / 0.546 GB, free: 116.5 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-05/1.543, allocations: 19.08 kB / 0.546 GB, free: 116.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/1.543, allocations: 0 / 0.546 GB, free: 116.5 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003197/1.546, allocations: 0.9625 MB / 0.5469 GB, free: 115.6 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/1.547, allocations: 74.38 kB / 0.547 GB, free: 115.6 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003568/1.551, allocations: 263.6 kB / 0.5472 GB, free: 115.4 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008168/1.551, allocations: 313.6 kB / 0.5475 GB, free: 115.2 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01825/1.57, allocations: 6.824 MB / 0.5542 GB, free: 109.7 MB / 410.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01766/1.587, allocations: 8.387 MB / 0.5624 GB, free: 101.7 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005242/1.593, allocations: 2.588 MB / 0.5649 GB, free: 99.09 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00451/1.597, allocations: 2.105 MB / 0.567 GB, free: 96.98 MB / 410.8 MB Notification: Performance of Backend: time 1.543e-06/1.597, allocations: 0 / 0.567 GB, free: 96.98 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01493/1.612, allocations: 5.373 MB / 0.5722 GB, free: 91.62 MB / 410.8 MB Notification: Performance of SimCode: time 0.03717/1.649, allocations: 17.61 MB / 0.5894 GB, free: 73.95 MB / 410.8 MB Notification: Performance of Templates: time 0.1676/1.817, allocations: 67.57 MB / 0.6554 GB, free: 6.418 MB / 410.8 MB