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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.609/1.609, allocations: 171.3 MB / 179.2 MB, free: 7.594 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.693e-05/1.708e-05, allocations: 3.938 kB / 222.5 MB, free: 8.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08497, allocations: 38.77 MB / 261.3 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4579, allocations: 103 MB / 364.3 MB, free: 1.773 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.4582, allocations: 82.08 kB / 364.4 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6038/1.062, allocations: 81.3 MB / 445.7 MB, free: 80.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.009e-06/1.062, allocations: 0 / 445.7 MB, free: 80.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002417/1.062, allocations: 66.25 kB / 445.7 MB, free: 80.4 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: 655 * Number of variables: 655 Notification: Performance of Generate backend data structure: time 0.007418/1.07, allocations: 2.607 MB / 448.3 MB, free: 79.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.07, allocations: 6.406 kB / 448.3 MB, free: 79.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/1.072, allocations: 420.5 kB / 448.7 MB, free: 79.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00482/1.077, allocations: 1.749 MB / 450.5 MB, free: 78.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/1.077, allocations: 79.34 kB / 450.6 MB, free: 78.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006903/1.078, allocations: 151.3 kB / 450.7 MB, free: 78.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006095/1.084, allocations: 2.302 MB / 453 MB, free: 78.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00794/1.092, allocations: 2.779 MB / 455.8 MB, free: 78.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/1.092, allocations: 10.91 kB / 455.8 MB, free: 78.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003925/1.093, allocations: 6.844 kB / 455.8 MB, free: 78.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/1.093, allocations: 104 kB / 455.9 MB, free: 78.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02207/1.115, allocations: 9.916 MB / 465.8 MB, free: 72.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/1.118, allocations: 1.709 MB / 467.5 MB, free: 71.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/1.119, allocations: 0.8193 MB / 468.4 MB, free: 71.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/1.12, allocations: 150.1 kB / 468.5 MB, free: 71.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/1.12, allocations: 44.31 kB / 468.6 MB, free: 71.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 6.175e-06/1.12, allocations: 7.938 kB / 468.6 MB, free: 71.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=143): time 0.01441/1.134, allocations: 5.393 MB / 474 MB, free: 69.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/1.134, allocations: 67.73 kB / 474 MB, free: 69.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/1.137, allocations: 1.317 MB / 475.3 MB, free: 68.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003129/1.137, allocations: 25.7 kB / 475.4 MB, free: 68.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007699/1.138, allocations: 1.187 MB / 476.5 MB, free: 67.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00059/1.139, allocations: 485 kB / 477 MB, free: 67.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/1.139, allocations: 0 / 477 MB, free: 67.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/1.139, allocations: 375.5 kB / 477.4 MB, free: 66.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/1.141, allocations: 0.7743 MB / 478.2 MB, free: 66.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/1.142, allocations: 1.242 MB / 479.4 MB, free: 65.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/1.144, allocations: 0.9869 MB / 480.4 MB, free: 65.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/1.144, allocations: 3.469 kB / 480.4 MB, free: 65.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005985/1.15, allocations: 2.55 MB / 482.9 MB, free: 64.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/1.151, allocations: 12 kB / 483 MB, free: 64.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.647e-05/1.151, allocations: 19.66 kB / 483 MB, free: 64.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/1.153, allocations: 0.5695 MB / 483.5 MB, free: 63.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/1.155, allocations: 408.1 kB / 483.9 MB, free: 63.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008097/1.163, allocations: 5.2 MB / 489.1 MB, free: 58.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/1.165, allocations: 103.4 kB / 489.2 MB, free: 58.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/1.165, allocations: 79.67 kB / 489.3 MB, free: 58.53 MB / 346.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 (187): * Single equations (assignments): 183 * 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.0003721/1.166, allocations: 144.5 kB / 489.5 MB, free: 58.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004903/1.166, allocations: 189.8 kB / 489.6 MB, free: 58.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005112/1.171, allocations: 2.362 MB / 492 MB, free: 56.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.171, allocations: 15.47 kB / 492 MB, free: 56.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/1.172, allocations: 8 kB / 492 MB, free: 56.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/1.172, allocations: 10.89 kB / 492 MB, free: 56.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/1.183, allocations: 4.924 MB / 497 MB, free: 52.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/1.183, allocations: 4 kB / 497 MB, free: 52.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/1.184, allocations: 251.2 kB / 497.2 MB, free: 51.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/1.187, allocations: 0.6446 MB / 497.9 MB, free: 51.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002527/1.187, allocations: 18.11 kB / 497.9 MB, free: 51.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009533/1.197, allocations: 6.86 MB / 0.4929 GB, free: 44.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/1.197, allocations: 7.938 kB / 0.4929 GB, free: 44.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00671/1.203, allocations: 3.778 MB / 0.4966 GB, free: 40.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.205, allocations: 450.6 kB / 0.497 GB, free: 39.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005891/1.205, allocations: 8 kB / 0.497 GB, free: 39.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/1.207, allocations: 91.88 kB / 0.4971 GB, free: 39.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/1.208, allocations: 121 kB / 0.4972 GB, free: 39.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.208, allocations: 47.98 kB / 0.4973 GB, free: 39.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001926/1.21, allocations: 0.9929 MB / 0.4983 GB, free: 38.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.21, allocations: 0 / 0.4983 GB, free: 38.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002963/1.213, allocations: 0.5078 MB / 0.4988 GB, free: 38.21 MB / 346.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 (110): * Single equations (assignments): 106 * 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.0006665/1.213, allocations: 305.7 kB / 0.4991 GB, free: 37.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004564/1.218, allocations: 2.366 MB / 0.5014 GB, free: 35.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.109e-06/1.218, allocations: 4 kB / 0.5014 GB, free: 35.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00309/1.221, allocations: 1.519 MB / 0.5028 GB, free: 33.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/1.224, allocations: 299.2 kB / 0.5031 GB, free: 33.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009241/1.233, allocations: 4.092 MB / 0.5071 GB, free: 29.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/1.235, allocations: 2.041 MB / 0.5091 GB, free: 27.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007754/1.236, allocations: 127.4 kB / 0.5092 GB, free: 27.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.055e-06/1.236, allocations: 0 / 0.5092 GB, free: 27.34 MB / 346.7 MB Notification: Performance of Templates: time 0.2727/1.508, allocations: 53.46 MB / 0.5615 GB, free: 70.77 MB / 346.7 MB