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_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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.675/1.675, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003426, allocations: 8 kB / 233.9 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07695/0.07731, allocations: 38.78 MB / 272.6 MB, free: 9.434 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01577/0.09314, allocations: 9.342 MB / 282 MB, free: 44 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2465/0.3397, allocations: 3.718 MB / 285.7 MB, free: 9.094 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002128/0.3418, allocations: 45.75 kB / 285.7 MB, free: 9.082 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.3451, allocations: 0.678 MB / 286.4 MB, free: 8.941 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004122/0.3493, allocations: 0.8201 MB / 287.2 MB, free: 8.895 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.351, allocations: 319.3 kB / 287.6 MB, free: 8.891 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00512/0.3561, allocations: 2.092 MB / 289.6 MB, free: 8.789 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003455/0.3596, allocations: 1.687 MB / 291.3 MB, free: 8.48 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002742/0.3624, allocations: 1.028 MB / 292.4 MB, free: 8.078 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003594/0.366, allocations: 1.294 MB / 293.7 MB, free: 7.566 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008559/0.3669, allocations: 160.4 kB / 293.8 MB, free: 7.566 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.3688, allocations: 268.2 kB / 294.1 MB, free: 7.551 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.3701, allocations: 0.7755 MB / 294.9 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.3715, allocations: 0.5797 MB / 295.4 MB, free: 6.891 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006014/0.3775, allocations: 3.937 MB / 299.4 MB, free: 4.266 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3776, allocations: 0 / 299.4 MB, free: 4.266 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3776, allocations: 0 / 299.4 MB, free: 4.266 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001388/0.3777, allocations: 5.469 kB / 299.4 MB, free: 4.262 MB / 234.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.01015/0.3879, allocations: 2.933 MB / 302.3 MB, free: 2.324 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.388, allocations: 8.75 kB / 302.3 MB, free: 2.324 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/0.3906, allocations: 414.5 kB / 302.7 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005318/0.396, allocations: 1.624 MB / 304.3 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.3963, allocations: 192.7 kB / 304.5 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009585/0.3972, allocations: 248.3 kB / 304.8 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009983/0.4072, allocations: 3.214 MB / 308 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.4074, allocations: 3.406 kB / 308 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004233/0.4078, allocations: 105.2 kB / 308.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000228/0.4081, allocations: 117.2 kB / 308.2 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008664/0.4168, allocations: 2.68 MB / 310.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02809/0.4449, allocations: 10.34 MB / 321.2 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/0.4487, allocations: 1.754 MB / 323 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003838/0.4491, allocations: 126.1 kB / 323.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.4492, allocations: 47.56 kB / 323.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=113): time 4.198e-06/0.4492, allocations: 0 / 323.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=135): time 0.03549/0.4847, allocations: 8.518 MB / 331.7 MB, free: 7.145 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.4848, allocations: 64.72 kB / 331.7 MB, free: 7.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004114/0.4889, allocations: 1.778 MB / 333.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000307/0.4893, allocations: 49.7 kB / 333.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001491/0.4908, allocations: 1.235 MB / 334.8 MB, free: 3.988 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007836/0.4916, allocations: 478 kB / 335.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.4918, allocations: 32 kB / 335.3 MB, free: 3.484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.492, allocations: 377.9 kB / 335.7 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002678/0.4947, allocations: 0.8472 MB / 336.5 MB, free: 2.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003127/0.4979, allocations: 1.338 MB / 337.8 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/0.5011, allocations: 1.049 MB / 338.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-05/0.5011, allocations: 4 kB / 338.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.008902/0.51, allocations: 2.89 MB / 341.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.5101, allocations: 12.91 kB / 341.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.645e-05/0.5102, allocations: 20 kB / 341.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/0.5126, allocations: 0.5402 MB / 342.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/0.5156, allocations: 407.3 kB / 342.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.5272, allocations: 5.254 MB / 348 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/0.5301, allocations: 139.8 kB / 348.2 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.5304, allocations: 74.5 kB / 348.2 MB, free: 6.176 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (183): * Single equations (assignments): 179 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002074/0.5325, allocations: 0.7822 MB / 349 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000633/0.5331, allocations: 201.6 kB / 349.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007472/0.5406, allocations: 2.505 MB / 351.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/0.5407, allocations: 11.97 kB / 351.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.5407, allocations: 128 / 351.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/0.5423, allocations: 458.5 kB / 352.2 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000497/0.5428, allocations: 28 kB / 352.2 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/0.5448, allocations: 123.8 kB / 352.3 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003693/0.5452, allocations: 113.1 kB / 352.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009504/0.5547, allocations: 2.638 MB / 355.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008395/0.5632, allocations: 3.227 MB / 358.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002458/0.5657, allocations: 0.9081 MB / 359.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002977/0.5687, allocations: 1.224 MB / 360.4 MB, free: 9.902 MB / 298.7 MB Notification: Performance of Backend: time 6.91e-07/0.5687, allocations: 0 / 360.4 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.006081/0.5748, allocations: 1.813 MB / 362.2 MB, free: 8.055 MB / 298.7 MB Notification: Performance of SimCode: time 0.01405/0.5889, allocations: 6.229 MB / 368.5 MB, free: 1.77 MB / 298.7 MB Notification: Performance of Templates: time 0.08113/0.67, allocations: 27.4 MB / 395.9 MB, free: 6.406 MB / 330.7 MB