Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 1.81/1.81, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 8 kB / 233.9 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07979/0.08016, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009889/0.09011, allocations: 5.746 MB / 278.4 MB, free: 5.762 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004995/0.09515, allocations: 1.843 MB / 280.2 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009659/0.09617, allocations: 43.75 kB / 280.3 MB, free: 3.871 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.09732, allocations: 334.1 kB / 280.6 MB, free: 3.543 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.1, allocations: 0.6308 MB / 281.2 MB, free: 2.91 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.1013, allocations: 261 kB / 281.5 MB, free: 2.656 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004566/0.1058, allocations: 1.969 MB / 283.4 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003641/0.1095, allocations: 1.963 MB / 285.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.1115, allocations: 0.9303 MB / 286.3 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002274/0.1138, allocations: 1.128 MB / 287.5 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005545/0.1143, allocations: 152 kB / 287.6 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009717/0.1153, allocations: 215.9 kB / 287.8 MB, free: 12.26 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007863/0.1161, allocations: 0.588 MB / 288.4 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008508/0.117, allocations: 0.5276 MB / 288.9 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005595/0.1226, allocations: 3.604 MB / 292.5 MB, free: 7.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1227, allocations: 0 / 292.5 MB, free: 7.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.1227, allocations: 0 / 292.5 MB, free: 7.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001302/0.1228, allocations: 0 / 292.5 MB, free: 7.52 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.01312/0.136, allocations: 3.059 MB / 295.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/0.136, allocations: 8.031 kB / 295.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005773/0.1418, allocations: 0.508 MB / 296.1 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.1524, allocations: 1.569 MB / 297.7 MB, free: 2.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/0.1528, allocations: 189 kB / 297.9 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009985/0.1538, allocations: 247.9 kB / 298.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.252/0.4058, allocations: 3.328 MB / 301.4 MB, free: 27.31 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.115e-05/0.406, allocations: 0.6562 kB / 301.4 MB, free: 27.31 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003437/0.4063, allocations: 103.8 kB / 301.5 MB, free: 27.29 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.4065, allocations: 96.34 kB / 301.6 MB, free: 27.29 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008393/0.4149, allocations: 2.775 MB / 304.4 MB, free: 26.31 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02338/0.4383, allocations: 9.793 MB / 314.2 MB, free: 20.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.4412, allocations: 1.495 MB / 315.7 MB, free: 19.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.791e-05/0.4413, allocations: 13.56 kB / 315.7 MB, free: 19.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4413, allocations: 43.3 kB / 315.8 MB, free: 19.22 MB / 250.7 MB Notification: Performance of pre-optimization done (n=88): time 4.098e-06/0.4413, allocations: 0 / 315.8 MB, free: 19.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=88): time 0.009654/0.451, allocations: 2.512 MB / 318.3 MB, free: 17.85 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.4511, allocations: 86.55 kB / 318.4 MB, free: 17.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/0.4536, allocations: 1.354 MB / 319.7 MB, free: 17.03 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001766/0.4538, allocations: 41.45 kB / 319.7 MB, free: 16.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007649/0.4546, allocations: 1.111 MB / 320.9 MB, free: 16.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/0.4549, allocations: 310.1 kB / 321.2 MB, free: 15.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.455, allocations: 19.5 kB / 321.2 MB, free: 15.74 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.4551, allocations: 348 kB / 321.5 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.4563, allocations: 0.5226 MB / 322 MB, free: 15.14 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.4577, allocations: 0.7577 MB / 322.8 MB, free: 14.57 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.4592, allocations: 0.6441 MB / 323.4 MB, free: 14.24 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.4592, allocations: 3.812 kB / 323.5 MB, free: 14.24 MB / 250.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00439/0.4636, allocations: 1.819 MB / 325.3 MB, free: 12.6 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.4637, allocations: 12.12 kB / 325.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.4637, allocations: 4 kB / 325.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.4652, allocations: 404.1 kB / 325.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.4665, allocations: 183.7 kB / 325.9 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009792/0.4763, allocations: 6.281 MB / 332.1 MB, free: 5.469 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.4778, allocations: 127 kB / 332.3 MB, free: 5.344 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.684e-05/0.4779, allocations: 51.98 kB / 332.3 MB, free: 5.293 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.00173/0.4796, allocations: 0.839 MB / 333.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/0.48, allocations: 130.4 kB / 333.3 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.4803, allocations: 163.6 kB / 333.4 MB, free: 4.148 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.4803, allocations: 3.984 kB / 333.4 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4803, allocations: 4 kB / 333.4 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007278/0.4811, allocations: 339.2 kB / 333.8 MB, free: 3.789 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.4814, allocations: 27.98 kB / 333.8 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.4826, allocations: 98.38 kB / 333.9 MB, free: 3.668 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/0.4829, allocations: 96.27 kB / 334 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005383/0.4883, allocations: 1.789 MB / 335.8 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0042/0.4925, allocations: 2.035 MB / 337.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001433/0.494, allocations: 0.5504 MB / 338.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002094/0.4961, allocations: 0.9511 MB / 339.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of Backend: time 7.52e-07/0.4961, allocations: 0 / 339.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.004197/0.5003, allocations: 1.341 MB / 340.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of SimCode: time 0.01274/0.5131, allocations: 5.896 MB / 346.6 MB, free: 6.926 MB / 266.7 MB Notification: Performance of Templates: time 0.05852/0.5717, allocations: 19.27 MB / 365.8 MB, free: 3.719 MB / 282.7 MB