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.DCSE_SinglePhase.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.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004792, allocations: 11.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, allocations: 44.5 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01114/0.1681, allocations: 6.621 MB / 315.7 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006118/0.1742, allocations: 2.591 MB / 318.3 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009623/0.1753, allocations: 27.88 kB / 318.3 MB, free: 7.082 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.1772, allocations: 477.7 kB / 318.8 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.1793, allocations: 498.5 kB / 319.3 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.1801, allocations: 155.8 kB / 319.4 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002762/0.1829, allocations: 1.061 MB / 320.5 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.184, allocations: 431.3 kB / 320.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008169/0.1848, allocations: 446.2 kB / 321.3 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008444/0.1857, allocations: 497.7 kB / 321.8 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.1859, allocations: 60 kB / 321.9 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.1864, allocations: 99.98 kB / 322 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.1866, allocations: 183.2 kB / 322.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.187, allocations: 265.1 kB / 322.4 MB, free: 2.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.1889, allocations: 1.32 MB / 323.7 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1889, allocations: 0 / 323.7 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.189, allocations: 0 / 323.7 MB, free: 1.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.189, allocations: 0 / 323.7 MB, free: 1.621 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003479/0.1925, allocations: 1.285 MB / 325 MB, free: 288 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.822e-05/0.1926, allocations: 8.031 kB / 325 MB, free: 280 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.1944, allocations: 182.3 kB / 325.2 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.1963, allocations: 0.7154 MB / 325.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.295e-05/0.1964, allocations: 74 kB / 326 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.1967, allocations: 99.91 kB / 326.1 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.1992, allocations: 0.9346 MB / 327 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.1993, allocations: 7.984 kB / 327 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.1994, allocations: 40 kB / 327.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.1994, allocations: 24 kB / 327.1 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.2016, allocations: 0.6559 MB / 327.7 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007887/0.2095, allocations: 3.926 MB / 331.7 MB, free: 9.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.2106, allocations: 444.5 kB / 332.1 MB, free: 8.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.2107, allocations: 8 kB / 332.1 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.2107, allocations: 34.56 kB / 332.1 MB, free: 8.816 MB / 282.7 MB Notification: Performance of pre-optimization done (n=41): time 3.416e-06/0.2108, allocations: 3.938 kB / 332.1 MB, free: 8.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.004208/0.215, allocations: 1.442 MB / 333.6 MB, free: 7.293 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.2151, allocations: 81.11 kB / 333.7 MB, free: 7.195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.2166, allocations: 0.7862 MB / 334.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.2167, allocations: 33.7 kB / 334.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005667/0.2172, allocations: 0.5682 MB / 335.1 MB, free: 5.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.2174, allocations: 165.6 kB / 335.2 MB, free: 5.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.2175, allocations: 16 kB / 335.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2176, allocations: 334 kB / 335.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.2182, allocations: 173.9 kB / 335.7 MB, free: 5.105 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008271/0.2191, allocations: 475.6 kB / 336.2 MB, free: 4.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007743/0.2199, allocations: 244 kB / 336.4 MB, free: 4.266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.2199, allocations: 7.938 kB / 336.4 MB, free: 4.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002135/0.2221, allocations: 0.7748 MB / 337.2 MB, free: 3.469 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.2221, allocations: 12 kB / 337.2 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.2221, allocations: 8 kB / 337.2 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/0.2225, allocations: 73.94 kB / 337.3 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.2235, allocations: 163.7 kB / 337.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.2265, allocations: 2.806 MB / 340.3 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008844/0.2274, allocations: 43.84 kB / 340.3 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.714e-05/0.2275, allocations: 32 kB / 340.3 MB, free: 64 kB / 282.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 (86): * Single equations (assignments): 84 * 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.0006468/0.2281, allocations: 261.7 kB / 340.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.2283, allocations: 86.97 kB / 340.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.2298, allocations: 0.4991 MB / 341.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2299, allocations: 0 / 341.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2299, allocations: 0 / 341.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.2302, allocations: 191.9 kB / 341.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.2304, allocations: 16.12 kB / 341.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006478/0.2311, allocations: 31.97 kB / 341.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.2312, allocations: 31.95 kB / 341.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001905/0.2331, allocations: 0.5329 MB / 342 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001892/0.235, allocations: 0.7687 MB / 342.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005008/0.2356, allocations: 159.9 kB / 342.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001094/0.2367, allocations: 0.5186 MB / 343.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of Backend: time 5.71e-07/0.2367, allocations: 0 / 343.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001963/0.2387, allocations: 0.6803 MB / 344.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of SimCode: time 0.005726/0.2444, allocations: 2.678 MB / 346.8 MB, free: 9.465 MB / 298.7 MB Notification: Performance of Templates: time 0.03109/0.2756, allocations: 9.776 MB / 356.6 MB, free: 15.75 MB / 314.7 MB