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_SinglePhase.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_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadModel(Modelica): time 1.669/1.669, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005363/0.0005365, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1127, 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_SinglePhase): time 0.01673/0.1295, allocations: 6.62 MB / 279.3 MB, free: 4.879 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008957/0.1385, allocations: 2.575 MB / 281.8 MB, free: 2.297 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.14, allocations: 23.94 kB / 281.9 MB, free: 2.273 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003142/0.1432, allocations: 489.6 kB / 282.3 MB, free: 1.793 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.1464, allocations: 494.6 kB / 282.8 MB, free: 1.309 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.1477, allocations: 163.8 kB / 283 MB, free: 1.148 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004008/0.1517, allocations: 1.053 MB / 284 MB, free: 96 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.1534, allocations: 435.2 kB / 284.5 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.1548, allocations: 442.2 kB / 284.9 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.1564, allocations: 497.7 kB / 285.4 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004329/0.1569, allocations: 60 kB / 285.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008404/0.1578, allocations: 104 kB / 285.5 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.1581, allocations: 183.2 kB / 285.7 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.1588, allocations: 265.1 kB / 286 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.1619, allocations: 1.32 MB / 287.3 MB, free: 12.81 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1619, allocations: 0 / 287.3 MB, free: 12.81 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.162, allocations: 4 kB / 287.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.576e-05/0.162, allocations: 0 / 287.3 MB, free: 12.8 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.005051/0.1671, allocations: 1.277 MB / 288.6 MB, free: 11.47 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/0.1672, allocations: 15.95 kB / 288.6 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.1687, allocations: 174.4 kB / 288.8 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.1717, allocations: 0.7192 MB / 289.5 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.1719, allocations: 73.94 kB / 289.6 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003582/0.1723, allocations: 103.9 kB / 289.7 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004183/0.1765, allocations: 0.9308 MB / 290.6 MB, free: 9.391 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.993e-05/0.1766, allocations: 3.938 kB / 290.6 MB, free: 9.387 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/0.1769, allocations: 44 kB / 290.6 MB, free: 9.344 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/0.1769, allocations: 24 kB / 290.7 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003594/0.1806, allocations: 0.6559 MB / 291.3 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.1931, allocations: 3.926 MB / 295.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.1948, allocations: 451.8 kB / 295.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.394e-05/0.1949, allocations: 4.688 kB / 295.7 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.195, allocations: 46.5 kB / 295.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of pre-optimization done (n=41): time 5.069e-06/0.195, allocations: 0 / 295.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.00644/0.2015, allocations: 1.445 MB / 297.2 MB, free: 2.465 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.2016, allocations: 85.05 kB / 297.3 MB, free: 2.363 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/0.2039, allocations: 0.7863 MB / 298 MB, free: 1.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.2041, allocations: 29.7 kB / 298.1 MB, free: 1.535 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008016/0.2049, allocations: 0.5721 MB / 298.6 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.2052, allocations: 161.7 kB / 298.8 MB, free: 0.793 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.2053, allocations: 16 kB / 298.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.2055, allocations: 333.9 kB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00092/0.2064, allocations: 173.9 kB / 299.3 MB, free: 280 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2393/0.4458, allocations: 464.5 kB / 299.8 MB, free: 29.7 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.4472, allocations: 251.5 kB / 300 MB, free: 29.7 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.348e-05/0.4473, allocations: 2.5 kB / 300 MB, free: 29.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003628/0.451, allocations: 0.7673 MB / 300.8 MB, free: 29.6 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.844e-05/0.4511, allocations: 9.219 kB / 300.8 MB, free: 29.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.87e-05/0.4512, allocations: 13.39 kB / 300.8 MB, free: 29.6 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/0.4517, allocations: 72.45 kB / 300.9 MB, free: 29.58 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.4531, allocations: 160.2 kB / 301 MB, free: 29.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.4557, allocations: 2.813 MB / 303.8 MB, free: 26.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009807/0.4567, allocations: 43.31 kB / 303.9 MB, free: 26.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.4568, allocations: 33.73 kB / 303.9 MB, free: 26.98 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 (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.0005887/0.4574, allocations: 268.8 kB / 304.2 MB, free: 26.78 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.4576, allocations: 90.06 kB / 304.3 MB, free: 26.78 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.4592, allocations: 0.4929 MB / 304.8 MB, free: 26.55 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.4592, allocations: 2.547 kB / 304.8 MB, free: 26.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4592, allocations: 0.5312 kB / 304.8 MB, free: 26.55 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.4597, allocations: 191.3 kB / 305 MB, free: 26.43 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.4599, allocations: 10.59 kB / 305 MB, free: 26.42 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006993/0.4606, allocations: 38.81 kB / 305 MB, free: 26.41 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.4608, allocations: 36.22 kB / 305 MB, free: 26.41 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001889/0.4627, allocations: 0.5252 MB / 305.6 MB, free: 26.16 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001851/0.4645, allocations: 0.7792 MB / 306.3 MB, free: 25.73 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005374/0.4651, allocations: 154.9 kB / 306.5 MB, free: 25.68 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001039/0.4662, allocations: 0.5217 MB / 307 MB, free: 25.45 MB / 250.7 MB Notification: Performance of Backend: time 5.51e-07/0.4662, allocations: 1.344 kB / 307 MB, free: 25.45 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.4681, allocations: 0.6679 MB / 307.7 MB, free: 25.03 MB / 250.7 MB Notification: Performance of SimCode: time 0.005121/0.4733, allocations: 2.685 MB / 310.4 MB, free: 23.23 MB / 250.7 MB Notification: Performance of Templates: time 0.03044/0.5038, allocations: 9.76 MB / 320.1 MB, free: 19.5 MB / 250.7 MB