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_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.DCSE_Start,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_Start") Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09196, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01107/0.1031, allocations: 6.508 MB / 315.6 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006259/0.1094, allocations: 2.532 MB / 318.1 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.1105, allocations: 23.94 kB / 318.1 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.1126, allocations: 477.7 kB / 318.6 MB, free: 6.785 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.1146, allocations: 490.5 kB / 319.1 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000677/0.1153, allocations: 151.8 kB / 319.2 MB, free: 6.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.1179, allocations: 1.03 MB / 320.3 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000952/0.1189, allocations: 423.2 kB / 320.7 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007998/0.1197, allocations: 438.2 kB / 321.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007848/0.1205, allocations: 481.8 kB / 321.6 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.1207, allocations: 64 kB / 321.6 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.1211, allocations: 103.9 kB / 321.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.1213, allocations: 179.2 kB / 321.9 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.1217, allocations: 261.1 kB / 322.2 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.1236, allocations: 1.297 MB / 323.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1236, allocations: 0 / 323.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1236, allocations: 4 kB / 323.5 MB, free: 1.887 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.1236, allocations: 0 / 323.5 MB, free: 1.887 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003146/0.1268, allocations: 1.25 MB / 324.7 MB, free: 0.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1268, allocations: 8.031 kB / 324.7 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007659/0.1276, allocations: 178.4 kB / 324.9 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.1293, allocations: 0.703 MB / 325.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.1294, allocations: 69.98 kB / 325.7 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.1297, allocations: 103.9 kB / 325.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/0.1322, allocations: 0.9229 MB / 326.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/0.1322, allocations: 0 / 326.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.1324, allocations: 40 kB / 326.7 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.1324, allocations: 24 kB / 326.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.1344, allocations: 0.6441 MB / 327.4 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007785/0.1422, allocations: 3.891 MB / 331.3 MB, free: 9.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.1434, allocations: 437.5 kB / 331.7 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.532e-05/0.1435, allocations: 4.328 kB / 331.7 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.1435, allocations: 34.89 kB / 331.8 MB, free: 9.211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 3.717e-06/0.1435, allocations: 3.938 kB / 331.8 MB, free: 9.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=44): time 0.004081/0.1476, allocations: 1.383 MB / 333.1 MB, free: 7.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.1477, allocations: 85.09 kB / 333.2 MB, free: 7.648 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.1493, allocations: 0.7628 MB / 334 MB, free: 6.879 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/0.1493, allocations: 33.7 kB / 334 MB, free: 6.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005947/0.1499, allocations: 0.5603 MB / 334.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.1501, allocations: 165.7 kB / 334.7 MB, free: 6.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1502, allocations: 16 kB / 334.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1503, allocations: 337.9 kB / 335.1 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000551/0.1509, allocations: 161.9 kB / 335.2 MB, free: 5.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008298/0.1518, allocations: 456 kB / 335.7 MB, free: 5.016 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.1525, allocations: 245.5 kB / 335.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.1525, allocations: 11.88 kB / 335.9 MB, free: 4.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002132/0.1547, allocations: 0.7473 MB / 336.7 MB, free: 4.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.1547, allocations: 11.98 kB / 336.7 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.1547, allocations: 8.438 kB / 336.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.1551, allocations: 73.69 kB / 336.8 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009631/0.1561, allocations: 151.8 kB / 336.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.1591, allocations: 2.806 MB / 339.7 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009245/0.16, allocations: 39.89 kB / 339.8 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/0.1601, allocations: 35.95 kB / 339.8 MB, free: 0.6094 MB / 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 (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.0005829/0.1607, allocations: 261.7 kB / 340.1 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.1609, allocations: 82.97 kB / 340.1 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.1623, allocations: 475.4 kB / 340.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.1624, allocations: 7.984 kB / 340.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1624, allocations: 0 / 340.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.1627, allocations: 188 kB / 340.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.1629, allocations: 8.125 kB / 340.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/0.1635, allocations: 31.98 kB / 340.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1637, allocations: 31.95 kB / 340.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001751/0.1654, allocations: 0.5141 MB / 341.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001701/0.1671, allocations: 0.7299 MB / 342.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004497/0.1676, allocations: 148.5 kB / 342.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001056/0.1687, allocations: 0.5068 MB / 342.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of Backend: time 8.12e-07/0.1687, allocations: 4 kB / 342.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.1706, allocations: 0.6653 MB / 343.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of SimCode: time 0.005421/0.1761, allocations: 2.638 MB / 346.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of Templates: time 0.03067/0.2068, allocations: 9.573 MB / 355.6 MB, free: 0.6719 MB / 298.7 MB