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.Transformers.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.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 2.118/2.118, allocations: 194.8 MB / 211.7 MB, free: 2.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003607, allocations: 11.94 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.09301, allocations: 44.5 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4515/0.5446, allocations: 107.5 MB / 416.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.5449, allocations: 92.48 kB / 416.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4045/0.9494, allocations: 93.86 MB / 0.4985 GB, free: 9.312 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.9495, allocations: 0 / 0.4985 GB, free: 9.312 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004886/0.95, allocations: 91.88 kB / 0.4986 GB, free: 9.223 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.02103/0.971, allocations: 3.959 MB / 0.5025 GB, free: 5.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.371e-05/0.9711, allocations: 8.031 kB / 0.5025 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004888/0.976, allocations: 0.4986 MB / 0.503 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/0.9906, allocations: 2.568 MB / 0.5055 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006401/0.9913, allocations: 267 kB / 0.5057 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002276/0.9936, allocations: 351.9 kB / 0.5061 GB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02579/1.019, allocations: 4.937 MB / 0.5109 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002544/1.02, allocations: 11.86 kB / 0.5109 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001833/1.022, allocations: 152 kB / 0.511 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004303/1.022, allocations: 179 kB / 0.5112 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0209/1.043, allocations: 4.064 MB / 0.5152 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3487/1.392, allocations: 14.94 MB / 0.5298 GB, free: 69.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007259/1.399, allocations: 4.227 MB / 0.5339 GB, free: 67.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/1.4, allocations: 146 kB / 0.534 GB, free: 67.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/1.4, allocations: 57.12 kB / 0.5341 GB, free: 67.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 5.47e-06/1.4, allocations: 0 / 0.5341 GB, free: 67.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.0347/1.435, allocations: 10.18 MB / 0.544 GB, free: 66.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/1.435, allocations: 83.09 kB / 0.5441 GB, free: 66.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005591/1.44, allocations: 2.464 MB / 0.5465 GB, free: 65.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005537/1.441, allocations: 67.05 kB / 0.5466 GB, free: 65.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/1.442, allocations: 1.603 MB / 0.5481 GB, free: 65.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/1.444, allocations: 0.7368 MB / 0.5489 GB, free: 64.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/1.444, allocations: 47.28 kB / 0.5489 GB, free: 64.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/1.444, allocations: 396.4 kB / 0.5493 GB, free: 64.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003216/1.447, allocations: 1.31 MB / 0.5506 GB, free: 64.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003497/1.451, allocations: 1.731 MB / 0.5523 GB, free: 64.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/1.455, allocations: 1.556 MB / 0.5538 GB, free: 64.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/1.455, allocations: 3.656 kB / 0.5538 GB, free: 64.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01149/1.466, allocations: 4.057 MB / 0.5577 GB, free: 63.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/1.466, allocations: 10.66 kB / 0.5578 GB, free: 63.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/1.466, allocations: 11.38 kB / 0.5578 GB, free: 63.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003077/1.469, allocations: 0.7582 MB / 0.5585 GB, free: 63.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/1.474, allocations: 0.5218 MB / 0.559 GB, free: 63.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/1.488, allocations: 8.941 MB / 0.5677 GB, free: 59.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/1.491, allocations: 120.5 kB / 0.5679 GB, free: 59.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005989/1.492, allocations: 88.88 kB / 0.5679 GB, free: 59.92 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.003462/1.496, allocations: 1.216 MB / 0.5691 GB, free: 59.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/1.497, allocations: 283.8 kB / 0.5694 GB, free: 59.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/1.507, allocations: 3.775 MB / 0.5731 GB, free: 59.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.507, allocations: 19.44 kB / 0.5731 GB, free: 59.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/1.507, allocations: 6.375 kB / 0.5731 GB, free: 59.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.412e-05/1.507, allocations: 19.03 kB / 0.5731 GB, free: 59.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02297/1.53, allocations: 8.084 MB / 0.581 GB, free: 56.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/1.53, allocations: 0 / 0.581 GB, free: 56.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/1.533, allocations: 396.6 kB / 0.5814 GB, free: 56.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003706/1.537, allocations: 0.807 MB / 0.5822 GB, free: 56.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005217/1.538, allocations: 54.92 kB / 0.5822 GB, free: 56.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01557/1.553, allocations: 10.48 MB / 0.5925 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.553, allocations: 3.562 kB / 0.5925 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/1.568, allocations: 5.616 MB / 0.598 GB, free: 46.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002623/1.57, allocations: 0.6467 MB / 0.5986 GB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/1.571, allocations: 54.44 kB / 0.5987 GB, free: 46.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003218/1.575, allocations: 134.5 kB / 0.5988 GB, free: 46.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008282/1.576, allocations: 186.7 kB / 0.599 GB, free: 46.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/1.576, allocations: 61.97 kB / 0.599 GB, free: 46.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00411/1.58, allocations: 1.704 MB / 0.6007 GB, free: 45.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.58, allocations: 0 / 0.6007 GB, free: 45.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004653/1.585, allocations: 0.8348 MB / 0.6015 GB, free: 45.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.001103/1.586, allocations: 379.4 kB / 0.6019 GB, free: 45.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009683/1.595, allocations: 3.931 MB / 0.6057 GB, free: 43.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.596, allocations: 0 / 0.6057 GB, free: 43.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006394/1.602, allocations: 2.519 MB / 0.6082 GB, free: 42.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006013/1.608, allocations: 0.737 MB / 0.6089 GB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/1.629, allocations: 9.125 MB / 0.6178 GB, free: 37.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004572/1.633, allocations: 2.842 MB / 0.6206 GB, free: 36.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005053/1.638, allocations: 0.6867 MB / 0.6212 GB, free: 36.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/1.64, allocations: 173.6 kB / 0.6214 GB, free: 36.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/1.64, allocations: 0 / 0.6214 GB, free: 36.21 MB / 410.7 MB Notification: Performance of Templates: time 0.1368/1.777, allocations: 46.31 MB / 0.6666 GB, free: 4.773 MB / 410.7 MB