Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.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.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.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 1.891/1.891, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003419, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08892/0.08929, allocations: 44.52 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01003/0.09937, allocations: 5.969 MB / 315 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005406/0.1048, allocations: 2.077 MB / 317.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009278/0.1058, allocations: 39.81 kB / 317.2 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.1069, allocations: 334.2 kB / 317.5 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.11, allocations: 0.7086 MB / 318.2 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.1115, allocations: 275.5 kB / 318.5 MB, free: 6.926 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004787/0.1163, allocations: 2.051 MB / 320.5 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/0.1199, allocations: 1.972 MB / 322.5 MB, free: 2.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.1217, allocations: 0.9731 MB / 323.5 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.1239, allocations: 1.187 MB / 324.6 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004438/0.1244, allocations: 152 kB / 324.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.1255, allocations: 247.9 kB / 325 MB, free: 308 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007851/0.1263, allocations: 0.6151 MB / 325.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000786/0.1271, allocations: 0.5432 MB / 326.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005477/0.1326, allocations: 3.701 MB / 329.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1326, allocations: 0 / 329.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1326, allocations: 3.938 kB / 329.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001319/0.1328, allocations: 4 kB / 329.9 MB, free: 11.41 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01174/0.1445, allocations: 3.138 MB / 333 MB, free: 8.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1446, allocations: 8.031 kB / 333 MB, free: 8.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00588/0.1505, allocations: 0.6951 MB / 333.7 MB, free: 7.508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005112/0.1556, allocations: 1.624 MB / 335.4 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.1559, allocations: 201.3 kB / 335.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000908/0.1568, allocations: 256 kB / 335.8 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.1677, allocations: 3.579 MB / 339.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/0.1678, allocations: 0 / 339.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004258/0.1683, allocations: 120 kB / 339.5 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/0.1684, allocations: 97.41 kB / 339.6 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009457/0.1779, allocations: 3.105 MB / 342.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02769/0.2056, allocations: 10.54 MB / 353.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008425/0.2141, allocations: 4.685 MB / 357.9 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006411/0.2205, allocations: 2.503 MB / 360.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.2206, allocations: 43.56 kB / 360.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=108): time 4.779e-06/0.2206, allocations: 0 / 360.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=108): time 0.011/0.2317, allocations: 2.771 MB / 363.2 MB, free: 8.727 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.2317, allocations: 86.11 kB / 363.3 MB, free: 8.625 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/0.2345, allocations: 1.35 MB / 364.7 MB, free: 7.262 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.2346, allocations: 45.7 kB / 364.7 MB, free: 7.211 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.2357, allocations: 1.145 MB / 365.9 MB, free: 6.051 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004459/0.2361, allocations: 370.6 kB / 366.2 MB, free: 5.684 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.2363, allocations: 24 kB / 366.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2365, allocations: 361.9 kB / 366.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.2382, allocations: 0.5998 MB / 367.2 MB, free: 4.699 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.2402, allocations: 0.8544 MB / 368.1 MB, free: 3.746 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002033/0.2422, allocations: 0.7381 MB / 368.8 MB, free: 3.008 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.2423, allocations: 0 / 368.8 MB, free: 3.008 MB / 314.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005716/0.248, allocations: 2.027 MB / 370.8 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.2481, allocations: 8 kB / 370.8 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.2481, allocations: 8 kB / 370.8 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.2498, allocations: 406.1 kB / 371.2 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.2515, allocations: 235.6 kB / 371.5 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.271/0.5225, allocations: 6.221 MB / 377.7 MB, free: 56.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.5241, allocations: 152.7 kB / 377.8 MB, free: 56.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.5243, allocations: 45.81 kB / 377.9 MB, free: 56.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (110): * Single equations (assignments): 108 * 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.002075/0.5263, allocations: 0.8649 MB / 378.8 MB, free: 56.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004249/0.5268, allocations: 135.6 kB / 378.9 MB, free: 56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00506/0.5319, allocations: 1.747 MB / 380.6 MB, free: 55.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.5319, allocations: 10.56 kB / 380.6 MB, free: 55.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5319, allocations: 0 / 380.6 MB, free: 55.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005646/0.5325, allocations: 241.1 kB / 380.9 MB, free: 55.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003728/0.5329, allocations: 28.98 kB / 380.9 MB, free: 55.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.5343, allocations: 100.5 kB / 381 MB, free: 55.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003432/0.5346, allocations: 105.2 kB / 381.1 MB, free: 55.13 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006625/0.5413, allocations: 2.006 MB / 383.1 MB, free: 54.44 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005202/0.5465, allocations: 2.306 MB / 385.4 MB, free: 53.47 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001574/0.5481, allocations: 0.6362 MB / 386.1 MB, free: 53.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001908/0.5501, allocations: 0.9435 MB / 387 MB, free: 52.91 MB / 314.7 MB Notification: Performance of Backend: time 7.62e-07/0.5501, allocations: 0 / 387 MB, free: 52.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004127/0.5542, allocations: 1.466 MB / 388.5 MB, free: 52.21 MB / 314.7 MB Notification: Performance of SimCode: time 0.01124/0.5655, allocations: 6.076 MB / 394.5 MB, free: 48.46 MB / 314.7 MB Notification: Performance of Templates: time 0.05639/0.622, allocations: 21.49 MB / 416 MB, free: 28.01 MB / 314.7 MB