Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 15.98 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09661/0.09699, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5468/0.6439, allocations: 110.6 MB / 419.6 MB, free: 9.453 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.6442, allocations: 91.27 kB / 419.7 MB, free: 9.441 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2849/0.9291, allocations: 61.97 MB / 481.7 MB, free: 6.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.9292, allocations: 0 / 481.7 MB, free: 6.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004137/0.9296, allocations: 79.94 kB / 481.8 MB, free: 6.34 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.01508/0.9447, allocations: 3.405 MB / 485.2 MB, free: 2.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.9448, allocations: 12.03 kB / 485.2 MB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/0.9481, allocations: 479.5 kB / 485.7 MB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008042/0.9562, allocations: 2.06 MB / 487.7 MB, free: 272 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005893/0.9568, allocations: 383.8 kB / 488.1 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/0.9583, allocations: 279.9 kB / 488.4 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/0.9714, allocations: 3.635 MB / 492 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001751/0.9717, allocations: 8 kB / 492 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009573/0.9727, allocations: 127.9 kB / 492.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/0.9729, allocations: 113.5 kB / 492.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01703/0.9899, allocations: 2.93 MB / 495.2 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0472/1.037, allocations: 11.75 MB / 0.495 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006181/1.043, allocations: 2.865 MB / 0.4978 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005396/1.044, allocations: 139.8 kB / 0.498 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003544/1.048, allocations: 1.179 MB / 0.4991 GB, free: 8.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 5.911e-06/1.048, allocations: 0 / 0.4991 GB, free: 8.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=178): time 0.04294/1.091, allocations: 9.94 MB / 0.5088 GB, free: 13.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000214/1.091, allocations: 308.7 kB / 0.5091 GB, free: 13.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005628/1.096, allocations: 2.059 MB / 0.5111 GB, free: 11.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000503/1.097, allocations: 61.7 kB / 0.5112 GB, free: 11.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002014/1.099, allocations: 1.352 MB / 0.5125 GB, free: 10.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001122/1.1, allocations: 0.6009 MB / 0.5131 GB, free: 9.457 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/1.1, allocations: 40 kB / 0.5131 GB, free: 9.418 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002558/1.101, allocations: 385.9 kB / 0.5135 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/1.104, allocations: 1.05 MB / 0.5145 GB, free: 7.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003865/1.108, allocations: 1.567 MB / 0.5161 GB, free: 6.195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/1.112, allocations: 1.251 MB / 0.5173 GB, free: 4.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/1.112, allocations: 4 kB / 0.5173 GB, free: 4.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.0121/1.124, allocations: 3.652 MB / 0.5209 GB, free: 1.254 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004814/1.124, allocations: 486.2 kB / 0.5213 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/1.124, allocations: 12 kB / 0.5213 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2911/1.416, allocations: 1.201 MB / 0.5225 GB, free: 99.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002832/1.418, allocations: 374.2 kB / 0.5229 GB, free: 99.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02422/1.443, allocations: 14.86 MB / 0.5374 GB, free: 91.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003837/1.447, allocations: 175.9 kB / 0.5375 GB, free: 91.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006531/1.447, allocations: 83.73 kB / 0.5376 GB, free: 91.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.447, allocations: 6.156 kB / 0.5376 GB, free: 91.21 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01006/1.457, allocations: 3.396 MB / 0.5409 GB, free: 91.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-05/1.458, allocations: 16.62 kB / 0.541 GB, free: 91.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005072/1.463, allocations: 1.195 MB / 0.5421 GB, free: 91.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002896/1.466, allocations: 372.1 kB / 0.5425 GB, free: 91.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02351/1.489, allocations: 14.84 MB / 0.557 GB, free: 83.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/1.493, allocations: 160.4 kB / 0.5571 GB, free: 83.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005302/1.493, allocations: 82.14 kB / 0.5572 GB, free: 83.15 MB / 410.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].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * 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.002616/1.496, allocations: 0.9671 MB / 0.5581 GB, free: 82.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007707/1.497, allocations: 239.1 kB / 0.5584 GB, free: 82.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/1.507, allocations: 3.489 MB / 0.5618 GB, free: 82.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/1.507, allocations: 19.38 kB / 0.5618 GB, free: 82.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/1.507, allocations: 3.781 kB / 0.5618 GB, free: 82.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.531e-05/1.508, allocations: 7.734 kB / 0.5618 GB, free: 82.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01908/1.527, allocations: 6.718 MB / 0.5684 GB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.457e-05/1.527, allocations: 3.75 kB / 0.5684 GB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/1.528, allocations: 202.1 kB / 0.5686 GB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006089/1.535, allocations: 1.42 MB / 0.57 GB, free: 80.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003818/1.535, allocations: 48.58 kB / 0.57 GB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0269/1.562, allocations: 15.17 MB / 0.5848 GB, free: 70.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.562, allocations: 0 / 0.5848 GB, free: 70.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/1.575, allocations: 4.813 MB / 0.5895 GB, free: 68.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002054/1.577, allocations: 0.5295 MB / 0.59 GB, free: 67.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009497/1.578, allocations: 55.28 kB / 0.5901 GB, free: 67.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/1.581, allocations: 134.3 kB / 0.5902 GB, free: 67.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009513/1.582, allocations: 219.9 kB / 0.5904 GB, free: 67.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/1.582, allocations: 55.95 kB / 0.5905 GB, free: 67.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003529/1.586, allocations: 1.41 MB / 0.5919 GB, free: 67.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.586, allocations: 9.375 kB / 0.5919 GB, free: 67.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00727/1.593, allocations: 1.257 MB / 0.5931 GB, free: 67.18 MB / 410.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].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * 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.001026/1.594, allocations: 336.9 kB / 0.5934 GB, free: 67.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0154/1.61, allocations: 6.342 MB / 0.5996 GB, free: 63.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.61, allocations: 3.656 kB / 0.5996 GB, free: 63.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006017/1.616, allocations: 2.431 MB / 0.602 GB, free: 62.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003782/1.62, allocations: 0.4975 MB / 0.6025 GB, free: 62.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/1.637, allocations: 7.31 MB / 0.6096 GB, free: 57.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/1.64, allocations: 2.303 MB / 0.6119 GB, free: 55.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00335/1.643, allocations: 0.5954 MB / 0.6124 GB, free: 54.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007418/1.644, allocations: 137.4 kB / 0.6126 GB, free: 54.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/1.644, allocations: 0 / 0.6126 GB, free: 54.83 MB / 410.7 MB Notification: Performance of Templates: time 0.1147/1.759, allocations: 47.66 MB / 0.6591 GB, free: 14.26 MB / 410.7 MB