Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.675/1.675, allocations: 171.2 MB / 187.3 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003412, allocations: 12 kB / 233.8 MB, free: 0.9609 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08023/0.08059, allocations: 38.77 MB / 272.6 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3921/0.4727, allocations: 103.7 MB / 376.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/0.4731, allocations: 91.95 kB / 376.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5709/1.044, allocations: 82.23 MB / 458.6 MB, free: 81.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/1.044, allocations: 3.938 kB / 458.6 MB, free: 81.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003092/1.044, allocations: 68.16 kB / 458.7 MB, free: 81.82 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.0108/1.055, allocations: 2.929 MB / 461.6 MB, free: 80.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/1.055, allocations: 10.03 kB / 461.6 MB, free: 80.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002666/1.058, allocations: 420.4 kB / 462 MB, free: 80.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005403/1.063, allocations: 1.76 MB / 463.8 MB, free: 79.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/1.064, allocations: 195.1 kB / 464 MB, free: 79.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00093/1.065, allocations: 249.6 kB / 464.2 MB, free: 78.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009557/1.074, allocations: 3.241 MB / 467.5 MB, free: 77.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/1.074, allocations: 11.72 kB / 467.5 MB, free: 77.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004639/1.075, allocations: 102.2 kB / 467.6 MB, free: 77.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/1.075, allocations: 111.3 kB / 467.7 MB, free: 77.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00807/1.083, allocations: 2.574 MB / 470.3 MB, free: 76.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02607/1.109, allocations: 10.4 MB / 480.7 MB, free: 70.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/1.113, allocations: 1.791 MB / 482.4 MB, free: 68.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004413/1.113, allocations: 142 kB / 482.6 MB, free: 68.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/1.113, allocations: 44.12 kB / 482.6 MB, free: 68.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 5.57e-06/1.113, allocations: 0 / 482.6 MB, free: 68.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=141): time 0.0345/1.148, allocations: 8.849 MB / 491.5 MB, free: 59.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/1.148, allocations: 64.72 kB / 491.5 MB, free: 59.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/1.152, allocations: 1.79 MB / 493.3 MB, free: 57.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003697/1.152, allocations: 49.7 kB / 493.4 MB, free: 57.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007895/1.153, allocations: 1.17 MB / 494.5 MB, free: 56.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006044/1.153, allocations: 488.7 kB / 495 MB, free: 55.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/1.154, allocations: 32 kB / 495.1 MB, free: 55.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/1.154, allocations: 378.8 kB / 495.4 MB, free: 55.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/1.156, allocations: 0.8706 MB / 496.3 MB, free: 54.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/1.159, allocations: 1.361 MB / 497.7 MB, free: 52.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/1.162, allocations: 1.076 MB / 498.7 MB, free: 51.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/1.162, allocations: 4 kB / 498.7 MB, free: 51.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00791/1.17, allocations: 2.844 MB / 0.4898 GB, free: 48.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/1.17, allocations: 12 kB / 0.4898 GB, free: 48.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.615e-05/1.17, allocations: 19.98 kB / 0.4899 GB, free: 48.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/1.172, allocations: 0.5797 MB / 0.4904 GB, free: 48.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002911/1.175, allocations: 411.3 kB / 0.4908 GB, free: 47.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/1.186, allocations: 5.658 MB / 0.4963 GB, free: 42.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/1.189, allocations: 131.9 kB / 0.4965 GB, free: 42.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003676/1.19, allocations: 79.92 kB / 0.4965 GB, free: 41.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (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.00236/1.192, allocations: 0.7977 MB / 0.4973 GB, free: 41.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007102/1.193, allocations: 201.6 kB / 0.4975 GB, free: 40.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007513/1.2, allocations: 2.619 MB / 0.5001 GB, free: 38.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/1.2, allocations: 12 kB / 0.5001 GB, free: 38.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.2, allocations: 11.95 kB / 0.5001 GB, free: 38.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/1.2, allocations: 11.97 kB / 0.5001 GB, free: 38.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/1.215, allocations: 5.461 MB / 0.5054 GB, free: 32.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/1.215, allocations: 4 kB / 0.5054 GB, free: 32.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/1.217, allocations: 247.6 kB / 0.5057 GB, free: 32.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00295/1.22, allocations: 0.6425 MB / 0.5063 GB, free: 31.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/1.22, allocations: 43.92 kB / 0.5063 GB, free: 31.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/1.233, allocations: 7.396 MB / 0.5136 GB, free: 24.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.233, allocations: 7.938 kB / 0.5136 GB, free: 24.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009784/1.243, allocations: 3.83 MB / 0.5173 GB, free: 20.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.245, allocations: 466.5 kB / 0.5178 GB, free: 19.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00059/1.245, allocations: 39.94 kB / 0.5178 GB, free: 19.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/1.248, allocations: 107.9 kB / 0.5179 GB, free: 19.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004283/1.248, allocations: 117.1 kB / 0.518 GB, free: 19.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.248, allocations: 39.98 kB / 0.5181 GB, free: 19.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002848/1.251, allocations: 1.224 MB / 0.5192 GB, free: 18.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.251, allocations: 0 / 0.5192 GB, free: 18.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003769/1.255, allocations: 0.621 MB / 0.5199 GB, free: 17.65 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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.001019/1.256, allocations: 315.4 kB / 0.5202 GB, free: 17.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006727/1.263, allocations: 2.606 MB / 0.5227 GB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.263, allocations: 0.8125 kB / 0.5227 GB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004361/1.267, allocations: 1.633 MB / 0.5243 GB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00321/1.27, allocations: 406 kB / 0.5247 GB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/1.283, allocations: 6.126 MB / 0.5307 GB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/1.285, allocations: 2.053 MB / 0.5327 GB, free: 4.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009819/1.286, allocations: 127.4 kB / 0.5328 GB, free: 4.219 MB / 346.7 MB Notification: Performance of SimCode: time 1.393e-06/1.286, allocations: 0 / 0.5328 GB, free: 4.219 MB / 346.7 MB Notification: Performance of Templates: time 0.3382/1.624, allocations: 55.3 MB / 0.5868 GB, free: 63.69 MB / 346.7 MB