Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01463/0.01463, allocations: 163.1 kB / 15.12 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.985/1.985, allocations: 170.8 MB / 186.7 MB, free: 1.105 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001831/0.001831, allocations: 110.8 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.576/0.576, allocations: 38.05 MB / 303.7 MB, free: 42.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004798, allocations: 16 kB / 363 MB, free: 5.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 48.71 MB / 411.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.00335/0.1107, allocations: 1.831 MB / 413.5 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1127, allocations: 0.7369 MB / 414.3 MB, free: 2.082 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.113, allocations: 4 kB / 414.3 MB, free: 2.078 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.1131, allocations: 23.84 kB / 414.3 MB, free: 2.055 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1134, allocations: 71.39 kB / 414.4 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.1139, allocations: 103.8 kB / 414.5 MB, free: 1.883 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.1144, allocations: 291.3 kB / 414.7 MB, free: 1.598 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.1147, allocations: 72.62 kB / 414.8 MB, free: 1.527 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.115, allocations: 115.5 kB / 414.9 MB, free: 1.414 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.1153, allocations: 127.5 kB / 415.1 MB, free: 1.289 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/0.1154, allocations: 16 kB / 415.1 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.1157, allocations: 111.8 kB / 415.2 MB, free: 1.164 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.087e-05/0.1158, allocations: 47.83 kB / 415.2 MB, free: 1.117 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.564e-05/0.1159, allocations: 65.58 kB / 415.3 MB, free: 1.047 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.1163, allocations: 251.6 kB / 415.5 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.1164, allocations: 0 / 415.5 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1164, allocations: 0 / 415.5 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.1164, allocations: 0 / 415.5 MB, free: 0.8008 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.001302/0.1177, allocations: 0.5262 MB / 416.1 MB, free: 232 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.1178, allocations: 8.031 kB / 416.1 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.1179, allocations: 62.53 kB / 416.1 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.118, allocations: 23.72 kB / 416.2 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.1184, allocations: 236 kB / 416.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.1185, allocations: 20.44 kB / 416.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.618e-05/0.1185, allocations: 19.91 kB / 416.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007956/0.1194, allocations: 267.2 kB / 416.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.1194, allocations: 0 / 416.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.1194, allocations: 8 kB / 416.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1195, allocations: 8 kB / 416.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007834/0.1203, allocations: 221.6 kB / 416.9 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.1224, allocations: 0.7441 MB / 417.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.1233, allocations: 251.7 kB / 417.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.1237, allocations: 140.8 kB / 418 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-05/0.1238, allocations: 4 kB / 418.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1238, allocations: 42.52 kB / 418.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 3.166e-06/0.1239, allocations: 0 / 418.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.005269/0.1291, allocations: 1.548 MB / 419.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1292, allocations: 55.41 kB / 419.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.1295, allocations: 202.3 kB / 419.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/0.1296, allocations: 37.7 kB / 419.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1298, allocations: 140.6 kB / 420.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.1299, allocations: 106.5 kB / 420.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.1299, allocations: 11.98 kB / 420.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1301, allocations: 334.8 kB / 420.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.1305, allocations: 119.9 kB / 420.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.131, allocations: 164.2 kB / 420.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.1314, allocations: 111.9 kB / 420.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.1314, allocations: 0 / 420.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001633/0.133, allocations: 0.5172 MB / 421.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.1331, allocations: 4 kB / 421.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1331, allocations: 0 / 421.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006733/0.1338, allocations: 196.7 kB / 421.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.1342, allocations: 55.91 kB / 421.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.1353, allocations: 0.7358 MB / 422.4 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.1358, allocations: 52.02 kB / 422.5 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.1358, allocations: 12 kB / 422.5 MB, free: 9.488 MB / 330.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.0002352/0.1361, allocations: 145.7 kB / 422.6 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.1362, allocations: 23.72 kB / 422.6 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.1363, allocations: 38.64 kB / 422.7 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.1363, allocations: 8 kB / 422.7 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1363, allocations: 0 / 422.7 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1363, allocations: 0 / 422.7 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.139, allocations: 0.9988 MB / 423.7 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.139, allocations: 4.031 kB / 423.7 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.1395, allocations: 55.91 kB / 423.7 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005634/0.14, allocations: 160.8 kB / 423.9 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.1401, allocations: 8 kB / 423.9 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009311/0.141, allocations: 0.7007 MB / 424.6 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.1411, allocations: 7.938 kB / 424.6 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.1431, allocations: 0.7116 MB / 425.3 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.1433, allocations: 128.8 kB / 425.4 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.1434, allocations: 8 kB / 425.4 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000486/0.1439, allocations: 52.02 kB / 425.5 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.1441, allocations: 51.89 kB / 425.6 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.1441, allocations: 15.98 kB / 425.6 MB, free: 6.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001856/0.1443, allocations: 144.2 kB / 425.7 MB, free: 6.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1444, allocations: 0 / 425.7 MB, free: 6.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005397/0.1449, allocations: 80 kB / 425.8 MB, free: 6.02 MB / 330.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.002459/0.1474, allocations: 1.261 MB / 427 MB, free: 4.723 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.1485, allocations: 316 kB / 427.4 MB, free: 4.414 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1485, allocations: 0 / 427.4 MB, free: 4.414 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005818/0.1491, allocations: 176 kB / 427.5 MB, free: 4.242 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006248/0.1498, allocations: 31.94 kB / 427.6 MB, free: 4.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/0.1558, allocations: 1.94 MB / 429.5 MB, free: 2.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.1562, allocations: 0.7564 MB / 430.3 MB, free: 1.434 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.1564, allocations: 22.28 kB / 430.3 MB, free: 1.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.1566, allocations: 67.42 kB / 430.3 MB, free: 1.344 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1566, allocations: 0 / 430.3 MB, free: 1.344 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2912/0.4478, allocations: 6.333 MB / 436.7 MB, free: 46.11 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.4481, allocations: 231.8 kB / 436.9 MB, free: 45.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/3.264, allocations: 0 / 436.9 MB, free: 45.87 MB / 330.7 MB