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_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 2.188/2.188, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005249, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1321, allocations: 44.5 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5352/0.6674, allocations: 99.42 MB / 408.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/0.6678, allocations: 92.14 kB / 408.6 MB, free: 13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.186/0.8538, allocations: 44.47 MB / 453 MB, free: 1.777 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.8538, allocations: 0 / 453 MB, free: 1.777 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002876/0.8541, allocations: 55.94 kB / 453.1 MB, free: 1.723 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009892/0.864, allocations: 2.435 MB / 455.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.8641, allocations: 8.031 kB / 455.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.8661, allocations: 296.8 kB / 455.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005723/0.8718, allocations: 1.55 MB / 457.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.8721, allocations: 153.3 kB / 457.5 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008352/0.873, allocations: 196.2 kB / 457.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.8851, allocations: 2.713 MB / 460.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002042/0.8854, allocations: 7.844 kB / 460.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008462/0.8863, allocations: 84 kB / 460.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002825/0.8866, allocations: 95.92 kB / 460.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.899, allocations: 2.229 MB / 462.8 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03948/0.9385, allocations: 8.45 MB / 471.3 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004466/0.9431, allocations: 1.817 MB / 473.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005146/0.9436, allocations: 130.1 kB / 473.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/0.9437, allocations: 43.56 kB / 473.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=107): time 4.458e-06/0.9437, allocations: 0 / 473.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.02578/0.9695, allocations: 6.444 MB / 479.7 MB, free: 7.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.9696, allocations: 64.41 kB / 479.8 MB, free: 7.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004138/0.9738, allocations: 1.481 MB / 481.3 MB, free: 6.125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003998/0.9743, allocations: 45.7 kB / 481.3 MB, free: 6.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.9755, allocations: 0.9797 MB / 482.3 MB, free: 5.082 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008026/0.9763, allocations: 421.9 kB / 482.7 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.9765, allocations: 36 kB / 482.7 MB, free: 4.629 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.9767, allocations: 357.9 kB / 483.1 MB, free: 4.273 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/0.9791, allocations: 0.7456 MB / 483.8 MB, free: 3.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/0.9818, allocations: 1.05 MB / 484.9 MB, free: 2.355 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00272/0.9845, allocations: 0.8848 MB / 485.8 MB, free: 1.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.9846, allocations: 3.938 kB / 485.8 MB, free: 1.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007755/0.9924, allocations: 2.368 MB / 488.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.9925, allocations: 8 kB / 488.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/0.9925, allocations: 8 kB / 488.2 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.9943, allocations: 415.4 kB / 488.6 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/0.9971, allocations: 339.5 kB / 488.9 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008745/1.006, allocations: 4.747 MB / 493.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/1.008, allocations: 91.86 kB / 493.7 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/1.009, allocations: 56 kB / 493.8 MB, free: 9.152 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002385/1.011, allocations: 0.712 MB / 494.5 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000678/1.012, allocations: 162 kB / 494.7 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007121/1.019, allocations: 2.192 MB / 496.8 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/1.019, allocations: 12 kB / 496.9 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/1.019, allocations: 4 kB / 496.9 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-05/1.019, allocations: 7.969 kB / 496.9 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/1.034, allocations: 4.591 MB / 0.4897 GB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.034, allocations: 7.938 kB / 0.4897 GB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/1.037, allocations: 239.9 kB / 0.4899 GB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/1.039, allocations: 475.5 kB / 0.4904 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000306/1.039, allocations: 31.98 kB / 0.4904 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/1.05, allocations: 6.293 MB / 0.4966 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.05, allocations: 4.062 kB / 0.4966 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009498/1.06, allocations: 3.268 MB / 0.4998 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/1.062, allocations: 407 kB / 0.5002 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006093/1.062, allocations: 28 kB / 0.5002 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/1.064, allocations: 87.91 kB / 0.5003 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004507/1.064, allocations: 100.8 kB / 0.5004 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.065, allocations: 39.94 kB / 0.5004 GB, free: 5.891 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00271/1.067, allocations: 1.02 MB / 0.5014 GB, free: 4.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.603e-06/1.067, allocations: 0 / 0.5014 GB, free: 4.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003041/1.07, allocations: 488 kB / 0.5019 GB, free: 4.395 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009019/1.071, allocations: 316 kB / 0.5022 GB, free: 4.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006929/1.078, allocations: 2.298 MB / 0.5044 GB, free: 1.711 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.078, allocations: 0 / 0.5044 GB, free: 1.711 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004532/1.083, allocations: 1.527 MB / 0.5059 GB, free: 124 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/1.087, allocations: 417.6 kB / 0.5063 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.101, allocations: 5.322 MB / 0.5115 GB, free: 10.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003216/1.105, allocations: 1.861 MB / 0.5133 GB, free: 8.434 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002491/1.107, allocations: 401.5 kB / 0.5137 GB, free: 8.035 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.108, allocations: 111.4 kB / 0.5138 GB, free: 7.926 MB / 410.7 MB Notification: Performance of SimCode: time 2.064e-06/1.108, allocations: 0 / 0.5138 GB, free: 7.926 MB / 410.7 MB Notification: Performance of Templates: time 0.3897/1.498, allocations: 25.81 MB / 0.539 GB, free: 111 MB / 410.7 MB