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_YD.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_YD,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",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 2.499/2.499, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 16 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1034, allocations: 44.5 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5191/0.6226, allocations: 100.5 MB / 409.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.623, allocations: 88.89 kB / 409.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2381/0.8611, allocations: 49.04 MB / 458.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.8612, allocations: 0 / 458.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002869/0.8615, allocations: 61.44 kB / 458.7 MB, free: 12.89 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.01134/0.8729, allocations: 2.75 MB / 461.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.8729, allocations: 8.031 kB / 461.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.8749, allocations: 331.1 kB / 461.8 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006307/0.8813, allocations: 1.738 MB / 463.5 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/0.8816, allocations: 176.5 kB / 463.7 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007864/0.8824, allocations: 231.9 kB / 463.9 MB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.8929, allocations: 3.165 MB / 467.1 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.8931, allocations: 7.906 kB / 467.1 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004078/0.8935, allocations: 96 kB / 467.2 MB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.8937, allocations: 100.4 kB / 467.3 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009534/0.9032, allocations: 2.633 MB / 469.9 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/0.9326, allocations: 9.938 MB / 479.8 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005174/0.9378, allocations: 2.142 MB / 482 MB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005558/0.9384, allocations: 138.4 kB / 482.1 MB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.914e-05/0.9385, allocations: 43.88 kB / 482.2 MB, free: 5.285 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 4.919e-06/0.9385, allocations: 0 / 482.2 MB, free: 5.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.03516/0.9737, allocations: 8.075 MB / 490.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.9738, allocations: 64.72 kB / 490.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007048/0.9809, allocations: 1.641 MB / 491.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005889/0.9815, allocations: 49.7 kB / 492 MB, free: 11.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002359/0.9839, allocations: 1.074 MB / 493.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001346/0.9853, allocations: 496.8 kB / 493.6 MB, free: 9.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.9856, allocations: 31.94 kB / 493.6 MB, free: 9.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003874/0.986, allocations: 377.9 kB / 494 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004426/0.9905, allocations: 0.9057 MB / 494.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00509/0.9956, allocations: 1.238 MB / 496.1 MB, free: 7.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/1.001, allocations: 1.06 MB / 497.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.593e-05/1.001, allocations: 4 kB / 497.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.03138/1.032, allocations: 3.037 MB / 0.4885 GB, free: 2.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.824e-05/1.032, allocations: 8.625 kB / 0.4885 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/1.032, allocations: 11.94 kB / 0.4885 GB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007158/1.04, allocations: 0.8417 MB / 0.4893 GB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003362/1.043, allocations: 315.5 kB / 0.4896 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04509/1.088, allocations: 9.335 MB / 0.4987 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/1.091, allocations: 107.9 kB / 0.4988 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003933/1.092, allocations: 60 kB / 0.4989 GB, free: 7.836 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003115/1.095, allocations: 0.8018 MB / 0.4997 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007605/1.096, allocations: 189.7 kB / 0.4999 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009613/1.105, allocations: 2.889 MB / 0.5027 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/1.105, allocations: 19.94 kB / 0.5027 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/1.106, allocations: 7.984 kB / 0.5027 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-05/1.106, allocations: 3.984 kB / 0.5027 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/1.124, allocations: 5.697 MB / 0.5083 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/1.124, allocations: 4 kB / 0.5083 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/1.126, allocations: 208 kB / 0.5085 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004397/1.13, allocations: 0.9023 MB / 0.5094 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004526/1.131, allocations: 39.94 kB / 0.5094 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/1.153, allocations: 10.89 MB / 0.52 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.153, allocations: 0 / 0.52 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2982/1.451, allocations: 4.23 MB / 0.5242 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/1.453, allocations: 467.8 kB / 0.5246 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006928/1.454, allocations: 30.8 kB / 0.5246 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/1.455, allocations: 92.8 kB / 0.5247 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006252/1.456, allocations: 150.1 kB / 0.5249 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/1.456, allocations: 47.78 kB / 0.5249 GB, free: 106.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003003/1.459, allocations: 1.128 MB / 0.526 GB, free: 106.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.459, allocations: 1.094 kB / 0.526 GB, free: 106.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003713/1.463, allocations: 0.5848 MB / 0.5266 GB, free: 106.8 MB / 410.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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009878/1.464, allocations: 310.3 kB / 0.5269 GB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00768/1.472, allocations: 3.026 MB / 0.5298 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.472, allocations: 0.875 kB / 0.5298 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005384/1.477, allocations: 2.068 MB / 0.5319 GB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00383/1.481, allocations: 480.4 kB / 0.5323 GB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/1.496, allocations: 6.093 MB / 0.5383 GB, free: 103.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003213/1.499, allocations: 2.071 MB / 0.5403 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002352/1.502, allocations: 401.8 kB / 0.5407 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006742/1.503, allocations: 109.1 kB / 0.5408 GB, free: 102.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/1.503, allocations: 0 / 0.5408 GB, free: 102.4 MB / 410.7 MB Notification: Performance of Templates: time 0.09963/1.602, allocations: 32.58 MB / 0.5726 GB, free: 100.1 MB / 410.7 MB