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.DCPM_QuasiStationary.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.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") Notification: Performance of loadModel(Modelica): time 2.102/2.102, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004947, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.09346, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary): time 0.01597/0.1095, allocations: 9.346 MB / 318.4 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00786/0.1174, allocations: 3.129 MB / 321.5 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.119, allocations: 35.88 kB / 321.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.1214, allocations: 0.513 MB / 322.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003101/0.1246, allocations: 0.7089 MB / 322.8 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.126, allocations: 243.7 kB / 323 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004065/0.1301, allocations: 1.549 MB / 324.6 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.1317, allocations: 0.6791 MB / 325.3 MB, free: 80 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.133, allocations: 0.6342 MB / 325.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.1345, allocations: 0.7115 MB / 326.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003476/0.1349, allocations: 99.94 kB / 326.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006819/0.1356, allocations: 132 kB / 326.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.1359, allocations: 282.8 kB / 327.1 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006444/0.1366, allocations: 384.8 kB / 327.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003307/0.1399, allocations: 2.049 MB / 329.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1399, allocations: 4 kB / 329.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.14, allocations: 0 / 329.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.464e-05/0.14, allocations: 0 / 329.5 MB, free: 11.78 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004796/0.1448, allocations: 1.752 MB / 331.3 MB, free: 9.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.1449, allocations: 8.031 kB / 331.3 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.146, allocations: 249.6 kB / 331.6 MB, free: 9.711 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/0.1487, allocations: 1.008 MB / 332.6 MB, free: 8.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.1489, allocations: 115.1 kB / 332.7 MB, free: 8.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000367/0.1493, allocations: 159.9 kB / 332.8 MB, free: 8.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004031/0.1533, allocations: 1.468 MB / 334.3 MB, free: 6.848 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.462e-05/0.1534, allocations: 8 kB / 334.3 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/0.1536, allocations: 60 kB / 334.4 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/0.1537, allocations: 40 kB / 334.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003208/0.1569, allocations: 0.9746 MB / 335.4 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01298/0.1699, allocations: 6.524 MB / 341.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.1713, allocations: 400.2 kB / 342.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.1714, allocations: 4.438 kB / 342.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008303/0.1723, allocations: 276.8 kB / 342.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 3.477e-06/0.1723, allocations: 3.938 kB / 342.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.005188/0.1775, allocations: 1.79 MB / 344.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.1776, allocations: 162.8 kB / 344.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.1801, allocations: 1.187 MB / 345.7 MB, free: 10.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.1802, allocations: 41.69 kB / 345.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.1813, allocations: 0.8596 MB / 346.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.1816, allocations: 213.1 kB / 346.8 MB, free: 9.773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.1816, allocations: 28 kB / 346.8 MB, free: 9.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1818, allocations: 345.9 kB / 347.2 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/0.1826, allocations: 234.5 kB / 347.4 MB, free: 9.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.1839, allocations: 0.7995 MB / 348.2 MB, free: 8.094 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.1851, allocations: 399.5 kB / 348.6 MB, free: 7.699 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.1851, allocations: 4 kB / 348.6 MB, free: 7.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003224/0.1883, allocations: 1.18 MB / 349.8 MB, free: 6.492 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.469e-05/0.1884, allocations: 41.7 kB / 349.8 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/0.1885, allocations: 16 kB / 349.8 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003284/0.1888, allocations: 70.34 kB / 349.9 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.1903, allocations: 271.6 kB / 350.2 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.193, allocations: 2.58 MB / 352.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.1945, allocations: 75.78 kB / 352.8 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.1947, allocations: 64 kB / 352.9 MB, free: 3.109 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008783/0.1956, allocations: 365.3 kB / 353.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.1959, allocations: 130.4 kB / 353.4 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.1976, allocations: 0.5646 MB / 353.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.1976, allocations: 3.984 kB / 353.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1977, allocations: 0 / 353.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/0.1983, allocations: 235.4 kB / 354.2 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/0.1985, allocations: 12 kB / 354.2 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007957/0.1994, allocations: 39.91 kB / 354.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.1995, allocations: 36.5 kB / 354.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002155/0.2017, allocations: 0.5901 MB / 354.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002167/0.2039, allocations: 0.8815 MB / 355.7 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005633/0.2045, allocations: 184.6 kB / 355.9 MB, free: 16 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001747/0.2062, allocations: 0.7758 MB / 356.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of Backend: time 6.42e-07/0.2063, allocations: 3.938 kB / 356.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.2089, allocations: 0.8775 MB / 357.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of SimCode: time 0.008172/0.2171, allocations: 3.657 MB / 361.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of Templates: time 0.2849/0.5021, allocations: 13.55 MB / 374.8 MB, free: 61.14 MB / 314.7 MB