Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|constantSpeed.phi|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.636/1.636, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.357e-05/5.392e-05, allocations: 7.938 kB / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2387, allocations: 38.77 MB / 267.6 MB, free: 9.426 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3381/0.5768, allocations: 103.7 MB / 371.3 MB, free: 40.2 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.5771, allocations: 83.55 kB / 371.3 MB, free: 40.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3114/0.8885, allocations: 82.38 MB / 453.7 MB, free: 1.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.441e-06/0.8886, allocations: 0 / 453.7 MB, free: 1.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002727/0.8889, allocations: 75.86 kB / 453.8 MB, free: 0.9844 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 655 * Number of variables: 655 Notification: Performance of Generate backend data structure: time 0.008116/0.897, allocations: 2.597 MB / 456.4 MB, free: 14.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.8971, allocations: 11.97 kB / 456.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002483/0.8996, allocations: 427.9 kB / 456.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005306/0.9049, allocations: 1.733 MB / 458.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.9052, allocations: 193 kB / 458.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009899/0.9062, allocations: 251.9 kB / 459 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009468/0.9157, allocations: 3.141 MB / 462.1 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.9158, allocations: 4 kB / 462.1 MB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004311/0.9163, allocations: 112.3 kB / 462.2 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001584/0.9165, allocations: 108.9 kB / 462.4 MB, free: 8.156 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007551/0.924, allocations: 2.452 MB / 464.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02673/0.9508, allocations: 10.4 MB / 475.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003354/0.9542, allocations: 1.739 MB / 476.9 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/0.9561, allocations: 0.8505 MB / 477.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/0.9566, allocations: 142 kB / 477.9 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.9566, allocations: 48.03 kB / 478 MB, free: 8.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 4.719e-06/0.9566, allocations: 7.938 kB / 478 MB, free: 8.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=141): time 0.02236/0.979, allocations: 6.869 MB / 484.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.9791, allocations: 64.72 kB / 484.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003808/0.9829, allocations: 1.57 MB / 486.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000298/0.9833, allocations: 53.7 kB / 486.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.9844, allocations: 1.166 MB / 487.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007051/0.9852, allocations: 489 kB / 488.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.9853, allocations: 36 kB / 488.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002779/0.9856, allocations: 374.7 kB / 488.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.9875, allocations: 0.8005 MB / 489.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002423/0.99, allocations: 1.291 MB / 490.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.9923, allocations: 1.004 MB / 491.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.9924, allocations: 4 kB / 491.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006891/0.9993, allocations: 2.712 MB / 494.4 MB, free: 7.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.9993, allocations: 8 kB / 494.4 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.692e-05/0.9994, allocations: 20 kB / 494.4 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/1.002, allocations: 0.5874 MB / 495 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/1.004, allocations: 403.4 kB / 495.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/1.015, allocations: 5.45 MB / 0.4891 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/1.017, allocations: 139.8 kB / 0.4893 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003721/1.017, allocations: 72.12 kB / 0.4893 GB, free: 488 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 181 * 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: 1 * 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: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000481/1.018, allocations: 212.4 kB / 0.4895 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000665/1.019, allocations: 201.6 kB / 0.4897 GB, free: 64 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2129/1.231, allocations: 2.489 MB / 0.4922 GB, free: 81.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/1.232, allocations: 13.75 kB / 0.4922 GB, free: 81.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/1.232, allocations: 6.438 kB / 0.4922 GB, free: 81.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/1.232, allocations: 7.5 kB / 0.4922 GB, free: 81.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/1.244, allocations: 5.345 MB / 0.4974 GB, free: 80.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.884e-05/1.244, allocations: 3.906 kB / 0.4974 GB, free: 80.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/1.245, allocations: 244.1 kB / 0.4976 GB, free: 80.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/1.248, allocations: 0.6476 MB / 0.4983 GB, free: 80.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002501/1.248, allocations: 38.16 kB / 0.4983 GB, free: 80.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/1.259, allocations: 7.139 MB / 0.5053 GB, free: 77.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.491e-06/1.259, allocations: 7.562 kB / 0.5053 GB, free: 77.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007347/1.267, allocations: 3.888 MB / 0.5091 GB, free: 77.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/1.268, allocations: 474.6 kB / 0.5095 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004041/1.268, allocations: 34.14 kB / 0.5096 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/1.27, allocations: 114 kB / 0.5097 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003844/1.271, allocations: 113.5 kB / 0.5098 GB, free: 77.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/1.271, allocations: 49.5 kB / 0.5098 GB, free: 77.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002401/1.273, allocations: 1.207 MB / 0.511 GB, free: 77.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.103e-06/1.273, allocations: 0 / 0.511 GB, free: 77.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002984/1.276, allocations: 0.6202 MB / 0.5116 GB, free: 77.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * 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 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007146/1.277, allocations: 313.4 kB / 0.5119 GB, free: 76.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005137/1.282, allocations: 2.459 MB / 0.5143 GB, free: 76.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.282, allocations: 6.781 kB / 0.5143 GB, free: 76.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003577/1.286, allocations: 1.571 MB / 0.5159 GB, free: 76.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/1.289, allocations: 401.1 kB / 0.5162 GB, free: 76.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009584/1.298, allocations: 4.161 MB / 0.5203 GB, free: 75.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002048/1.3, allocations: 2.044 MB / 0.5223 GB, free: 74.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007852/1.301, allocations: 135.3 kB / 0.5224 GB, free: 74.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.98e-06/1.301, allocations: 0 / 0.5224 GB, free: 74.59 MB / 362.7 MB Notification: Performance of Templates: time 0.07153/1.373, allocations: 55.29 MB / 0.5764 GB, free: 47.96 MB / 362.7 MB