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_LoadDump.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_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.671/1.671, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003567, allocations: 8 kB / 233.2 MB, free: 3.02 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0711/0.07148, allocations: 38.78 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.4497, allocations: 105.1 MB / 377.1 MB, free: 1.25 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.4499, allocations: 85.39 kB / 377.2 MB, free: 1.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5347/0.9846, allocations: 61.54 MB / 438.8 MB, free: 77.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.076e-06/0.9847, allocations: 0 / 438.8 MB, free: 77.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000348/0.985, allocations: 78.98 kB / 438.8 MB, free: 77.01 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: 727 * Number of variables: 727 Notification: Performance of Generate backend data structure: time 0.01079/0.9958, allocations: 3.383 MB / 442.2 MB, free: 75.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.9959, allocations: 7.969 kB / 442.2 MB, free: 75.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/0.9987, allocations: 477.6 kB / 442.7 MB, free: 75.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0056/1.004, allocations: 1.994 MB / 444.7 MB, free: 75.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003384/1.005, allocations: 376.9 kB / 445.1 MB, free: 74.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009256/1.006, allocations: 292.6 kB / 445.3 MB, free: 74.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009551/1.015, allocations: 3.658 MB / 449 MB, free: 74.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/1.015, allocations: 10.44 kB / 449 MB, free: 74.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004245/1.016, allocations: 119.1 kB / 449.1 MB, free: 74.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/1.016, allocations: 118.1 kB / 449.2 MB, free: 74.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007826/1.024, allocations: 2.928 MB / 452.2 MB, free: 74.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02494/1.049, allocations: 11.79 MB / 464 MB, free: 71.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003972/1.053, allocations: 2.853 MB / 466.8 MB, free: 69.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/1.053, allocations: 140.4 kB / 467 MB, free: 69.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002186/1.055, allocations: 1.166 MB / 468.1 MB, free: 68.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=155): time 5.987e-06/1.055, allocations: 0 / 468.1 MB, free: 68.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=178): time 0.02746/1.083, allocations: 9.933 MB / 478.1 MB, free: 65.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.083, allocations: 340.4 kB / 478.4 MB, free: 64.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003743/1.087, allocations: 1.773 MB / 480.2 MB, free: 64.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003941/1.087, allocations: 65.17 kB / 480.2 MB, free: 63.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/1.088, allocations: 1.259 MB / 481.5 MB, free: 62.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006841/1.089, allocations: 0.595 MB / 482.1 MB, free: 62.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/1.089, allocations: 38.59 kB / 482.1 MB, free: 62.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/1.089, allocations: 399.5 kB / 482.5 MB, free: 62.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/1.092, allocations: 1.045 MB / 483.5 MB, free: 61.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/1.094, allocations: 1.585 MB / 485.1 MB, free: 60.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/1.097, allocations: 1.245 MB / 486.4 MB, free: 60.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/1.097, allocations: 3.656 kB / 486.4 MB, free: 60.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.007645/1.104, allocations: 3.574 MB / 490 MB, free: 58.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/1.104, allocations: 11.28 kB / 490 MB, free: 58.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/1.104, allocations: 11.31 kB / 490 MB, free: 58.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/1.108, allocations: 1.196 MB / 491.2 MB, free: 58.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/1.11, allocations: 377.1 kB / 491.5 MB, free: 58.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/1.128, allocations: 14.86 MB / 0.4945 GB, free: 46.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/1.131, allocations: 174.3 kB / 0.4947 GB, free: 46.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003067/1.131, allocations: 83.8 kB / 0.4948 GB, free: 46.48 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 201 * 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: 6 * 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 {(4,100.0%) 14,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002094/1.134, allocations: 0.8986 MB / 0.4957 GB, free: 45.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006131/1.134, allocations: 229.3 kB / 0.4959 GB, free: 45.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008025/1.142, allocations: 3.495 MB / 0.4993 GB, free: 42.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/1.142, allocations: 16 kB / 0.4993 GB, free: 42.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.142, allocations: 4 kB / 0.4993 GB, free: 42.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-05/1.142, allocations: 7.547 kB / 0.4993 GB, free: 42.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/1.158, allocations: 6.712 MB / 0.5059 GB, free: 37.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/1.158, allocations: 8.031 kB / 0.5059 GB, free: 37.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.159, allocations: 201.2 kB / 0.5061 GB, free: 36.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004746/1.164, allocations: 1.422 MB / 0.5075 GB, free: 35.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002958/1.164, allocations: 46.23 kB / 0.5075 GB, free: 35.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02174/1.186, allocations: 15.16 MB / 0.5223 GB, free: 21.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.245e-06/1.186, allocations: 0 / 0.5223 GB, free: 21.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009999/1.196, allocations: 4.931 MB / 0.5271 GB, free: 17.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/1.198, allocations: 0.5254 MB / 0.5276 GB, free: 16.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/1.198, allocations: 47.98 kB / 0.5277 GB, free: 16.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/1.2, allocations: 135.9 kB / 0.5278 GB, free: 16.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006068/1.201, allocations: 230 kB / 0.528 GB, free: 16.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/1.201, allocations: 55.97 kB / 0.5281 GB, free: 16.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002602/1.203, allocations: 1.366 MB / 0.5294 GB, free: 14.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.64e-07/1.203, allocations: 4 kB / 0.5294 GB, free: 14.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003602/1.207, allocations: 0.7499 MB / 0.5302 GB, free: 13.97 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 51,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007181/1.208, allocations: 337.6 kB / 0.5305 GB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0074/1.215, allocations: 3.674 MB / 0.5341 GB, free: 9.898 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.215, allocations: 0 / 0.5341 GB, free: 9.898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005188/1.22, allocations: 2.345 MB / 0.5364 GB, free: 7.492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/1.224, allocations: 0.4941 MB / 0.5368 GB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.238, allocations: 7.293 MB / 0.544 GB, free: 15.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003222/1.242, allocations: 2.26 MB / 0.5462 GB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008565/1.243, allocations: 139.4 kB / 0.5463 GB, free: 13.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.519e-06/1.243, allocations: 0 / 0.5463 GB, free: 13.32 MB / 362.7 MB Notification: Performance of Templates: time 0.3783/1.621, allocations: 115.7 MB / 0.6593 GB, free: 21.37 MB / 362.7 MB