Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01464/0.01464, allocations: 176.3 kB / 15.13 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.351/2.351, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001907/0.001907, allocations: 116.1 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2729/0.2729, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005072, allocations: 16.38 kB / 406.3 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.09902, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002446/0.1015, allocations: 1.855 MB / 463 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1029, allocations: 0.7144 MB / 463.7 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.103, allocations: 4 kB / 463.7 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.1031, allocations: 27.84 kB / 463.7 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.1033, allocations: 59.47 kB / 463.8 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.1037, allocations: 91.88 kB / 463.9 MB, free: 432 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.1041, allocations: 303.3 kB / 464.2 MB, free: 128 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.1043, allocations: 56.8 kB / 464.2 MB, free: 68 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.1046, allocations: 127.5 kB / 464.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.1049, allocations: 143.4 kB / 464.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.1049, allocations: 12 kB / 464.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.1051, allocations: 55.95 kB / 464.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.734e-05/0.1052, allocations: 47.83 kB / 464.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.055e-05/0.1053, allocations: 65.58 kB / 464.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.1057, allocations: 239.4 kB / 464.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1057, allocations: 4 kB / 464.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1057, allocations: 0 / 464.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1058, allocations: 0 / 464.9 MB, free: 15.38 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001187/0.107, allocations: 0.5184 MB / 465.4 MB, free: 14.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.107, allocations: 8.031 kB / 465.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.399e-05/0.1071, allocations: 58.55 kB / 465.5 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.1072, allocations: 23.72 kB / 465.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.1076, allocations: 246.6 kB / 465.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.1076, allocations: 16.44 kB / 465.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-05/0.1077, allocations: 27.91 kB / 465.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007835/0.1085, allocations: 275.1 kB / 466.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.1085, allocations: 0 / 466.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.1086, allocations: 15.88 kB / 466.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.1086, allocations: 8 kB / 466.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/0.1094, allocations: 241.6 kB / 466.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.1114, allocations: 0.7402 MB / 467.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008513/0.1123, allocations: 250 kB / 467.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.1127, allocations: 140.8 kB / 467.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.1128, allocations: 8 kB / 467.5 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1128, allocations: 30.56 kB / 467.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 4.097e-06/0.1128, allocations: 0 / 467.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.004955/0.1178, allocations: 1.499 MB / 469 MB, free: 11.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.1179, allocations: 55.41 kB / 469.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.1182, allocations: 198.5 kB / 469.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.1182, allocations: 37.7 kB / 469.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1184, allocations: 132.7 kB / 469.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.1185, allocations: 114.5 kB / 469.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.1185, allocations: 4 kB / 469.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1187, allocations: 334.8 kB / 469.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.1191, allocations: 127.7 kB / 470 MB, free: 9.992 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.1196, allocations: 172.3 kB / 470.2 MB, free: 9.812 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.12, allocations: 108 kB / 470.3 MB, free: 9.707 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.12, allocations: 0 / 470.3 MB, free: 9.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001462/0.1215, allocations: 469.5 kB / 470.7 MB, free: 9.238 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1215, allocations: 7.938 kB / 470.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1216, allocations: 0 / 470.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008007/0.1224, allocations: 240.7 kB / 471 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.1228, allocations: 55.91 kB / 471 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.1239, allocations: 0.7592 MB / 471.8 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.1244, allocations: 48.02 kB / 471.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.1244, allocations: 8 kB / 471.8 MB, free: 8.098 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.1246, allocations: 154 kB / 472 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.167e-05/0.1247, allocations: 15.81 kB / 472 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1248, allocations: 38.66 kB / 472 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1249, allocations: 3.953 kB / 472 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1249, allocations: 7.938 kB / 472 MB, free: 7.875 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.1249, allocations: 7.969 kB / 472.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.1273, allocations: 0.9635 MB / 473 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.1274, allocations: 4 kB / 473 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.1278, allocations: 43.97 kB / 473.1 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006871/0.1285, allocations: 216.7 kB / 473.3 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/0.1285, allocations: 16.05 kB / 473.3 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009468/0.1295, allocations: 0.7163 MB / 474 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1295, allocations: 0 / 474 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.1314, allocations: 0.6373 MB / 474.6 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.1316, allocations: 124.8 kB / 474.8 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.1317, allocations: 12 kB / 474.8 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.1322, allocations: 52.02 kB / 474.8 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.1324, allocations: 55.83 kB / 474.9 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.1324, allocations: 11.98 kB / 474.9 MB, free: 4.883 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.1326, allocations: 140.5 kB / 475 MB, free: 4.746 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1326, allocations: 3.938 kB / 475 MB, free: 4.742 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004902/0.1331, allocations: 80 kB / 475.1 MB, free: 4.664 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002231/0.1353, allocations: 1.203 MB / 476.3 MB, free: 3.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.1365, allocations: 319.7 kB / 476.6 MB, free: 3.117 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1365, allocations: 0 / 476.6 MB, free: 3.117 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00055/0.1371, allocations: 163.9 kB / 476.8 MB, free: 2.957 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.1376, allocations: 32.11 kB / 476.8 MB, free: 2.926 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/0.1435, allocations: 1.961 MB / 478.8 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.1439, allocations: 0.7564 MB / 479.5 MB, free: 124 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.144, allocations: 18.3 kB / 479.6 MB, free: 108 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.1442, allocations: 71.41 kB / 479.6 MB, free: 40 kB / 314.7 MB Notification: Performance of SimCode: time 1.011e-06/0.1442, allocations: 3.938 kB / 479.6 MB, free: 36 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.1774, allocations: 6.82 MB / 486.4 MB, free: 9.301 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003258/0.1778, allocations: 218.1 kB / 486.7 MB, free: 9.066 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/3.169, allocations: 4 kB / 486.7 MB, free: 9.062 MB / 330.7 MB