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_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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadModel(Modelica): time 2.183/2.183, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 12 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.08964, allocations: 44.51 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009441/0.09913, allocations: 5.701 MB / 314.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005064/0.1042, allocations: 2.267 MB / 317 MB, free: 8.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007162/0.105, allocations: 19.94 kB / 317.1 MB, free: 8.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.1067, allocations: 418 kB / 317.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.1081, allocations: 394.9 kB / 317.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.1087, allocations: 131.8 kB / 318 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.1107, allocations: 0.8506 MB / 318.8 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007385/0.1114, allocations: 356.6 kB / 319.2 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005659/0.112, allocations: 346.6 kB / 319.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.1126, allocations: 382.2 kB / 319.9 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.1127, allocations: 48 kB / 319.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.1131, allocations: 95.97 kB / 320 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.1133, allocations: 147.4 kB / 320.2 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.1136, allocations: 221.1 kB / 320.4 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.1151, allocations: 1.079 MB / 321.5 MB, free: 3.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1151, allocations: 0 / 321.5 MB, free: 3.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1151, allocations: 0 / 321.5 MB, free: 3.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.1151, allocations: 0 / 321.5 MB, free: 3.875 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002453/0.1176, allocations: 1.087 MB / 322.6 MB, free: 2.738 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1177, allocations: 12.02 kB / 322.6 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005415/0.1182, allocations: 126.7 kB / 322.7 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.1196, allocations: 0.6134 MB / 323.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.337e-05/0.1197, allocations: 66 kB / 323.4 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.1198, allocations: 76 kB / 323.4 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.1218, allocations: 0.7793 MB / 324.2 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.1219, allocations: 7.906 kB / 324.2 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.122, allocations: 32 kB / 324.3 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.1221, allocations: 20 kB / 324.3 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.1237, allocations: 0.527 MB / 324.8 MB, free: 420 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006149/0.1299, allocations: 3.356 MB / 328.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007324/0.1307, allocations: 226.5 kB / 328.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.1307, allocations: 0 / 328.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.1308, allocations: 42.56 kB / 328.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 5.26e-06/0.1308, allocations: 0 / 328.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.003028/0.1338, allocations: 1.079 MB / 329.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.1339, allocations: 77.11 kB / 329.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.1351, allocations: 0.6801 MB / 330.3 MB, free: 10.63 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.1352, allocations: 29.7 kB / 330.3 MB, free: 10.6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.1356, allocations: 0.4904 MB / 330.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1358, allocations: 114.5 kB / 330.9 MB, free: 9.984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.1358, allocations: 8 kB / 330.9 MB, free: 9.977 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.136, allocations: 386.7 kB / 331.3 MB, free: 9.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.1365, allocations: 133.2 kB / 331.4 MB, free: 9.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006638/0.1371, allocations: 422.2 kB / 331.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.1377, allocations: 187.9 kB / 332 MB, free: 8.727 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.1378, allocations: 4 kB / 332 MB, free: 8.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001738/0.1395, allocations: 0.619 MB / 332.6 MB, free: 8.094 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.1396, allocations: 8 kB / 332.6 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.1396, allocations: 12 kB / 332.6 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.1398, allocations: 32.84 kB / 332.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008473/0.1407, allocations: 143.8 kB / 332.8 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.142, allocations: 1.303 MB / 334.1 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006909/0.1427, allocations: 40.17 kB / 334.2 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.1428, allocations: 32 kB / 334.2 MB, free: 6.391 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0004665/0.1432, allocations: 233.6 kB / 334.4 MB, free: 6.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.1434, allocations: 71.06 kB / 334.5 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.1444, allocations: 337.9 kB / 334.8 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.1445, allocations: 7.938 kB / 334.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1445, allocations: 0 / 334.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.1448, allocations: 156.2 kB / 335 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.1449, allocations: 7.984 kB / 335 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.1454, allocations: 23.98 kB / 335 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.1455, allocations: 19.97 kB / 335 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001291/0.1468, allocations: 385.5 kB / 335.4 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00136/0.1482, allocations: 0.5808 MB / 336 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000358/0.1485, allocations: 104.2 kB / 336.1 MB, free: 4.426 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008696/0.1494, allocations: 467 kB / 336.5 MB, free: 3.973 MB / 282.7 MB Notification: Performance of Backend: time 7.12e-07/0.1494, allocations: 7.938 kB / 336.6 MB, free: 3.965 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.151, allocations: 490.8 kB / 337 MB, free: 3.469 MB / 282.7 MB Notification: Performance of SimCode: time 0.004566/0.1556, allocations: 2.291 MB / 339.3 MB, free: 1.129 MB / 282.7 MB Notification: Performance of Templates: time 0.02452/0.1801, allocations: 7.271 MB / 346.6 MB, free: 9.902 MB / 298.7 MB