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.AsynchronousInductionMachines.AIMC_withLosses.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.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|PI.x|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadModel(Modelica): time 1.786/1.786, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000512/0.0005122, allocations: 8 kB / 233.9 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08432/0.08486, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4074/0.4923, allocations: 98.4 MB / 371 MB, free: 7.273 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.4927, allocations: 105.1 kB / 371.1 MB, free: 7.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2225/0.7152, allocations: 48.78 MB / 419.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.7152, allocations: 0 / 419.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004495/0.7157, allocations: 59.94 kB / 420 MB, free: 11.88 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01545/0.7312, allocations: 2.739 MB / 422.7 MB, free: 9.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.7313, allocations: 16.03 kB / 422.7 MB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/0.7343, allocations: 328.3 kB / 423 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00979/0.7441, allocations: 1.72 MB / 424.8 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/0.7445, allocations: 148 kB / 424.9 MB, free: 6.816 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/0.746, allocations: 203.9 kB / 425.1 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/0.7617, allocations: 2.665 MB / 427.8 MB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002701/0.762, allocations: 3.906 kB / 427.8 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001171/0.7632, allocations: 84 kB / 427.9 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000226/0.7635, allocations: 87.89 kB / 427.9 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.7769, allocations: 2.182 MB / 430.1 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2939/1.071, allocations: 8.277 MB / 438.4 MB, free: 79.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005558/1.076, allocations: 1.647 MB / 440 MB, free: 78.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005249/1.077, allocations: 146.1 kB / 440.2 MB, free: 78.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/1.077, allocations: 51.14 kB / 440.2 MB, free: 78.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=115): time 6.041e-06/1.077, allocations: 0 / 440.2 MB, free: 78.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=131): time 0.02542/1.103, allocations: 6.787 MB / 447 MB, free: 77.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/1.103, allocations: 73.56 kB / 447.1 MB, free: 77.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004392/1.107, allocations: 2.062 MB / 449.2 MB, free: 76.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000385/1.108, allocations: 46.89 kB / 449.2 MB, free: 76.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/1.109, allocations: 1.084 MB / 450.3 MB, free: 76.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006922/1.109, allocations: 454.5 kB / 450.7 MB, free: 76.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/1.109, allocations: 30.31 kB / 450.8 MB, free: 76.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/1.11, allocations: 358 kB / 451.1 MB, free: 76.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/1.112, allocations: 0.7731 MB / 451.9 MB, free: 76.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/1.114, allocations: 1.016 MB / 452.9 MB, free: 75.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/1.117, allocations: 0.9336 MB / 453.8 MB, free: 75.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/1.117, allocations: 0 / 453.8 MB, free: 75.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.008913/1.126, allocations: 2.865 MB / 456.7 MB, free: 75.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.137e-05/1.126, allocations: 32.95 kB / 456.7 MB, free: 75.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-05/1.126, allocations: 6.781 kB / 456.7 MB, free: 75.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003747/1.13, allocations: 0.8464 MB / 457.6 MB, free: 75.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/1.132, allocations: 266.6 kB / 457.8 MB, free: 75.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/1.151, allocations: 9.648 MB / 467.5 MB, free: 70.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/1.154, allocations: 95.86 kB / 467.6 MB, free: 70.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004438/1.154, allocations: 58.28 kB / 467.6 MB, free: 70.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002309/1.156, allocations: 0.7434 MB / 468.4 MB, free: 69.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007695/1.157, allocations: 203 kB / 468.6 MB, free: 69.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008083/1.165, allocations: 2.579 MB / 471.2 MB, free: 68.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/1.165, allocations: 17.67 kB / 471.2 MB, free: 68.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/1.165, allocations: 7.156 kB / 471.2 MB, free: 68.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.532e-05/1.165, allocations: 3.656 kB / 471.2 MB, free: 68.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/1.181, allocations: 5.068 MB / 476.3 MB, free: 66.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.638e-05/1.181, allocations: 7.406 kB / 476.3 MB, free: 66.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/1.183, allocations: 205.8 kB / 476.5 MB, free: 66.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003235/1.186, allocations: 0.7102 MB / 477.2 MB, free: 66.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003178/1.187, allocations: 36.92 kB / 477.2 MB, free: 66.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01498/1.202, allocations: 8.699 MB / 485.9 MB, free: 60.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.202, allocations: 3.094 kB / 485.9 MB, free: 60.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/1.216, allocations: 3.629 MB / 489.5 MB, free: 59.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/1.218, allocations: 477.7 kB / 490 MB, free: 58.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004934/1.218, allocations: 31.23 kB / 490 MB, free: 58.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/1.22, allocations: 92.48 kB / 490.1 MB, free: 58.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/1.221, allocations: 105.2 kB / 490.2 MB, free: 58.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.221, allocations: 41.02 kB / 490.3 MB, free: 58.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003018/1.224, allocations: 1.448 MB / 491.7 MB, free: 58.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.224, allocations: 0.9375 kB / 491.7 MB, free: 58.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003182/1.227, allocations: 0.5775 MB / 492.3 MB, free: 58.22 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/1.228, allocations: 450.7 kB / 492.7 MB, free: 58.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006823/1.235, allocations: 2.563 MB / 495.3 MB, free: 56.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.235, allocations: 4.062 kB / 495.3 MB, free: 56.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004286/1.239, allocations: 1.738 MB / 497 MB, free: 54.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/1.243, allocations: 411.9 kB / 497.5 MB, free: 54.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/1.255, allocations: 6.014 MB / 0.4917 GB, free: 49.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002046/1.257, allocations: 1.99 MB / 0.4936 GB, free: 47.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002173/1.259, allocations: 393 kB / 0.494 GB, free: 47.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/1.26, allocations: 124.9 kB / 0.4941 GB, free: 47.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.703e-06/1.26, allocations: 0 / 0.4941 GB, free: 47.16 MB / 346.7 MB Notification: Performance of Templates: time 0.07912/1.339, allocations: 30.6 MB / 0.524 GB, free: 21.26 MB / 346.7 MB