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.Transformers.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.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aimc.i_0_s|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.Transformers.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004743, allocations: 11.98 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0946/0.09511, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.434/0.5292, allocations: 102.3 MB / 374.9 MB, free: 3.426 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004545/0.5297, allocations: 93.7 kB / 375 MB, free: 3.375 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6496/1.179, allocations: 94.27 MB / 469.3 MB, free: 72.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.795e-06/1.179, allocations: 0 / 469.3 MB, free: 72.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004119/1.18, allocations: 102.1 kB / 469.4 MB, free: 72.91 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.01503/1.195, allocations: 3.933 MB / 473.3 MB, free: 71.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.195, allocations: 17.94 kB / 473.3 MB, free: 71.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003093/1.198, allocations: 0.5036 MB / 473.8 MB, free: 71.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008308/1.206, allocations: 2.517 MB / 476.3 MB, free: 70.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000337/1.207, allocations: 264.1 kB / 476.6 MB, free: 70.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/1.208, allocations: 356 kB / 476.9 MB, free: 70.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01627/1.225, allocations: 4.913 MB / 481.9 MB, free: 68.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/1.225, allocations: 15.11 kB / 481.9 MB, free: 68.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001145/1.226, allocations: 149.2 kB / 482 MB, free: 68.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002282/1.226, allocations: 168.8 kB / 482.2 MB, free: 68.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01309/1.239, allocations: 4.042 MB / 486.2 MB, free: 66.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04051/1.28, allocations: 14.9 MB / 0.4894 GB, free: 58.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007042/1.287, allocations: 4.213 MB / 0.4935 GB, free: 54.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005995/1.288, allocations: 143.8 kB / 0.4936 GB, free: 54.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/1.288, allocations: 56.56 kB / 0.4937 GB, free: 54.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 5.149e-06/1.288, allocations: 4 kB / 0.4937 GB, free: 54.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.03436/1.322, allocations: 10.18 MB / 0.5036 GB, free: 44.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/1.322, allocations: 77.41 kB / 0.5037 GB, free: 44.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005349/1.328, allocations: 2.451 MB / 0.5061 GB, free: 41.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005415/1.328, allocations: 61.7 kB / 0.5062 GB, free: 41.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001279/1.33, allocations: 1.592 MB / 0.5077 GB, free: 40 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009699/1.331, allocations: 0.739 MB / 0.5084 GB, free: 39.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/1.331, allocations: 44 kB / 0.5085 GB, free: 39.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/1.331, allocations: 398.5 kB / 0.5089 GB, free: 38.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/1.334, allocations: 1.308 MB / 0.5101 GB, free: 37.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004109/1.339, allocations: 1.733 MB / 0.5118 GB, free: 35.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/1.343, allocations: 1.552 MB / 0.5133 GB, free: 34.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/1.343, allocations: 4 kB / 0.5133 GB, free: 34.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01197/1.355, allocations: 4.06 MB / 0.5173 GB, free: 29.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.283e-05/1.355, allocations: 16.58 kB / 0.5173 GB, free: 29.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/1.355, allocations: 12 kB / 0.5173 GB, free: 29.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/1.358, allocations: 0.7583 MB / 0.5181 GB, free: 29.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/1.363, allocations: 0.5266 MB / 0.5186 GB, free: 28.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/1.377, allocations: 8.938 MB / 0.5273 GB, free: 19.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/1.38, allocations: 123.8 kB / 0.5274 GB, free: 19.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006031/1.381, allocations: 80 kB / 0.5275 GB, free: 19.12 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.003721/1.385, allocations: 1.212 MB / 0.5287 GB, free: 17.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009984/1.386, allocations: 272.7 kB / 0.529 GB, free: 17.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.397, allocations: 3.785 MB / 0.5327 GB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/1.397, allocations: 20 kB / 0.5327 GB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/1.397, allocations: 8 kB / 0.5327 GB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-05/1.397, allocations: 15.61 kB / 0.5327 GB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02168/1.419, allocations: 8.057 MB / 0.5406 GB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.419, allocations: 0 / 0.5406 GB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003184/1.422, allocations: 399.7 kB / 0.5409 GB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003556/1.426, allocations: 0.8082 MB / 0.5417 GB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000433/1.426, allocations: 63.92 kB / 0.5418 GB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/1.444, allocations: 10.47 MB / 0.552 GB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.444, allocations: 7.938 kB / 0.552 GB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/1.46, allocations: 5.616 MB / 0.5575 GB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002564/1.462, allocations: 0.646 MB / 0.5581 GB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000747/1.463, allocations: 56.12 kB / 0.5582 GB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002457/1.466, allocations: 127.9 kB / 0.5583 GB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006438/1.466, allocations: 185.7 kB / 0.5585 GB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002373/1.467, allocations: 63.98 kB / 0.5586 GB, free: 2.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004193/1.471, allocations: 1.692 MB / 0.5602 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-07/1.471, allocations: 0 / 0.5602 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004255/1.475, allocations: 0.832 MB / 0.561 GB, free: 60 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.2846/1.76, allocations: 377.7 kB / 0.5614 GB, free: 80.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01176/1.772, allocations: 3.934 MB / 0.5652 GB, free: 79.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.772, allocations: 1.719 kB / 0.5652 GB, free: 79.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007442/1.779, allocations: 2.52 MB / 0.5677 GB, free: 79.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006436/1.786, allocations: 0.7378 MB / 0.5684 GB, free: 79.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0236/1.809, allocations: 9.077 MB / 0.5773 GB, free: 75.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005187/1.814, allocations: 2.84 MB / 0.58 GB, free: 75.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004123/1.819, allocations: 0.6802 MB / 0.5807 GB, free: 74.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/1.82, allocations: 170.5 kB / 0.5809 GB, free: 74.99 MB / 362.7 MB Notification: Performance of SimCode: time 1.743e-06/1.82, allocations: 4 kB / 0.5809 GB, free: 74.98 MB / 362.7 MB Notification: Performance of Templates: time 0.1577/1.978, allocations: 45.94 MB / 0.6257 GB, free: 62.55 MB / 362.7 MB