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.MultiPhaseInductance.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.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.09694, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.008767/0.1058, allocations: 3.802 MB / 312.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00512/0.1109, allocations: 1.575 MB / 314.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005328/0.1115, allocations: 23.88 kB / 314.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009044/0.1125, allocations: 191 kB / 314.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002684/0.1152, allocations: 0.545 MB / 315.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000982/0.1162, allocations: 163.7 kB / 315.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00365/0.1198, allocations: 1.204 MB / 316.6 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002277/0.1222, allocations: 0.8618 MB / 317.4 MB, free: 7.949 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.1236, allocations: 0.5527 MB / 318 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.1256, allocations: 0.7082 MB / 318.7 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003905/0.126, allocations: 88 kB / 318.8 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009941/0.127, allocations: 179.9 kB / 318.9 MB, free: 6.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006994/0.1277, allocations: 398.8 kB / 319.3 MB, free: 6.031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00064/0.1284, allocations: 324.9 kB / 319.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004192/0.1326, allocations: 2.007 MB / 321.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1326, allocations: 0 / 321.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1327, allocations: 0 / 321.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.884e-05/0.1328, allocations: 0 / 321.7 MB, free: 3.695 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.009267/0.142, allocations: 1.93 MB / 323.6 MB, free: 1.711 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.1421, allocations: 8.031 kB / 323.6 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004336/0.1465, allocations: 369.6 kB / 324 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004039/0.1506, allocations: 1.001 MB / 325 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.1508, allocations: 98.67 kB / 325.1 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005425/0.1513, allocations: 139.9 kB / 325.2 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007741/0.1591, allocations: 1.878 MB / 327.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.474e-05/0.1592, allocations: 0 / 327.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003202/0.1596, allocations: 52 kB / 327.1 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.1597, allocations: 49.94 kB / 327.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005504/0.1652, allocations: 1.699 MB / 328.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/0.1808, allocations: 5.63 MB / 334.5 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005648/0.1865, allocations: 2.904 MB / 337.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004064/0.1906, allocations: 1.544 MB / 338.9 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.1907, allocations: 46.5 kB / 339 MB, free: 1.473 MB / 282.7 MB Notification: Performance of pre-optimization done (n=53): time 4.869e-06/0.1907, allocations: 0 / 339 MB, free: 1.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=53): time 0.005847/0.1966, allocations: 1.437 MB / 340.4 MB, free: 8 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.1967, allocations: 81.11 kB / 340.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/0.1989, allocations: 1.02 MB / 341.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.1991, allocations: 33.7 kB / 341.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007106/0.1998, allocations: 0.6735 MB / 342.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.2001, allocations: 189.3 kB / 342.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.2002, allocations: 16 kB / 342.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2004, allocations: 338 kB / 342.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.2015, allocations: 365 kB / 343.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.2028, allocations: 0.5293 MB / 343.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.2041, allocations: 441.3 kB / 344.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.2041, allocations: 3.953 kB / 344.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003016/0.2071, allocations: 1.029 MB / 345.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.2072, allocations: 8 kB / 345.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.2072, allocations: 4 kB / 345.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.069e-05/0.2073, allocations: 8 kB / 345.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.2088, allocations: 195.9 kB / 345.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/0.2088, allocations: 8 kB / 345.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.2099, allocations: 95.23 kB / 345.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/0.21, allocations: 24 kB / 345.5 MB, free: 10.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001219/0.2113, allocations: 0.5286 MB / 346 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.2116, allocations: 90.92 kB / 346.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/0.2138, allocations: 0.6931 MB / 346.8 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.2138, allocations: 7.984 kB / 346.8 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2139, allocations: 3.953 kB / 346.8 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/0.2143, allocations: 191.9 kB / 347 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.2146, allocations: 12 kB / 347 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009504/0.2155, allocations: 67.92 kB / 347 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.2157, allocations: 55.91 kB / 347.1 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003987/0.2197, allocations: 1.173 MB / 348.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00373/0.2235, allocations: 1.482 MB / 349.7 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001138/0.2247, allocations: 388.1 kB / 350.1 MB, free: 6.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001646/0.2264, allocations: 0.7215 MB / 350.8 MB, free: 5.395 MB / 298.7 MB Notification: Performance of Backend: time 2.585e-06/0.2264, allocations: 0 / 350.8 MB, free: 5.395 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.2287, allocations: 0.6356 MB / 351.5 MB, free: 4.754 MB / 298.7 MB Notification: Performance of SimCode: time 0.007948/0.2367, allocations: 3.759 MB / 355.2 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of Templates: time 0.03915/0.2759, allocations: 12.68 MB / 367.9 MB, free: 4.312 MB / 314.7 MB