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_CurrentSource.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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadModel(Modelica): time 2.18/2.18, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003397, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0937/0.09407, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01537/0.1095, allocations: 8.91 MB / 318 MB, free: 7.402 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008717/0.1183, allocations: 3.524 MB / 321.5 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.1197, allocations: 55.69 kB / 321.6 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.1222, allocations: 0.6841 MB / 322.2 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.1254, allocations: 0.7749 MB / 323 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1266, allocations: 291.7 kB / 323.3 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004642/0.1313, allocations: 1.923 MB / 325.2 MB, free: 140 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003561/0.1349, allocations: 1.796 MB / 327 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.1367, allocations: 0.934 MB / 328 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/0.139, allocations: 1.245 MB / 329.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004528/0.1395, allocations: 148 kB / 329.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009599/0.1405, allocations: 227.9 kB / 329.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.1417, allocations: 0.7633 MB / 330.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007969/0.1425, allocations: 0.5627 MB / 330.9 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005665/0.1482, allocations: 3.861 MB / 334.8 MB, free: 6.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1482, allocations: 0 / 334.8 MB, free: 6.547 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1482, allocations: 3.938 kB / 334.8 MB, free: 6.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.37e-05/0.1483, allocations: 0 / 334.8 MB, free: 6.543 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: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.008759/0.1571, allocations: 2.841 MB / 337.6 MB, free: 3.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.1572, allocations: 8.031 kB / 337.6 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.1584, allocations: 336.2 kB / 337.9 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004407/0.1628, allocations: 1.647 MB / 339.6 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/0.1631, allocations: 185 kB / 339.8 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005865/0.1637, allocations: 259.9 kB / 340 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008383/0.1721, allocations: 3.213 MB / 343.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-05/0.1722, allocations: 15.88 kB / 343.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003868/0.1726, allocations: 100 kB / 343.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002134/0.1728, allocations: 128.8 kB / 343.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007462/0.1803, allocations: 2.709 MB / 346.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02469/0.205, allocations: 10.45 MB / 356.6 MB, free: 88 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.208, allocations: 1.318 MB / 358 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004389/0.2084, allocations: 211.2 kB / 358.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.2085, allocations: 43.56 kB / 358.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 4.248e-06/0.2085, allocations: 0 / 358.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=121): time 0.02614/0.2346, allocations: 7.027 MB / 365.2 MB, free: 7.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.2347, allocations: 68.36 kB / 365.3 MB, free: 7.191 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/0.2384, allocations: 1.711 MB / 367 MB, free: 5.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001576/0.2385, allocations: 45.7 kB / 367.1 MB, free: 5.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.2399, allocations: 1.275 MB / 368.3 MB, free: 4.137 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005558/0.2405, allocations: 425.9 kB / 368.7 MB, free: 3.715 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.2406, allocations: 36 kB / 368.8 MB, free: 3.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.2409, allocations: 361.9 kB / 369.1 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.2429, allocations: 0.7613 MB / 369.9 MB, free: 2.559 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/0.2453, allocations: 1.281 MB / 371.2 MB, free: 1.039 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/0.2477, allocations: 0.9783 MB / 372.2 MB, free: 64 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.2478, allocations: 4 kB / 372.2 MB, free: 60 kB / 314.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.2668/0.5146, allocations: 2.447 MB / 374.6 MB, free: 59.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.5147, allocations: 14.75 kB / 374.6 MB, free: 59.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/0.5147, allocations: 16.41 kB / 374.6 MB, free: 59.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.5157, allocations: 246 kB / 374.9 MB, free: 59.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/0.5186, allocations: 416.4 kB / 375.3 MB, free: 59.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/0.5218, allocations: 3.026 MB / 378.3 MB, free: 56.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.5241, allocations: 128.4 kB / 378.4 MB, free: 56.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.5243, allocations: 70.31 kB / 378.5 MB, free: 56.24 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (197): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00192/0.5262, allocations: 0.8143 MB / 379.3 MB, free: 55.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004766/0.5267, allocations: 183.1 kB / 379.5 MB, free: 55.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005221/0.5319, allocations: 2.026 MB / 381.5 MB, free: 55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.577e-05/0.532, allocations: 11.08 kB / 381.5 MB, free: 54.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.532, allocations: 0.7031 kB / 381.5 MB, free: 54.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.5333, allocations: 425.2 kB / 381.9 MB, free: 54.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004122/0.5337, allocations: 22.39 kB / 382 MB, free: 54.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.5352, allocations: 101.4 kB / 382.1 MB, free: 54.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.5355, allocations: 73.52 kB / 382.1 MB, free: 54.78 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006136/0.5417, allocations: 2.052 MB / 384.2 MB, free: 54.04 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006082/0.5478, allocations: 3.001 MB / 387.2 MB, free: 52.76 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001542/0.5493, allocations: 0.8067 MB / 388 MB, free: 52.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002256/0.5516, allocations: 1.159 MB / 389.2 MB, free: 52.03 MB / 314.7 MB Notification: Performance of Backend: time 6.81e-07/0.5516, allocations: 0 / 389.2 MB, free: 52.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004213/0.5559, allocations: 1.742 MB / 390.9 MB, free: 51.12 MB / 314.7 MB Notification: Performance of SimCode: time 0.01094/0.5668, allocations: 5.927 MB / 396.8 MB, free: 46.95 MB / 314.7 MB Notification: Performance of Templates: time 0.08892/0.6558, allocations: 25.63 MB / 422.5 MB, free: 21.37 MB / 314.7 MB