Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004765, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09416/0.09466, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01769/0.1124, allocations: 10.55 MB / 319.6 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.123, allocations: 4.137 MB / 323.8 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.1248, allocations: 59.69 kB / 323.8 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.1278, allocations: 0.8085 MB / 324.6 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004191/0.132, allocations: 0.9776 MB / 325.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.1335, allocations: 339.5 kB / 325.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006351/0.1398, allocations: 2.975 MB / 328.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004679/0.1446, allocations: 2.53 MB / 331.4 MB, free: 9.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.1475, allocations: 1.448 MB / 332.9 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003976/0.1515, allocations: 1.817 MB / 334.7 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000885/0.1524, allocations: 240 kB / 334.9 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.154, allocations: 315.9 kB / 335.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.1556, allocations: 1.071 MB / 336.3 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.157, allocations: 0.8433 MB / 337.2 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009118/0.1661, allocations: 5.956 MB / 343.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1662, allocations: 0 / 343.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1662, allocations: 4 kB / 343.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001882/0.1664, allocations: 0 / 343.1 MB, free: 14.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01502/0.1814, allocations: 3.974 MB / 347.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.1815, allocations: 12.03 kB / 347.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.1849, allocations: 0.4986 MB / 347.6 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.1951, allocations: 2.311 MB / 349.9 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004585/0.1956, allocations: 271 kB / 350.2 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/0.197, allocations: 351.9 kB / 350.5 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.2167, allocations: 4.966 MB / 355.5 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/0.2169, allocations: 11.94 kB / 355.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008228/0.2177, allocations: 144 kB / 355.6 MB, free: 1.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004294/0.2182, allocations: 187 kB / 355.8 MB, free: 1.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01823/0.2364, allocations: 4.287 MB / 360.1 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3372/0.5737, allocations: 14.95 MB / 375.1 MB, free: 53.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008322/0.5821, allocations: 4.191 MB / 379.2 MB, free: 51.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000475/0.5826, allocations: 132.2 kB / 379.4 MB, free: 51.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.5827, allocations: 65.61 kB / 379.4 MB, free: 51.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 5.411e-06/0.5827, allocations: 0 / 379.4 MB, free: 51.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.03292/0.6156, allocations: 10.32 MB / 389.8 MB, free: 47.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.6157, allocations: 84.42 kB / 389.8 MB, free: 47.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004655/0.6204, allocations: 2.441 MB / 392.3 MB, free: 46.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004318/0.6208, allocations: 61.14 kB / 392.3 MB, free: 46.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.622, allocations: 1.617 MB / 394 MB, free: 45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008339/0.6229, allocations: 0.7369 MB / 394.7 MB, free: 44.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.6231, allocations: 46.53 kB / 394.7 MB, free: 44.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6233, allocations: 398.2 kB / 395.1 MB, free: 43.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003098/0.6264, allocations: 1.322 MB / 396.5 MB, free: 43.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003386/0.6298, allocations: 1.79 MB / 398.2 MB, free: 42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/0.6335, allocations: 1.573 MB / 399.8 MB, free: 41.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.6335, allocations: 3.562 kB / 399.8 MB, free: 41.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01018/0.6437, allocations: 4.106 MB / 403.9 MB, free: 37.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.6438, allocations: 12 kB / 403.9 MB, free: 37.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.6438, allocations: 12 kB / 403.9 MB, free: 37.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004765/0.6486, allocations: 0.8822 MB / 404.8 MB, free: 36.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005005/0.6536, allocations: 0.5266 MB / 405.4 MB, free: 36.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/0.6671, allocations: 8.934 MB / 414.3 MB, free: 26.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003115/0.6703, allocations: 123.9 kB / 414.4 MB, free: 26.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/0.6706, allocations: 88 kB / 414.5 MB, free: 26.7 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002804/0.6734, allocations: 1.213 MB / 415.7 MB, free: 25.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008188/0.6742, allocations: 276.7 kB / 416 MB, free: 25.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009152/0.6834, allocations: 3.762 MB / 419.7 MB, free: 21.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-05/0.6835, allocations: 11.97 kB / 419.8 MB, free: 21.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.6835, allocations: 0 / 419.8 MB, free: 21.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/0.6856, allocations: 0.646 MB / 420.4 MB, free: 20.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007678/0.6864, allocations: 47.98 kB / 420.4 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/0.6889, allocations: 139.8 kB / 420.6 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005821/0.6895, allocations: 181.7 kB / 420.8 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01315/0.7026, allocations: 4.012 MB / 424.8 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01113/0.7138, allocations: 5.12 MB / 429.9 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003266/0.7171, allocations: 1.483 MB / 431.4 MB, free: 9.758 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003417/0.7206, allocations: 1.676 MB / 433.1 MB, free: 8.07 MB / 314.7 MB Notification: Performance of Backend: time 9.62e-07/0.7206, allocations: 4 kB / 433.1 MB, free: 8.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007614/0.7283, allocations: 2.834 MB / 435.9 MB, free: 5.16 MB / 314.7 MB Notification: Performance of SimCode: time 0.01993/0.7482, allocations: 9.177 MB / 445.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of Templates: time 0.128/0.8763, allocations: 44.9 MB / 490 MB, free: 15.04 MB / 378.7 MB