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 2.34/2.34, allocations: 194.9 MB / 211.7 MB, free: 2.867 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003836, allocations: 15.94 kB / 264.6 MB, free: 12.89 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 44.51 MB / 309.1 MB, free: 324 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4882/0.5937, allocations: 107.4 MB / 416.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/0.5941, allocations: 101.2 kB / 416.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4613/1.055, allocations: 93.69 MB / 0.4983 GB, free: 9.527 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.055, allocations: 0 / 0.4983 GB, free: 9.527 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005464/1.056, allocations: 99.86 kB / 0.4984 GB, free: 9.43 MB / 394.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.01835/1.074, allocations: 3.963 MB / 0.5022 GB, free: 5.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.074, allocations: 8.031 kB / 0.5022 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/1.078, allocations: 0.4986 MB / 0.5027 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/1.088, allocations: 2.556 MB / 0.5052 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005014/1.089, allocations: 267 kB / 0.5055 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001889/1.091, allocations: 359.9 kB / 0.5058 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01959/1.111, allocations: 4.929 MB / 0.5106 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002496/1.111, allocations: 19.8 kB / 0.5107 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001509/1.112, allocations: 152 kB / 0.5108 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003126/1.113, allocations: 175.1 kB / 0.511 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01537/1.128, allocations: 4.057 MB / 0.5149 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3824/1.511, allocations: 14.96 MB / 0.5295 GB, free: 70.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008139/1.519, allocations: 4.212 MB / 0.5337 GB, free: 68.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006556/1.52, allocations: 150.8 kB / 0.5338 GB, free: 68.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.79e-05/1.52, allocations: 59.41 kB / 0.5339 GB, free: 68.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 5.32e-06/1.52, allocations: 0 / 0.5339 GB, free: 68.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.03823/1.558, allocations: 10.18 MB / 0.5438 GB, free: 67.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/1.558, allocations: 74.56 kB / 0.5439 GB, free: 67.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006436/1.564, allocations: 2.472 MB / 0.5463 GB, free: 66.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005671/1.565, allocations: 68.2 kB / 0.5463 GB, free: 66.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001772/1.567, allocations: 1.601 MB / 0.5479 GB, free: 66.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001198/1.568, allocations: 0.7391 MB / 0.5486 GB, free: 65.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/1.568, allocations: 45.41 kB / 0.5487 GB, free: 65.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002048/1.569, allocations: 398.4 kB / 0.5491 GB, free: 65.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003425/1.572, allocations: 1.312 MB / 0.5503 GB, free: 65.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/1.576, allocations: 1.733 MB / 0.552 GB, free: 65.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004007/1.58, allocations: 1.553 MB / 0.5535 GB, free: 65.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.066e-05/1.58, allocations: 3.969 kB / 0.5535 GB, free: 65.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01147/1.591, allocations: 4.051 MB / 0.5575 GB, free: 64.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/1.591, allocations: 14.34 kB / 0.5575 GB, free: 64.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/1.592, allocations: 10.22 kB / 0.5575 GB, free: 64.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003054/1.595, allocations: 0.7572 MB / 0.5583 GB, free: 64.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004199/1.599, allocations: 0.5244 MB / 0.5588 GB, free: 64.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/1.613, allocations: 8.943 MB / 0.5675 GB, free: 60.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003459/1.617, allocations: 125.6 kB / 0.5676 GB, free: 60.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005819/1.617, allocations: 87.44 kB / 0.5677 GB, free: 60.91 MB / 410.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.003763/1.621, allocations: 1.21 MB / 0.5689 GB, free: 60.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/1.622, allocations: 276.4 kB / 0.5692 GB, free: 60.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.633, allocations: 3.78 MB / 0.5729 GB, free: 60.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/1.633, allocations: 22.25 kB / 0.5729 GB, free: 60.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/1.633, allocations: 7.406 kB / 0.5729 GB, free: 60.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.546e-05/1.633, allocations: 9.891 kB / 0.5729 GB, free: 60.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02518/1.658, allocations: 8.089 MB / 0.5808 GB, free: 57.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/1.658, allocations: 3.938 kB / 0.5808 GB, free: 57.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003398/1.662, allocations: 391 kB / 0.5812 GB, free: 57.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003987/1.666, allocations: 0.8216 MB / 0.582 GB, free: 57.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008018/1.667, allocations: 55 kB / 0.582 GB, free: 57.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02586/1.693, allocations: 10.47 MB / 0.5922 GB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/1.693, allocations: 6.594 kB / 0.5922 GB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0228/1.716, allocations: 5.624 MB / 0.5977 GB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003808/1.719, allocations: 0.6431 MB / 0.5984 GB, free: 47.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001722/1.721, allocations: 53.78 kB / 0.5984 GB, free: 47.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004963/1.726, allocations: 125.8 kB / 0.5985 GB, free: 47.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001293/1.728, allocations: 191.9 kB / 0.5987 GB, free: 47.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003995/1.728, allocations: 62.34 kB / 0.5988 GB, free: 47.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006668/1.735, allocations: 1.704 MB / 0.6004 GB, free: 46.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.517e-06/1.735, allocations: 0 / 0.6004 GB, free: 46.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006801/1.742, allocations: 0.8427 MB / 0.6013 GB, free: 46.34 MB / 410.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.00158/1.743, allocations: 382.5 kB / 0.6016 GB, free: 46.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01496/1.758, allocations: 3.921 MB / 0.6055 GB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/1.758, allocations: 3.344 kB / 0.6055 GB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009648/1.768, allocations: 2.517 MB / 0.6079 GB, free: 43.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009457/1.778, allocations: 0.7403 MB / 0.6086 GB, free: 43.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02976/1.807, allocations: 9.114 MB / 0.6175 GB, free: 38.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01497/1.822, allocations: 2.845 MB / 0.6203 GB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01005/1.833, allocations: 0.6799 MB / 0.621 GB, free: 37.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/1.834, allocations: 176 kB / 0.6212 GB, free: 37.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.482e-06/1.834, allocations: 0 / 0.6212 GB, free: 37.21 MB / 410.7 MB Notification: Performance of Templates: time 0.132/1.967, allocations: 46.32 MB / 0.6664 GB, free: 5.887 MB / 410.7 MB