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.594/1.594, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005041/0.000504, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1054, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump): time 0.0253/0.1308, allocations: 10.02 MB / 282.7 MB, free: 1.477 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.1447, allocations: 3.97 MB / 286.6 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002722/0.1475, allocations: 51.75 kB / 286.7 MB, free: 13.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004245/0.1518, allocations: 0.6918 MB / 287.4 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005808/0.1577, allocations: 0.9035 MB / 288.3 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.161, allocations: 475.3 kB / 288.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008094/0.1691, allocations: 2.446 MB / 291.2 MB, free: 8.934 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005189/0.1744, allocations: 1.846 MB / 293 MB, free: 7.051 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003528/0.178, allocations: 1.222 MB / 294.2 MB, free: 5.824 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003672/0.1817, allocations: 1.432 MB / 295.7 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008355/0.1825, allocations: 180 kB / 295.9 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.1841, allocations: 247.9 kB / 296.1 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.186, allocations: 0.8685 MB / 297 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.1875, allocations: 0.6485 MB / 297.6 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2328/0.4203, allocations: 4.319 MB / 301.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4203, allocations: 0 / 301.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4204, allocations: 0 / 301.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.00019/0.4206, allocations: 0 / 301.9 MB, free: 13.77 MB / 250.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.01533/0.4359, allocations: 3.343 MB / 305.3 MB, free: 12.3 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.436, allocations: 13.56 kB / 305.3 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003843/0.4399, allocations: 472 kB / 305.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007501/0.4474, allocations: 1.831 MB / 307.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004807/0.4479, allocations: 382 kB / 308 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001556/0.4495, allocations: 288 kB / 308.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.466, allocations: 3.643 MB / 311.9 MB, free: 11.17 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001641/0.4663, allocations: 17.12 kB / 311.9 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000721/0.467, allocations: 121.5 kB / 312 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002495/0.4673, allocations: 115.2 kB / 312.1 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.4782, allocations: 3.058 MB / 315.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02955/0.5078, allocations: 11.76 MB / 326.9 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004767/0.5126, allocations: 2.823 MB / 329.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003461/0.513, allocations: 128.1 kB / 329.9 MB, free: 1.785 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002799/0.5158, allocations: 1.155 MB / 331 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of pre-optimization done (n=152): time 7.644e-06/0.5158, allocations: 0 / 331 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of matching and sorting (n=172): time 0.05966/0.5755, allocations: 9.279 MB / 340.3 MB, free: 7.254 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002533/0.5758, allocations: 304.7 kB / 340.6 MB, free: 6.891 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007016/0.5829, allocations: 2.001 MB / 342.6 MB, free: 4.852 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005883/0.5835, allocations: 65.69 kB / 342.7 MB, free: 4.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002369/0.5859, allocations: 1.359 MB / 344 MB, free: 3.414 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001316/0.5873, allocations: 0.5722 MB / 344.6 MB, free: 2.848 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.5876, allocations: 40 kB / 344.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003331/0.5879, allocations: 389.9 kB / 345 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004744/0.5927, allocations: 1.031 MB / 346.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005675/0.5984, allocations: 1.569 MB / 347.6 MB, free: 15.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005463/0.6039, allocations: 1.239 MB / 348.9 MB, free: 14.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-05/0.604, allocations: 7.953 kB / 348.9 MB, free: 14.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01704/0.6211, allocations: 3.633 MB / 352.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.6212, allocations: 12 kB / 352.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-05/0.6212, allocations: 13.12 kB / 352.5 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007291/0.6285, allocations: 1.15 MB / 353.7 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/0.6329, allocations: 379.3 kB / 354.1 MB, free: 9.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03709/0.67, allocations: 14.33 MB / 368.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004972/0.675, allocations: 167.8 kB / 368.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005673/0.6756, allocations: 79.98 kB / 368.6 MB, free: 9.957 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (211): * Single equations (assignments): 204 * 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%) 21,(2,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003787/0.6794, allocations: 0.9026 MB / 369.5 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/0.6806, allocations: 229.3 kB / 369.8 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/0.6957, allocations: 3.384 MB / 373.1 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.642e-05/0.6958, allocations: 7.969 kB / 373.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.6958, allocations: 0 / 373.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002027/0.6979, allocations: 0.5177 MB / 373.7 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006985/0.6986, allocations: 44.08 kB / 373.7 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/0.701, allocations: 139.8 kB / 373.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000594/0.7016, allocations: 181.7 kB / 374 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0199/0.7216, allocations: 3.574 MB / 377.6 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01639/0.738, allocations: 3.772 MB / 381.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004684/0.7427, allocations: 1.123 MB / 382.5 MB, free: 12.1 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.005182/0.748, allocations: 1.358 MB / 383.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of Backend: time 1.703e-06/0.748, allocations: 0 / 383.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01333/0.7614, allocations: 2.784 MB / 386.6 MB, free: 7.879 MB / 314.7 MB Notification: Performance of SimCode: time 0.02742/0.7888, allocations: 7.438 MB / 394.1 MB, free: 412 kB / 314.7 MB Notification: Performance of Templates: time 0.1149/0.9038, allocations: 35.45 MB / 429.5 MB, free: 13.05 MB / 362.7 MB