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.SynchronousInductionMachines.SMEE_LoadDump.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_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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005214/0.0005216, allocations: 16 kB / 233.9 MB, free: 2.375 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 38.76 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4155/0.5186, allocations: 105.1 MB / 377.8 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.519, allocations: 94.08 kB / 377.8 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5504/1.069, allocations: 61.52 MB / 439.4 MB, free: 77.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.737e-06/1.069, allocations: 3.438 kB / 439.4 MB, free: 77.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004992/1.07, allocations: 80.28 kB / 439.5 MB, free: 77.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: 727 * Number of variables: 727 Notification: Performance of Generate backend data structure: time 0.01481/1.085, allocations: 3.378 MB / 442.8 MB, free: 76.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.085, allocations: 9.406 kB / 442.8 MB, free: 76.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003488/1.088, allocations: 482.1 kB / 443.3 MB, free: 75.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007233/1.096, allocations: 1.996 MB / 445.3 MB, free: 75.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004347/1.096, allocations: 380.3 kB / 445.7 MB, free: 75.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/1.097, allocations: 287.1 kB / 446 MB, free: 75.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/1.109, allocations: 3.659 MB / 449.6 MB, free: 74.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/1.109, allocations: 24.3 kB / 449.6 MB, free: 74.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005476/1.11, allocations: 118.5 kB / 449.8 MB, free: 74.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/1.11, allocations: 112.1 kB / 449.9 MB, free: 74.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009533/1.12, allocations: 2.932 MB / 452.8 MB, free: 74.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03223/1.152, allocations: 11.78 MB / 464.6 MB, free: 71.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005175/1.157, allocations: 2.853 MB / 467.4 MB, free: 69.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005063/1.158, allocations: 145.5 kB / 467.6 MB, free: 69.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002832/1.16, allocations: 1.158 MB / 468.7 MB, free: 69.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=155): time 5.691e-06/1.16, allocations: 3.969 kB / 468.7 MB, free: 69.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=178): time 0.0381/1.199, allocations: 9.928 MB / 478.7 MB, free: 65.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/1.199, allocations: 337.3 kB / 479 MB, free: 64.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004377/1.203, allocations: 1.997 MB / 481 MB, free: 64.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000551/1.204, allocations: 64.58 kB / 481 MB, free: 64.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/1.205, allocations: 1.348 MB / 482.4 MB, free: 63.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008882/1.206, allocations: 0.5923 MB / 483 MB, free: 62.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/1.206, allocations: 39.59 kB / 483 MB, free: 62.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/1.207, allocations: 395.5 kB / 483.4 MB, free: 62.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/1.209, allocations: 1.04 MB / 484.5 MB, free: 61.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/1.212, allocations: 1.589 MB / 486 MB, free: 60.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00304/1.215, allocations: 1.246 MB / 487.3 MB, free: 60.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/1.215, allocations: 7.969 kB / 487.3 MB, free: 60.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.0113/1.227, allocations: 3.712 MB / 491 MB, free: 59.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/1.227, allocations: 9.812 kB / 491 MB, free: 59.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/1.227, allocations: 17.41 kB / 491 MB, free: 59.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004928/1.232, allocations: 1.197 MB / 492.2 MB, free: 58.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/1.235, allocations: 376.5 kB / 492.6 MB, free: 58.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02246/1.257, allocations: 14.87 MB / 0.4956 GB, free: 46.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/1.261, allocations: 171.1 kB / 0.4957 GB, free: 46.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005911/1.262, allocations: 78.86 kB / 0.4958 GB, free: 45.96 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.002818/1.265, allocations: 0.9057 MB / 0.4967 GB, free: 45.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008589/1.266, allocations: 233.2 kB / 0.4969 GB, free: 44.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/1.276, allocations: 3.484 MB / 0.5003 GB, free: 42.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/1.276, allocations: 19.8 kB / 0.5003 GB, free: 42.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/1.276, allocations: 4 kB / 0.5003 GB, free: 42.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-05/1.276, allocations: 7.875 kB / 0.5004 GB, free: 42.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/1.296, allocations: 6.721 MB / 0.5069 GB, free: 36.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.421e-05/1.296, allocations: 4 kB / 0.5069 GB, free: 36.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/1.298, allocations: 206.3 kB / 0.5071 GB, free: 36.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006258/1.304, allocations: 1.413 MB / 0.5085 GB, free: 35.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004738/1.305, allocations: 42.89 kB / 0.5085 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02721/1.332, allocations: 15.16 MB / 0.5233 GB, free: 21.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/1.332, allocations: 6.812 kB / 0.5233 GB, free: 21.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/1.345, allocations: 4.82 MB / 0.5281 GB, free: 16.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/1.347, allocations: 0.5138 MB / 0.5286 GB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/1.349, allocations: 51.97 kB / 0.5286 GB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/1.352, allocations: 139.9 kB / 0.5287 GB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009556/1.353, allocations: 226 kB / 0.529 GB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/1.353, allocations: 51.97 kB / 0.529 GB, free: 15.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003277/1.356, allocations: 1.366 MB / 0.5303 GB, free: 14.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.356, allocations: 0 / 0.5303 GB, free: 14.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004437/1.361, allocations: 0.7577 MB / 0.5311 GB, free: 13.29 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.0009968/1.362, allocations: 331.6 kB / 0.5314 GB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009579/1.371, allocations: 3.674 MB / 0.535 GB, free: 9.215 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.371, allocations: 0 / 0.535 GB, free: 9.215 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006883/1.378, allocations: 2.42 MB / 0.5373 GB, free: 6.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004324/1.383, allocations: 0.5059 MB / 0.5378 GB, free: 6.258 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/1.403, allocations: 7.235 MB / 0.5449 GB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004386/1.407, allocations: 2.284 MB / 0.5471 GB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002921/1.41, allocations: 428.4 kB / 0.5475 GB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009689/1.411, allocations: 131.4 kB / 0.5477 GB, free: 12.19 MB / 362.7 MB Notification: Performance of SimCode: time 1.363e-06/1.411, allocations: 4 kB / 0.5477 GB, free: 12.18 MB / 362.7 MB Notification: Performance of Templates: time 0.368/1.779, allocations: 41.43 MB / 0.5881 GB, free: 78.97 MB / 362.7 MB