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_VoltageSource.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_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadModel(Modelica): time 1.639/1.639, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005085/0.0005086, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.08935, allocations: 38.78 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.01659/0.106, allocations: 9.513 MB / 282.2 MB, free: 1.977 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009198/0.1153, allocations: 3.669 MB / 285.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.1172, allocations: 55.75 kB / 285.9 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.1201, allocations: 0.7073 MB / 286.6 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003927/0.1241, allocations: 0.8256 MB / 287.4 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.1258, allocations: 339.5 kB / 287.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005175/0.131, allocations: 2.126 MB / 289.9 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004059/0.1351, allocations: 2.065 MB / 291.9 MB, free: 8.148 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.1373, allocations: 1.062 MB / 293 MB, free: 7.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002601/0.1399, allocations: 1.303 MB / 294.3 MB, free: 5.773 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000669/0.1406, allocations: 160 kB / 294.5 MB, free: 5.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.1418, allocations: 247.8 kB / 294.7 MB, free: 5.375 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.1434, allocations: 0.8647 MB / 295.6 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.1445, allocations: 0.6211 MB / 296.2 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2235/0.368, allocations: 4.237 MB / 300.4 MB, free: 13.42 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3681, allocations: 0.5625 kB / 300.4 MB, free: 13.42 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3681, allocations: 0 / 300.4 MB, free: 13.42 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000204/0.3683, allocations: 1.094 kB / 300.4 MB, free: 13.42 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: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.01043/0.3788, allocations: 3.122 MB / 303.5 MB, free: 12.03 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.3788, allocations: 8.812 kB / 303.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/0.3812, allocations: 389.7 kB / 303.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005568/0.3868, allocations: 1.737 MB / 305.7 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.3871, allocations: 218.1 kB / 305.9 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/0.3883, allocations: 282.2 kB / 306.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.3998, allocations: 3.644 MB / 309.8 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.4, allocations: 12.22 kB / 309.8 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004144/0.4004, allocations: 115.4 kB / 309.9 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002153/0.4006, allocations: 143.9 kB / 310.1 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009611/0.4102, allocations: 3.067 MB / 313.1 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03117/0.4415, allocations: 11.45 MB / 324.6 MB, free: 5.777 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004693/0.4462, allocations: 1.863 MB / 326.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005449/0.4468, allocations: 131.4 kB / 326.6 MB, free: 4.383 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.4469, allocations: 43.12 kB / 326.6 MB, free: 4.336 MB / 250.7 MB Notification: Performance of pre-optimization done (n=123): time 6.763e-06/0.4469, allocations: 0 / 326.6 MB, free: 4.336 MB / 250.7 MB Notification: Performance of matching and sorting (n=138): time 0.02817/0.4751, allocations: 6.452 MB / 333.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.4752, allocations: 72.72 kB / 333.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005795/0.481, allocations: 1.741 MB / 334.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004167/0.4815, allocations: 45.7 kB / 334.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002301/0.4838, allocations: 1.391 MB / 336.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.4849, allocations: 483.5 kB / 336.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.4852, allocations: 36 kB / 336.8 MB, free: 9.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003033/0.4855, allocations: 377.9 kB / 337.2 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003077/0.4886, allocations: 0.8053 MB / 338 MB, free: 8.801 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003926/0.4926, allocations: 1.357 MB / 339.4 MB, free: 7.211 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004256/0.4969, allocations: 1.042 MB / 340.4 MB, free: 6.191 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/0.497, allocations: 4 kB / 340.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01017/0.5071, allocations: 2.799 MB / 343.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.5072, allocations: 12.62 kB / 343.2 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.301e-05/0.5073, allocations: 16 kB / 343.2 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.5088, allocations: 371.6 kB / 343.6 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/0.5121, allocations: 435 kB / 344 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009169/0.5213, allocations: 6.038 MB / 350.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.5237, allocations: 135.7 kB / 350.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/0.524, allocations: 76 kB / 350.3 MB, free: 12.05 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (211): * Single equations (assignments): 207 * 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: 3 * 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 {(2,100.0%) 9,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002382/0.5264, allocations: 0.8942 MB / 351.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006169/0.527, allocations: 205.5 kB / 351.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006555/0.5336, allocations: 2.372 MB / 353.7 MB, free: 8.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.533e-05/0.5337, allocations: 7.969 kB / 353.7 MB, free: 8.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.5337, allocations: 3.953 kB / 353.7 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/0.5353, allocations: 444.7 kB / 354.2 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007308/0.5361, allocations: 31.92 kB / 354.2 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002554/0.5387, allocations: 95.88 kB / 354.3 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005221/0.5392, allocations: 97.16 kB / 354.4 MB, free: 7.883 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01264/0.5519, allocations: 2.342 MB / 356.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00921/0.5611, allocations: 3.131 MB / 359.9 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002162/0.5634, allocations: 0.8535 MB / 360.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00271/0.5661, allocations: 1.168 MB / 361.9 MB, free: 364 kB / 282.7 MB Notification: Performance of Backend: time 2.575e-06/0.5661, allocations: 0 / 361.9 MB, free: 364 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.005343/0.5715, allocations: 1.837 MB / 363.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of SimCode: time 0.01655/0.5881, allocations: 6.749 MB / 370.5 MB, free: 7.715 MB / 298.7 MB Notification: Performance of Templates: time 0.08239/0.6705, allocations: 26.63 MB / 397.1 MB, free: 13.19 MB / 330.7 MB