Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.PID_Controller.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.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 12 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.09418, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.005561/0.09981, allocations: 2.404 MB / 275 MB, free: 9.121 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.1029, allocations: 0.8734 MB / 275.9 MB, free: 8.246 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/0.1033, allocations: 11.94 kB / 275.9 MB, free: 8.234 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.1037, allocations: 43.62 kB / 275.9 MB, free: 8.191 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006484/0.1043, allocations: 131.6 kB / 276.1 MB, free: 8.062 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.1057, allocations: 231.5 kB / 276.3 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009899/0.1067, allocations: 323.9 kB / 276.6 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.1072, allocations: 131.7 kB / 276.7 MB, free: 7.391 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000398/0.1076, allocations: 159.3 kB / 276.9 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.108, allocations: 155.2 kB / 277.1 MB, free: 7.082 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-05/0.1081, allocations: 16 kB / 277.1 MB, free: 7.066 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1082, allocations: 16 kB / 277.1 MB, free: 7.051 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.1084, allocations: 71.67 kB / 277.2 MB, free: 6.98 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.1086, allocations: 85.52 kB / 277.2 MB, free: 6.891 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006975/0.1093, allocations: 331.3 kB / 277.6 MB, free: 6.566 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1094, allocations: 0 / 277.6 MB, free: 6.566 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1094, allocations: 4 kB / 277.6 MB, free: 6.562 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1094, allocations: 0 / 277.6 MB, free: 6.562 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002014/0.1114, allocations: 0.6702 MB / 278.2 MB, free: 5.844 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.1115, allocations: 12.02 kB / 278.2 MB, free: 5.832 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.1117, allocations: 51.44 kB / 278.3 MB, free: 5.781 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/0.1123, allocations: 318.2 kB / 278.6 MB, free: 5.426 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.522e-05/0.1124, allocations: 58.28 kB / 278.7 MB, free: 5.363 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/0.1126, allocations: 35.91 kB / 278.7 MB, free: 5.328 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.114, allocations: 409.8 kB / 279.1 MB, free: 4.91 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.1141, allocations: 3.984 kB / 279.1 MB, free: 4.906 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/0.1141, allocations: 16 kB / 279.1 MB, free: 4.891 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.1142, allocations: 8 kB / 279.1 MB, free: 4.883 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.1159, allocations: 398.3 kB / 279.5 MB, free: 4.496 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/0.1191, allocations: 1.167 MB / 280.7 MB, free: 3.262 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.1206, allocations: 344.8 kB / 281 MB, free: 2.918 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.1207, allocations: 4.5 kB / 281 MB, free: 2.914 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.1207, allocations: 42.5 kB / 281.1 MB, free: 2.863 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 3.025e-06/0.1207, allocations: 0 / 281.1 MB, free: 2.863 MB / 234.7 MB Notification: Performance of matching and sorting (n=31): time 0.005695/0.1264, allocations: 1.479 MB / 282.5 MB, free: 1.293 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.1265, allocations: 81.11 kB / 282.6 MB, free: 1.195 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.127, allocations: 312.4 kB / 282.9 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.53e-05/0.1271, allocations: 29.7 kB / 283 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.1273, allocations: 212.1 kB / 283.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.1275, allocations: 118.4 kB / 283.3 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.1275, allocations: 8 kB / 283.3 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1277, allocations: 350.8 kB / 283.6 MB, free: 164 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007358/0.1285, allocations: 160.6 kB / 283.8 MB, free: 0 / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008288/0.1293, allocations: 222.3 kB / 284 MB, free: 15.76 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007704/0.1301, allocations: 172 kB / 284.2 MB, free: 15.59 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1301, allocations: 3.938 kB / 284.2 MB, free: 15.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001778/0.1319, allocations: 477.1 kB / 284.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.132, allocations: 4 kB / 284.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.132, allocations: 4 kB / 284.7 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.132, allocations: 4 kB / 284.7 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.1332, allocations: 147.9 kB / 284.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.1332, allocations: 0 / 284.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/0.1338, allocations: 47.95 kB / 284.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.1339, allocations: 19.95 kB / 284.9 MB, free: 14.89 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003061/0.1342, allocations: 157.7 kB / 285 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1343, allocations: 39.61 kB / 285.1 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.1344, allocations: 39.95 kB / 285.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1344, allocations: 0 / 285.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1344, allocations: 0 / 285.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.1347, allocations: 136.6 kB / 285.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.468e-05/0.1348, allocations: 15.95 kB / 285.2 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000661/0.1354, allocations: 51.95 kB / 285.3 MB, free: 14.44 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.1356, allocations: 31.94 kB / 285.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00239/0.138, allocations: 0.5201 MB / 285.9 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002644/0.1406, allocations: 0.772 MB / 286.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008105/0.1415, allocations: 188.2 kB / 286.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003694/0.1419, allocations: 219 kB / 287 MB, free: 12.69 MB / 250.7 MB Notification: Performance of Backend: time 5.51e-07/0.1419, allocations: 0 / 287 MB, free: 12.69 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.1431, allocations: 314.2 kB / 287.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of SimCode: time 0.002725/0.1459, allocations: 1.533 MB / 288.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of Templates: time 0.01456/0.1605, allocations: 4.343 MB / 293.2 MB, free: 6.473 MB / 250.7 MB