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.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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 12 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09596, allocations: 44.49 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01376/0.1098, allocations: 8.281 MB / 317.4 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008337/0.1182, allocations: 3.068 MB / 320.4 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.1197, allocations: 55.81 kB / 320.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.122, allocations: 0.5675 MB / 321 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004702/0.1267, allocations: 1.13 MB / 322.2 MB, free: 3.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.1301, allocations: 0.9157 MB / 323.1 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02844/0.1585, allocations: 12.56 MB / 335.6 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03676/0.1953, allocations: 15.19 MB / 350.8 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00681/0.2022, allocations: 3.318 MB / 354.2 MB, free: 3.086 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01186/0.2141, allocations: 4.27 MB / 358.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003424/0.2176, allocations: 0.582 MB / 359 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005704/0.2234, allocations: 0.7498 MB / 359.8 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00509/0.2285, allocations: 1.811 MB / 361.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005159/0.2337, allocations: 1.779 MB / 363.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3148/0.5486, allocations: 15.67 MB / 379 MB, free: 33.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.5486, allocations: 1.125 kB / 379 MB, free: 33.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.526e-06/0.5487, allocations: 0 / 379 MB, free: 33.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004674/0.5491, allocations: 3.75 kB / 379 MB, free: 33.99 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.05053/0.5997, allocations: 10.81 MB / 389.8 MB, free: 28.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.5997, allocations: 7.594 kB / 389.8 MB, free: 28.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0716/0.6714, allocations: 8.539 MB / 398.4 MB, free: 25.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01806/0.6895, allocations: 5.48 MB / 403.9 MB, free: 24.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007733/0.6903, allocations: 0.6586 MB / 404.5 MB, free: 23.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004893/0.6952, allocations: 0.8632 MB / 405.4 MB, free: 23.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05056/0.7458, allocations: 15.83 MB / 421.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003951/0.7463, allocations: 7.906 kB / 421.2 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004035/0.7503, allocations: 373.4 kB / 421.6 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006696/0.751, allocations: 0.5582 MB / 422.1 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04637/0.7974, allocations: 15.64 MB / 437.8 MB, free: 9.082 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1248/0.9222, allocations: 48.43 MB / 486.2 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03187/0.9542, allocations: 19.29 MB / 0.4936 GB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008167/0.955, allocations: 181.8 kB / 0.4938 GB, free: 2.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.234e-05/0.9551, allocations: 82.52 kB / 0.4939 GB, free: 2.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=468): time 8.456e-06/0.9551, allocations: 0 / 0.4939 GB, free: 2.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=468): time 0.04044/0.9956, allocations: 11.49 MB / 0.5051 GB, free: 7.074 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.9957, allocations: 129.1 kB / 0.5052 GB, free: 6.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008681/1.004, allocations: 3.815 MB / 0.509 GB, free: 3.105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009274/1.005, allocations: 101.7 kB / 0.5091 GB, free: 3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003893/1.009, allocations: 3.897 MB / 0.5129 GB, free: 15.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002598/1.012, allocations: 1.607 MB / 0.5144 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007681/1.013, allocations: 148 kB / 0.5146 GB, free: 13.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006273/1.013, allocations: 0.6078 MB / 0.5152 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009667/1.023, allocations: 3.66 MB / 0.5188 GB, free: 9.078 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01275/1.036, allocations: 6.461 MB / 0.5251 GB, free: 1.363 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.5208/1.557, allocations: 5.198 MB / 0.5301 GB, free: 142.1 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.672e-05/1.557, allocations: 27.06 kB / 0.5302 GB, free: 142.1 MB / 426.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.03124/1.588, allocations: 11.88 MB / 0.5418 GB, free: 138.1 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/1.588, allocations: 46.84 kB / 0.5418 GB, free: 138.1 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/1.588, allocations: 91.38 kB / 0.5419 GB, free: 138.1 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008342/1.597, allocations: 1.621 MB / 0.5435 GB, free: 137.9 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01124/1.608, allocations: 1.666 MB / 0.5451 GB, free: 137.7 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02626/1.634, allocations: 16.53 MB / 0.5612 GB, free: 126.1 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008153/1.643, allocations: 0.9529 MB / 0.5622 GB, free: 125.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/1.644, allocations: 363.4 kB / 0.5625 GB, free: 124.9 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007997/1.652, allocations: 3.751 MB / 0.5662 GB, free: 121.7 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.653, allocations: 398.9 kB / 0.5666 GB, free: 121.3 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02243/1.676, allocations: 8.552 MB / 0.5749 GB, free: 114.4 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/1.676, allocations: 25.78 kB / 0.5749 GB, free: 114.4 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/1.676, allocations: 4 kB / 0.5749 GB, free: 114.4 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003643/1.679, allocations: 1.115 MB / 0.576 GB, free: 113.4 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/1.681, allocations: 80 kB / 0.5761 GB, free: 113.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004202/1.685, allocations: 307.6 kB / 0.5764 GB, free: 113 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009092/1.686, allocations: 355.5 kB / 0.5767 GB, free: 112.6 MB / 426.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02106/1.707, allocations: 7.98 MB / 0.5845 GB, free: 104.7 MB / 426.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02041/1.727, allocations: 9.686 MB / 0.594 GB, free: 94.86 MB / 426.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006015/1.733, allocations: 3.014 MB / 0.5969 GB, free: 91.82 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00518/1.739, allocations: 2.552 MB / 0.5994 GB, free: 89.28 MB / 426.8 MB Notification: Performance of Backend: time 9.12e-07/1.739, allocations: 0 / 0.5994 GB, free: 89.28 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01768/1.756, allocations: 6.813 MB / 0.6061 GB, free: 82.43 MB / 426.8 MB Notification: Performance of SimCode: time 0.03653/1.793, allocations: 18.26 MB / 0.6239 GB, free: 64.11 MB / 426.8 MB Notification: Performance of Templates: time 0.4678/2.261, allocations: 76.34 MB / 0.6985 GB, free: 129.2 MB / 426.8 MB