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.DCMachines.DCSE_Start.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.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 1.726/1.726, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005582/0.0005583, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.09574, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01694/0.1127, allocations: 6.492 MB / 279.1 MB, free: 5.012 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008895/0.1217, allocations: 2.528 MB / 281.7 MB, free: 2.477 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.123, allocations: 23.94 kB / 281.7 MB, free: 2.453 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003204/0.1262, allocations: 481.7 kB / 282.2 MB, free: 1.98 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.1296, allocations: 486.6 kB / 282.6 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.1308, allocations: 151.8 kB / 282.8 MB, free: 1.355 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003747/0.1346, allocations: 1.038 MB / 283.8 MB, free: 324 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.136, allocations: 423.2 kB / 284.2 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.1373, allocations: 438.2 kB / 284.7 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.1386, allocations: 485.7 kB / 285.1 MB, free: 14.99 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002722/0.1389, allocations: 64 kB / 285.2 MB, free: 14.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006672/0.1395, allocations: 95.98 kB / 285.3 MB, free: 14.83 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.1399, allocations: 183.2 kB / 285.5 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004965/0.1404, allocations: 253.1 kB / 285.7 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003016/0.1435, allocations: 1.305 MB / 287 MB, free: 13.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1435, allocations: 0 / 287 MB, free: 13.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.437e-06/0.1435, allocations: 0 / 287 MB, free: 13.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.125e-05/0.1436, allocations: 4 kB / 287 MB, free: 13.09 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004839/0.1485, allocations: 1.25 MB / 288.3 MB, free: 11.78 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/0.1486, allocations: 8.031 kB / 288.3 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.1499, allocations: 178.4 kB / 288.5 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.1525, allocations: 0.7029 MB / 289.2 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.1527, allocations: 74 kB / 289.2 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/0.1531, allocations: 99.91 kB / 289.3 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004071/0.1571, allocations: 0.919 MB / 290.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.791e-05/0.1573, allocations: 0 / 290.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.1575, allocations: 40 kB / 290.3 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/0.1576, allocations: 28 kB / 290.3 MB, free: 9.672 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/0.1609, allocations: 0.6441 MB / 291 MB, free: 9.023 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/0.1736, allocations: 3.887 MB / 294.8 MB, free: 4.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.1753, allocations: 450.5 kB / 295.3 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.061e-05/0.1754, allocations: 4.328 kB / 295.3 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/0.1755, allocations: 34.89 kB / 295.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 5.24e-06/0.1755, allocations: 0 / 295.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=44): time 0.007327/0.1828, allocations: 1.39 MB / 296.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.183, allocations: 85.09 kB / 296.8 MB, free: 2.832 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.1849, allocations: 0.7589 MB / 297.6 MB, free: 2.066 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.1851, allocations: 37.64 kB / 297.6 MB, free: 2.023 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.1861, allocations: 0.5604 MB / 298.1 MB, free: 1.453 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003538/0.1865, allocations: 161.7 kB / 298.3 MB, free: 1.293 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.1866, allocations: 16 kB / 298.3 MB, free: 1.277 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002524/0.1869, allocations: 330 kB / 298.6 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009591/0.1879, allocations: 165.9 kB / 298.8 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.1894, allocations: 459.9 kB / 299.3 MB, free: 204 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2121/0.4015, allocations: 236.3 kB / 299.5 MB, free: 29.72 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/0.4016, allocations: 5.875 kB / 299.5 MB, free: 29.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002311/0.4039, allocations: 0.7446 MB / 300.2 MB, free: 29.62 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.404, allocations: 9.234 kB / 300.2 MB, free: 29.62 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.404, allocations: 9.625 kB / 300.3 MB, free: 29.62 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003477/0.4044, allocations: 74.77 kB / 300.3 MB, free: 29.61 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009505/0.4053, allocations: 157 kB / 300.5 MB, free: 29.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.4078, allocations: 2.807 MB / 303.3 MB, free: 27.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009104/0.4088, allocations: 38.69 kB / 303.3 MB, free: 27.01 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.4088, allocations: 33.5 kB / 303.4 MB, free: 27.01 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005393/0.4094, allocations: 260.1 kB / 303.6 MB, free: 26.88 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.4096, allocations: 88.16 kB / 303.7 MB, free: 26.88 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.4109, allocations: 484.2 kB / 304.2 MB, free: 26.72 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.411, allocations: 5.984 kB / 304.2 MB, free: 26.72 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.411, allocations: 0 / 304.2 MB, free: 26.72 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.4113, allocations: 184.7 kB / 304.4 MB, free: 26.6 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.4115, allocations: 11.69 kB / 304.4 MB, free: 26.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.4122, allocations: 26.81 kB / 304.4 MB, free: 26.59 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.4123, allocations: 37.92 kB / 304.4 MB, free: 26.58 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001789/0.4141, allocations: 0.5031 MB / 304.9 MB, free: 26.35 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001611/0.4157, allocations: 0.7282 MB / 305.7 MB, free: 25.95 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004325/0.4162, allocations: 146.3 kB / 305.8 MB, free: 25.9 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0009925/0.4172, allocations: 0.5087 MB / 306.3 MB, free: 25.67 MB / 250.7 MB Notification: Performance of Backend: time 6.21e-07/0.4172, allocations: 3.875 kB / 306.3 MB, free: 25.67 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.4191, allocations: 0.664 MB / 307 MB, free: 25.26 MB / 250.7 MB Notification: Performance of SimCode: time 0.005185/0.4243, allocations: 2.645 MB / 309.6 MB, free: 23.48 MB / 250.7 MB Notification: Performance of Templates: time 0.03014/0.4545, allocations: 9.571 MB / 319.2 MB, free: 19.93 MB / 250.7 MB