Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.719/1.719, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08065/0.08102, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01809/0.09915, allocations: 10.5 MB / 283.1 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.1108, allocations: 4.109 MB / 287.3 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.1129, allocations: 63.62 kB / 287.3 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003452/0.1164, allocations: 0.8008 MB / 288.1 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004631/0.1211, allocations: 0.9931 MB / 289.1 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.1229, allocations: 319.6 kB / 289.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006854/0.1298, allocations: 2.99 MB / 292.4 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005148/0.135, allocations: 2.519 MB / 294.9 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00323/0.1382, allocations: 1.452 MB / 296.4 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004255/0.1425, allocations: 1.798 MB / 298.2 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.1437, allocations: 244 kB / 298.4 MB, free: 1.633 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.1456, allocations: 311.9 kB / 298.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001952/0.1476, allocations: 1.075 MB / 299.8 MB, free: 256 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2355/0.3831, allocations: 0.841 MB / 300.6 MB, free: 13.21 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009035/0.3922, allocations: 5.929 MB / 306.6 MB, free: 12.46 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3923, allocations: 0 / 306.6 MB, free: 12.46 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3923, allocations: 0 / 306.6 MB, free: 12.46 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000288/0.3926, allocations: 0 / 306.6 MB, free: 12.46 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: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.01423/0.4068, allocations: 3.961 MB / 310.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4069, allocations: 11.84 kB / 310.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.41, allocations: 499.8 kB / 311 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007421/0.4175, allocations: 2.289 MB / 313.3 MB, free: 9.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003742/0.4179, allocations: 265.7 kB / 313.6 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001593/0.4195, allocations: 353.9 kB / 313.9 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.436, allocations: 4.952 MB / 318.9 MB, free: 7.918 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/0.4362, allocations: 2.656 kB / 318.9 MB, free: 7.918 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/0.4374, allocations: 147.7 kB / 319 MB, free: 7.918 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002524/0.4376, allocations: 178.4 kB / 319.2 MB, free: 7.895 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.4509, allocations: 4.263 MB / 323.5 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04085/0.4918, allocations: 14.89 MB / 338.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008198/0.5, allocations: 4.19 MB / 342.5 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005637/0.5007, allocations: 137.2 kB / 342.7 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.295e-05/0.5007, allocations: 56.56 kB / 342.7 MB, free: 5.969 MB / 266.7 MB Notification: Performance of pre-optimization done (n=198): time 5.01e-06/0.5008, allocations: 0 / 342.7 MB, free: 5.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=218): time 0.03649/0.5373, allocations: 10.31 MB / 353 MB, free: 11.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.5374, allocations: 73.41 kB / 353.1 MB, free: 11.47 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005661/0.543, allocations: 2.42 MB / 355.5 MB, free: 9.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005706/0.5437, allocations: 65.7 kB / 355.6 MB, free: 8.961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.5454, allocations: 1.607 MB / 357.2 MB, free: 7.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001236/0.5467, allocations: 0.7307 MB / 357.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.5469, allocations: 47.94 kB / 358 MB, free: 6.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.5472, allocations: 402.5 kB / 358.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003794/0.551, allocations: 1.324 MB / 359.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004265/0.5553, allocations: 1.782 MB / 361.5 MB, free: 2.871 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004313/0.5597, allocations: 1.577 MB / 363.1 MB, free: 1.312 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.5597, allocations: 4 kB / 363.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.0121/0.5718, allocations: 4.112 MB / 367.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.5719, allocations: 8 kB / 367.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/0.5719, allocations: 16 kB / 367.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005098/0.5771, allocations: 0.8829 MB / 368.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/0.5814, allocations: 0.5251 MB / 368.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02351/0.6049, allocations: 8.942 MB / 377.5 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005038/0.61, allocations: 131.8 kB / 377.7 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007728/0.6108, allocations: 84 kB / 377.8 MB, free: 2.336 MB / 298.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 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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.005599/0.6164, allocations: 1.207 MB / 379 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/0.6179, allocations: 280.7 kB / 379.2 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.6314, allocations: 3.762 MB / 383 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.103e-05/0.6315, allocations: 11.97 kB / 383 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.6315, allocations: 0 / 383 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002953/0.6345, allocations: 0.6421 MB / 383.6 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001306/0.6358, allocations: 50.61 kB / 383.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003306/0.6392, allocations: 131.9 kB / 383.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008276/0.64, allocations: 181.7 kB / 384 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02279/0.6628, allocations: 4.014 MB / 388 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02191/0.6848, allocations: 5.127 MB / 393.1 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006108/0.691, allocations: 1.479 MB / 394.6 MB, free: 1.441 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.006612/0.6977, allocations: 1.671 MB / 396.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of Backend: time 1.363e-06/0.6977, allocations: 0 / 396.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0137/0.7114, allocations: 2.831 MB / 399.1 MB, free: 12.9 MB / 330.7 MB Notification: Performance of SimCode: time 0.02489/0.7364, allocations: 9.173 MB / 408.3 MB, free: 3.691 MB / 330.7 MB Notification: Performance of Templates: time 0.3415/1.078, allocations: 44.52 MB / 452.8 MB, free: 126.7 MB / 362.7 MB