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.DCMachines.DCEE_Start.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.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09336, allocations: 44.51 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01091/0.1043, allocations: 6.419 MB / 315.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005859/0.1102, allocations: 2.501 MB / 318 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009577/0.1113, allocations: 23.94 kB / 318 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.1133, allocations: 473.7 kB / 318.5 MB, free: 6.895 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.1152, allocations: 466.7 kB / 318.9 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006614/0.1159, allocations: 151.7 kB / 319.1 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.1182, allocations: 0.9949 MB / 320.1 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008903/0.1191, allocations: 435.2 kB / 320.5 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007113/0.1198, allocations: 418.2 kB / 320.9 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007392/0.1206, allocations: 465.8 kB / 321.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.1207, allocations: 60 kB / 321.4 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/0.1212, allocations: 99.97 kB / 321.5 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.1214, allocations: 179.2 kB / 321.7 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003217/0.1217, allocations: 249.1 kB / 321.9 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.1237, allocations: 1.293 MB / 323.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1238, allocations: 3.938 kB / 323.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.1238, allocations: 0 / 323.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.664e-05/0.1238, allocations: 0 / 323.2 MB, free: 2.102 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003042/0.1269, allocations: 1.234 MB / 324.5 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1269, allocations: 8.031 kB / 324.5 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006569/0.1276, allocations: 162.3 kB / 324.6 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.1292, allocations: 0.6873 MB / 325.3 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.685e-05/0.1293, allocations: 70 kB / 325.4 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.1295, allocations: 104 kB / 325.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.132, allocations: 0.9151 MB / 326.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.066e-05/0.132, allocations: 0 / 326.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.1322, allocations: 40 kB / 326.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.1322, allocations: 24 kB / 326.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.1342, allocations: 0.6324 MB / 327.1 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007522/0.1418, allocations: 3.882 MB / 331 MB, free: 9.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008805/0.1427, allocations: 349.8 kB / 331.3 MB, free: 9.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.1428, allocations: 8 kB / 331.3 MB, free: 9.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.1428, allocations: 50.44 kB / 331.4 MB, free: 9.559 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 4.358e-06/0.1429, allocations: 0 / 331.4 MB, free: 9.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.005017/0.1479, allocations: 1.21 MB / 332.6 MB, free: 8.273 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.148, allocations: 85.09 kB / 332.7 MB, free: 8.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.1495, allocations: 0.7627 MB / 333.4 MB, free: 7.402 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.1495, allocations: 33.7 kB / 333.5 MB, free: 7.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005396/0.1501, allocations: 0.5601 MB / 334 MB, free: 6.793 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.1502, allocations: 142.1 kB / 334.2 MB, free: 6.652 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.1503, allocations: 12 kB / 334.2 MB, free: 6.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1505, allocations: 334 kB / 334.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005262/0.151, allocations: 145.9 kB / 334.7 MB, free: 6.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008026/0.1518, allocations: 464 kB / 335.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.1525, allocations: 227.6 kB / 335.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.1525, allocations: 11.95 kB / 335.3 MB, free: 5.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001971/0.1545, allocations: 0.6923 MB / 336 MB, free: 4.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.1546, allocations: 12 kB / 336 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.1546, allocations: 8.047 kB / 336.1 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.1548, allocations: 37.09 kB / 336.1 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009861/0.1558, allocations: 167.7 kB / 336.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.1572, allocations: 1.292 MB / 337.5 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.158, allocations: 39.98 kB / 337.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/0.1581, allocations: 28 kB / 337.6 MB, free: 2.918 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005597/0.1586, allocations: 261.7 kB / 337.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.1588, allocations: 82.97 kB / 338 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.16, allocations: 394.4 kB / 338.3 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.16, allocations: 0 / 338.3 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1601, allocations: 0 / 338.3 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.1604, allocations: 180 kB / 338.5 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.1606, allocations: 11.94 kB / 338.5 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/0.1611, allocations: 27.92 kB / 338.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-05/0.1612, allocations: 23.97 kB / 338.6 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001449/0.1627, allocations: 437.2 kB / 339 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00156/0.1643, allocations: 0.6619 MB / 339.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004167/0.1647, allocations: 124 kB / 339.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00102/0.1657, allocations: 0.5146 MB / 340.3 MB, free: 172 kB / 282.7 MB Notification: Performance of Backend: time 5.21e-07/0.1657, allocations: 0 / 340.3 MB, free: 172 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.1674, allocations: 0.5131 MB / 340.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of SimCode: time 0.005226/0.1726, allocations: 2.627 MB / 343.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of Templates: time 0.02889/0.2016, allocations: 8.668 MB / 352.1 MB, free: 4.336 MB / 298.7 MB