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.791/1.791, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005323/0.0005324, allocations: 16 kB / 233.9 MB, free: 2.375 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09166/0.09222, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.5663, allocations: 102.2 MB / 374.8 MB, free: 3.562 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.5667, allocations: 93.81 kB / 374.9 MB, free: 3.512 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.678/1.245, allocations: 94.12 MB / 469 MB, free: 72.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.245, allocations: 4 kB / 469 MB, free: 72.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004181/1.245, allocations: 100.3 kB / 469.1 MB, free: 72.75 MB / 346.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.01523/1.26, allocations: 3.942 MB / 473.1 MB, free: 71.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.261, allocations: 10.72 kB / 473.1 MB, free: 71.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/1.264, allocations: 0.5016 MB / 473.6 MB, free: 70.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008938/1.273, allocations: 2.517 MB / 476.1 MB, free: 70.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003671/1.273, allocations: 265.3 kB / 476.4 MB, free: 70.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/1.275, allocations: 353 kB / 476.7 MB, free: 70.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/1.289, allocations: 4.916 MB / 481.6 MB, free: 68.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/1.29, allocations: 11.78 kB / 481.6 MB, free: 68.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006756/1.29, allocations: 152.4 kB / 481.8 MB, free: 68.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002268/1.291, allocations: 177.8 kB / 482 MB, free: 68.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01322/1.304, allocations: 4.037 MB / 486 MB, free: 66.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03971/1.344, allocations: 14.89 MB / 0.4891 GB, free: 58.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007109/1.351, allocations: 4.213 MB / 0.4933 GB, free: 54.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005881/1.351, allocations: 148.7 kB / 0.4934 GB, free: 54.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/1.352, allocations: 60.5 kB / 0.4935 GB, free: 54.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 5.13e-06/1.352, allocations: 0 / 0.4935 GB, free: 54.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.03381/1.385, allocations: 10.17 MB / 0.5034 GB, free: 44.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/1.385, allocations: 81.34 kB / 0.5035 GB, free: 44.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005498/1.391, allocations: 2.451 MB / 0.5059 GB, free: 41.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005624/1.392, allocations: 65.7 kB / 0.5059 GB, free: 41.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001352/1.393, allocations: 1.588 MB / 0.5075 GB, free: 40.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/1.394, allocations: 0.7349 MB / 0.5082 GB, free: 39.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/1.394, allocations: 44 kB / 0.5082 GB, free: 39.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/1.395, allocations: 398.5 kB / 0.5086 GB, free: 39.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003396/1.398, allocations: 1.312 MB / 0.5099 GB, free: 37.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004039/1.402, allocations: 1.733 MB / 0.5116 GB, free: 35.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/1.406, allocations: 1.552 MB / 0.5131 GB, free: 34.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/1.406, allocations: 4 kB / 0.5131 GB, free: 34.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01192/1.418, allocations: 4.056 MB / 0.5171 GB, free: 30.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/1.418, allocations: 12.58 kB / 0.5171 GB, free: 30.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/1.418, allocations: 12 kB / 0.5171 GB, free: 30.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/1.422, allocations: 0.77 MB / 0.5178 GB, free: 29.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/1.426, allocations: 0.5227 MB / 0.5184 GB, free: 28.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/1.44, allocations: 8.939 MB / 0.5271 GB, free: 19.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/1.444, allocations: 123.9 kB / 0.5272 GB, free: 19.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006662/1.445, allocations: 87.98 kB / 0.5273 GB, free: 19.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (248): * Single equations (assignments): 243 * 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 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003598/1.448, allocations: 1.212 MB / 0.5285 GB, free: 18.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009593/1.449, allocations: 272.7 kB / 0.5287 GB, free: 17.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.46, allocations: 3.777 MB / 0.5324 GB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/1.46, allocations: 24 kB / 0.5324 GB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/1.461, allocations: 4 kB / 0.5324 GB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.729e-05/1.461, allocations: 15.95 kB / 0.5325 GB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02382/1.484, allocations: 8.053 MB / 0.5403 GB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.484, allocations: 4 kB / 0.5403 GB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003358/1.488, allocations: 395.4 kB / 0.5407 GB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003894/1.492, allocations: 0.8121 MB / 0.5415 GB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005481/1.492, allocations: 63.92 kB / 0.5416 GB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/1.511, allocations: 10.48 MB / 0.5518 GB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.511, allocations: 3.938 kB / 0.5518 GB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/1.529, allocations: 5.624 MB / 0.5573 GB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002939/1.532, allocations: 0.646 MB / 0.5579 GB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.533, allocations: 55.94 kB / 0.558 GB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00321/1.537, allocations: 127.9 kB / 0.5581 GB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009446/1.538, allocations: 173.7 kB / 0.5583 GB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003181/1.538, allocations: 63.98 kB / 0.5583 GB, free: 2.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005297/1.543, allocations: 1.688 MB / 0.56 GB, free: 1.184 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.142e-06/1.543, allocations: 192 / 0.56 GB, free: 1.184 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005187/1.549, allocations: 0.8359 MB / 0.5608 GB, free: 356 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * 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 simulation (178): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/1.55, allocations: 373.6 kB / 0.5611 GB, free: 8 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.3025/1.852, allocations: 3.926 MB / 0.565 GB, free: 81.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/1.852, allocations: 0 / 0.565 GB, free: 81.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01155/1.864, allocations: 2.522 MB / 0.5674 GB, free: 80.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00961/1.874, allocations: 0.7393 MB / 0.5682 GB, free: 80.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02926/1.903, allocations: 9.085 MB / 0.577 GB, free: 77.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005227/1.908, allocations: 2.838 MB / 0.5798 GB, free: 76.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004505/1.913, allocations: 0.6822 MB / 0.5805 GB, free: 76.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/1.914, allocations: 169.7 kB / 0.5806 GB, free: 76.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/1.914, allocations: 0 / 0.5806 GB, free: 76.21 MB / 362.7 MB Notification: Performance of Templates: time 0.1411/2.056, allocations: 45.95 MB / 0.6255 GB, free: 63.93 MB / 362.7 MB