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.SMPM_Inverter.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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.7/1.7, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 11.98 kB / 233.9 MB, free: 2.367 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0843/0.08466, allocations: 38.77 MB / 272.6 MB, free: 11.51 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01414/0.09886, allocations: 8.371 MB / 281 MB, free: 3.102 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008256/0.1072, allocations: 3.287 MB / 284.3 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.1086, allocations: 47.75 kB / 284.3 MB, free: 15.76 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.1109, allocations: 0.6453 MB / 285 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.1137, allocations: 0.7205 MB / 285.7 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.1149, allocations: 263.6 kB / 286 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004415/0.1193, allocations: 1.806 MB / 287.8 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003083/0.1224, allocations: 1.544 MB / 289.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/0.1243, allocations: 0.8796 MB / 290.2 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.1266, allocations: 1.089 MB / 291.3 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005481/0.1272, allocations: 140 kB / 291.4 MB, free: 8.633 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009945/0.1282, allocations: 207.8 kB / 291.6 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.1294, allocations: 0.6699 MB / 292.3 MB, free: 7.758 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000978/0.1304, allocations: 0.5159 MB / 292.8 MB, free: 7.234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005623/0.136, allocations: 3.413 MB / 296.2 MB, free: 3.812 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1361, allocations: 0 / 296.2 MB, free: 3.812 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1361, allocations: 4 kB / 296.2 MB, free: 3.809 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001298/0.1362, allocations: 0 / 296.2 MB, free: 3.809 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: 580 * Number of variables: 580 Notification: Performance of Generate backend data structure: time 0.00836/0.1446, allocations: 2.554 MB / 298.8 MB, free: 1.191 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.1447, allocations: 15.95 kB / 298.8 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.1462, allocations: 304.6 kB / 299.1 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2134/0.3596, allocations: 1.422 MB / 300.5 MB, free: 28.49 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.3599, allocations: 165.8 kB / 300.7 MB, free: 28.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006746/0.3606, allocations: 223 kB / 300.9 MB, free: 28.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008266/0.3688, allocations: 2.877 MB / 303.8 MB, free: 27.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.63e-05/0.369, allocations: 10.92 kB / 303.8 MB, free: 27.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002992/0.3693, allocations: 91.89 kB / 303.9 MB, free: 27.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/0.3695, allocations: 114.2 kB / 304 MB, free: 27.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007524/0.377, allocations: 2.418 MB / 306.4 MB, free: 26.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02083/0.3979, allocations: 9.019 MB / 315.4 MB, free: 20.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.4011, allocations: 1.676 MB / 317.1 MB, free: 19.48 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.4014, allocations: 129.9 kB / 317.2 MB, free: 19.37 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.4015, allocations: 43.5 kB / 317.3 MB, free: 19.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=103): time 5.119e-06/0.4015, allocations: 3.984 kB / 317.3 MB, free: 19.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=123): time 0.02539/0.4269, allocations: 7.318 MB / 324.6 MB, free: 13.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.4269, allocations: 68.39 kB / 324.7 MB, free: 13.42 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.4294, allocations: 1.427 MB / 326.1 MB, free: 11.98 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002117/0.4296, allocations: 41.7 kB / 326.1 MB, free: 11.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007558/0.4304, allocations: 1.092 MB / 327.2 MB, free: 10.83 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004386/0.4308, allocations: 435.6 kB / 327.6 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.431, allocations: 28 kB / 327.7 MB, free: 10.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4311, allocations: 365.9 kB / 328 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.433, allocations: 0.7496 MB / 328.8 MB, free: 9.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.435, allocations: 1.164 MB / 329.9 MB, free: 7.934 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.4371, allocations: 0.9199 MB / 330.9 MB, free: 7.012 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.4371, allocations: 4 kB / 330.9 MB, free: 7.008 MB / 250.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008474/0.4456, allocations: 2.613 MB / 333.5 MB, free: 4.375 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.4457, allocations: 11.95 kB / 333.5 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/0.4458, allocations: 23.83 kB / 333.5 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002864/0.4486, allocations: 0.545 MB / 334.1 MB, free: 3.789 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/0.4519, allocations: 351.4 kB / 334.4 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/0.4685, allocations: 6.507 MB / 340.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/0.4714, allocations: 111.9 kB / 341 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002944/0.4717, allocations: 67.98 kB / 341.1 MB, free: 12.51 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (165): * Single equations (assignments): 162 * 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: 2 * 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: 2 {(6,72.2%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002448/0.4742, allocations: 0.7119 MB / 341.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000609/0.4748, allocations: 169.9 kB / 342 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009362/0.4842, allocations: 2.305 MB / 344.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.225e-05/0.4843, allocations: 3.984 kB / 344.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.4843, allocations: 4 kB / 344.3 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/0.486, allocations: 394.8 kB / 344.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005881/0.4866, allocations: 28.11 kB / 344.7 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/0.4888, allocations: 111.8 kB / 344.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/0.4892, allocations: 105.1 kB / 344.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01178/0.501, allocations: 2.429 MB / 347.3 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0097/0.5108, allocations: 2.869 MB / 350.2 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002786/0.5136, allocations: 0.8027 MB / 351 MB, free: 2.523 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003032/0.5167, allocations: 0.9603 MB / 352 MB, free: 1.566 MB / 266.7 MB Notification: Performance of Backend: time 9.52e-07/0.5167, allocations: 0 / 352 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.007115/0.5238, allocations: 1.765 MB / 353.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of SimCode: time 0.01329/0.5371, allocations: 5.871 MB / 359.6 MB, free: 9.82 MB / 282.7 MB Notification: Performance of Templates: time 0.07165/0.6088, allocations: 24.93 MB / 384.5 MB, free: 0.9297 MB / 298.7 MB