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.SMPM_Inverter.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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 12 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09099/0.09136, allocations: 44.5 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01437/0.1058, allocations: 8.361 MB / 317.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008104/0.1139, allocations: 3.334 MB / 320.8 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.1152, allocations: 43.81 kB / 320.8 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.1175, allocations: 0.6375 MB / 321.4 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.1202, allocations: 0.7204 MB / 322.2 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1213, allocations: 271.6 kB / 322.4 MB, free: 2.957 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003682/0.125, allocations: 1.798 MB / 324.2 MB, free: 1.156 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002725/0.1278, allocations: 1.536 MB / 325.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.1293, allocations: 0.864 MB / 326.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.1314, allocations: 1.128 MB / 327.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004108/0.1318, allocations: 140 kB / 327.9 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008666/0.1327, allocations: 207.9 kB / 328.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.1338, allocations: 0.6699 MB / 328.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007048/0.1345, allocations: 0.512 MB / 329.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004916/0.1394, allocations: 3.452 MB / 332.7 MB, free: 8.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1395, allocations: 0 / 332.7 MB, free: 8.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1395, allocations: 0 / 332.7 MB, free: 8.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.309e-05/0.1396, allocations: 0 / 332.7 MB, free: 8.598 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.008387/0.148, allocations: 2.582 MB / 335.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.148, allocations: 11.97 kB / 335.3 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.1495, allocations: 308.5 kB / 335.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00437/0.1539, allocations: 1.465 MB / 337.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.1542, allocations: 172.4 kB / 337.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006405/0.1548, allocations: 212 kB / 337.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008323/0.1632, allocations: 2.87 MB / 340.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.87e-05/0.1633, allocations: 11.91 kB / 340.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003308/0.1636, allocations: 87.98 kB / 340.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001991/0.1638, allocations: 116.3 kB / 340.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007398/0.1713, allocations: 2.418 MB / 343 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02348/0.1948, allocations: 9.051 MB / 352 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003734/0.1985, allocations: 1.686 MB / 353.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004067/0.199, allocations: 203.2 kB / 353.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.199, allocations: 47.55 kB / 353.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 4.027e-06/0.199, allocations: 0 / 353.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=124): time 0.0282/0.2273, allocations: 7.332 MB / 361.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.2273, allocations: 64.41 kB / 361.3 MB, free: 11.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/0.2305, allocations: 1.49 MB / 362.8 MB, free: 9.672 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.2307, allocations: 45.7 kB / 362.9 MB, free: 9.621 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.2319, allocations: 1.104 MB / 364 MB, free: 8.504 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00058/0.2325, allocations: 433.7 kB / 364.4 MB, free: 8.074 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.2326, allocations: 32 kB / 364.4 MB, free: 8.043 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.2328, allocations: 361.9 kB / 364.8 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.235, allocations: 0.7534 MB / 365.5 MB, free: 6.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.2375, allocations: 1.161 MB / 366.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.24, allocations: 0.9315 MB / 367.6 MB, free: 4.656 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.24, allocations: 8 kB / 367.6 MB, free: 4.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=193) (initialization): time 0.007724/0.2478, allocations: 2.618 MB / 370.3 MB, free: 2.012 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.2478, allocations: 8 kB / 370.3 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.2479, allocations: 16 kB / 370.3 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002397/0.2503, allocations: 0.5527 MB / 370.8 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/0.2529, allocations: 347.4 kB / 371.2 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2564/0.5093, allocations: 6.491 MB / 377.7 MB, free: 56.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.5114, allocations: 116 kB / 377.8 MB, free: 56.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.5116, allocations: 64.16 kB / 377.8 MB, free: 56.57 MB / 314.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 (166): * Single equations (assignments): 163 * 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.001766/0.5134, allocations: 0.7191 MB / 378.6 MB, free: 56.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004975/0.5139, allocations: 172.1 kB / 378.7 MB, free: 56.19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006755/0.5207, allocations: 2.315 MB / 381 MB, free: 55.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.167e-05/0.5208, allocations: 7.703 kB / 381 MB, free: 55.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.5208, allocations: 0.5156 kB / 381 MB, free: 55.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.522, allocations: 402.5 kB / 381.4 MB, free: 55.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004274/0.5225, allocations: 25.39 kB / 381.5 MB, free: 55.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/0.524, allocations: 112.6 kB / 381.6 MB, free: 55.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003499/0.5244, allocations: 98.3 kB / 381.7 MB, free: 55.09 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008649/0.5331, allocations: 2.432 MB / 384.1 MB, free: 54.34 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00705/0.5402, allocations: 2.878 MB / 387 MB, free: 53.19 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001781/0.542, allocations: 0.8047 MB / 387.8 MB, free: 52.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001972/0.544, allocations: 1.005 MB / 388.8 MB, free: 52.53 MB / 314.7 MB Notification: Performance of Backend: time 1.423e-06/0.544, allocations: 0 / 388.8 MB, free: 52.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005452/0.5495, allocations: 1.777 MB / 390.6 MB, free: 51.64 MB / 314.7 MB Notification: Performance of SimCode: time 0.01229/0.5618, allocations: 5.887 MB / 396.5 MB, free: 47.37 MB / 314.7 MB Notification: Performance of Templates: time 0.06566/0.6275, allocations: 25.7 MB / 422.2 MB, free: 21.73 MB / 314.7 MB