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_Generator.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_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 2.289/2.289, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005176/0.0005178, allocations: 12 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1199, allocations: 44.51 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.02365/0.1436, allocations: 9.34 MB / 318.4 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.1565, allocations: 3.772 MB / 322.2 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/0.159, allocations: 47.75 kB / 322.2 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004222/0.1633, allocations: 0.6765 MB / 322.9 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.1687, allocations: 0.814 MB / 323.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.171, allocations: 339.4 kB / 324 MB, free: 1.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006573/0.1776, allocations: 2.087 MB / 326.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00473/0.1824, allocations: 1.682 MB / 327.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.1853, allocations: 1.004 MB / 328.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004151/0.1895, allocations: 1.319 MB / 330.1 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.1906, allocations: 168 kB / 330.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.1927, allocations: 355.6 kB / 330.7 MB, free: 10.69 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.1945, allocations: 0.7595 MB / 331.4 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.196, allocations: 0.5822 MB / 332 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008984/0.205, allocations: 3.985 MB / 336 MB, free: 5.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2051, allocations: 0 / 336 MB, free: 5.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.713e-06/0.2051, allocations: 0 / 336 MB, free: 5.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001474/0.2052, allocations: 3.938 kB / 336 MB, free: 5.336 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.01469/0.2199, allocations: 2.962 MB / 338.9 MB, free: 2.309 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.655e-05/0.22, allocations: 8.031 kB / 339 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003786/0.2238, allocations: 412.1 kB / 339.4 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008165/0.2321, allocations: 1.667 MB / 341 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004039/0.2325, allocations: 189 kB / 341.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001315/0.2339, allocations: 255.8 kB / 341.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.2442, allocations: 3.192 MB / 344.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.2444, allocations: 15.78 kB / 344.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004175/0.2448, allocations: 111.9 kB / 344.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002277/0.2451, allocations: 112.9 kB / 344.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009403/0.2545, allocations: 2.682 MB / 347.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02978/0.2843, allocations: 10.37 MB / 357.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004223/0.2886, allocations: 1.764 MB / 359.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/0.2891, allocations: 199.2 kB / 359.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.2892, allocations: 43.56 kB / 359.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=114): time 4.829e-06/0.2892, allocations: 0 / 359.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.04549/0.3347, allocations: 8.665 MB / 368.6 MB, free: 3.859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.3348, allocations: 68.72 kB / 368.7 MB, free: 3.777 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006623/0.3414, allocations: 1.844 MB / 370.5 MB, free: 1.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004608/0.342, allocations: 49.7 kB / 370.6 MB, free: 1.879 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001959/0.3439, allocations: 1.237 MB / 371.8 MB, free: 0.625 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009985/0.345, allocations: 469.2 kB / 372.3 MB, free: 164 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.3452, allocations: 36 kB / 372.3 MB, free: 128 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.3018/0.6471, allocations: 367.8 kB / 372.7 MB, free: 59.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003241/0.6504, allocations: 0.8499 MB / 373.5 MB, free: 59.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/0.6534, allocations: 1.337 MB / 374.8 MB, free: 58.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002972/0.6564, allocations: 1.055 MB / 375.9 MB, free: 58.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-05/0.6565, allocations: 4.75 kB / 375.9 MB, free: 58.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=212) (initialization): time 0.00891/0.6654, allocations: 2.898 MB / 378.8 MB, free: 57.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.6655, allocations: 11.62 kB / 378.8 MB, free: 57.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.386e-05/0.6655, allocations: 15.59 kB / 378.8 MB, free: 57.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002405/0.668, allocations: 0.5482 MB / 379.4 MB, free: 57.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/0.671, allocations: 405 kB / 379.8 MB, free: 57.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.682, allocations: 5.237 MB / 385 MB, free: 54.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/0.6847, allocations: 135.3 kB / 385.1 MB, free: 54.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/0.685, allocations: 71.97 kB / 385.2 MB, free: 54.51 MB / 314.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 (184): * Single equations (assignments): 180 * 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.001867/0.6869, allocations: 0.7867 MB / 386 MB, free: 54.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000608/0.6875, allocations: 204 kB / 386.2 MB, free: 54.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009441/0.697, allocations: 2.508 MB / 388.7 MB, free: 53.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.608e-05/0.6971, allocations: 11.5 kB / 388.7 MB, free: 53.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.6971, allocations: 0 / 388.7 MB, free: 53.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002226/0.6994, allocations: 462.3 kB / 389.2 MB, free: 52.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000916/0.7003, allocations: 27.88 kB / 389.2 MB, free: 52.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00342/0.7038, allocations: 123.4 kB / 389.3 MB, free: 52.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005574/0.7044, allocations: 112.7 kB / 389.4 MB, free: 52.82 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.014/0.7184, allocations: 2.645 MB / 392.1 MB, free: 51.75 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01242/0.7309, allocations: 3.249 MB / 395.3 MB, free: 49.32 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002276/0.7332, allocations: 0.9169 MB / 396.2 MB, free: 48.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002603/0.7359, allocations: 1.259 MB / 397.5 MB, free: 47.15 MB / 314.7 MB Notification: Performance of Backend: time 6.92e-07/0.7359, allocations: 0 / 397.5 MB, free: 47.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005627/0.7415, allocations: 1.815 MB / 399.3 MB, free: 45.31 MB / 314.7 MB Notification: Performance of SimCode: time 0.01248/0.7541, allocations: 6.247 MB / 405.6 MB, free: 39.04 MB / 314.7 MB Notification: Performance of Templates: time 0.07263/0.8268, allocations: 28.41 MB / 434 MB, free: 10.67 MB / 314.7 MB