Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.01052/0.01052, allocations: 164.1 kB / 15.12 MB, free: 6.027 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.749/1.749, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001733/0.001733, allocations: 109.9 kB / 226.2 MB, free: 10.1 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.4563/0.4563, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005243/0.0005247, allocations: 11.94 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1059, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002323/0.1082, allocations: 1.306 MB / 413 MB, free: 3.402 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003679/0.1087, allocations: 103.6 kB / 413.1 MB, free: 3.301 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.1088, allocations: 4 kB / 413.1 MB, free: 3.297 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.467e-05/0.1089, allocations: 7.922 kB / 413.1 MB, free: 3.289 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.109, allocations: 35.7 kB / 413.2 MB, free: 3.254 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.1092, allocations: 19.98 kB / 413.2 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1094, allocations: 111.5 kB / 413.3 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1095, allocations: 33.08 kB / 413.3 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.1096, allocations: 43.8 kB / 413.4 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1098, allocations: 47.83 kB / 413.4 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.1098, allocations: 4 kB / 413.4 MB, free: 3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-05/0.1099, allocations: 8 kB / 413.4 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.1099, allocations: 15.88 kB / 413.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.11, allocations: 45.64 kB / 413.5 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.1101, allocations: 92.02 kB / 413.6 MB, free: 2.836 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1102, allocations: 0 / 413.6 MB, free: 2.836 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1102, allocations: 0 / 413.6 MB, free: 2.836 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1102, allocations: 0 / 413.6 MB, free: 2.836 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006341/0.1108, allocations: 395.2 kB / 413.9 MB, free: 2.398 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.1109, allocations: 8.031 kB / 414 MB, free: 2.391 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.789e-05/0.111, allocations: 42.56 kB / 414 MB, free: 2.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.111, allocations: 11.81 kB / 414 MB, free: 2.328 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1113, allocations: 202.9 kB / 414.2 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1113, allocations: 8.234 kB / 414.2 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.1114, allocations: 15.91 kB / 414.2 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.1117, allocations: 129.7 kB / 414.4 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.1117, allocations: 0 / 414.4 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.1118, allocations: 12 kB / 414.4 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1118, allocations: 0 / 414.4 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.112, allocations: 63.91 kB / 414.4 MB, free: 1.855 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.113, allocations: 0.545 MB / 415 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.1133, allocations: 81.17 kB / 415.1 MB, free: 1.152 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.298e-05/0.1134, allocations: 33.73 kB / 415.1 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.1134, allocations: 0 / 415.1 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1134, allocations: 38.56 kB / 415.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/0.1134, allocations: 0 / 415.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008384/0.1143, allocations: 301.7 kB / 415.4 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.1144, allocations: 81.06 kB / 415.5 MB, free: 0.625 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1145, allocations: 121.8 kB / 415.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1146, allocations: 33.7 kB / 415.7 MB, free: 468 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.1147, allocations: 119.5 kB / 415.8 MB, free: 344 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.1147, allocations: 31.55 kB / 415.8 MB, free: 312 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.1147, allocations: 8 kB / 415.8 MB, free: 304 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1149, allocations: 318.8 kB / 416.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.567e-05/0.115, allocations: 20 kB / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1151, allocations: 92.5 kB / 416.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1152, allocations: 39.92 kB / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1152, allocations: 4 kB / 416.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004563/0.1157, allocations: 159 kB / 416.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.1157, allocations: 15.94 kB / 416.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.1157, allocations: 4 kB / 416.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002579/0.116, allocations: 41.95 kB / 416.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1162, allocations: 19.94 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.1185, allocations: 2.529 MB / 419 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.1187, allocations: 16.09 kB / 419.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1187, allocations: 8.094 kB / 419.1 MB, free: 12.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.1189, allocations: 136.1 kB / 419.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.1189, allocations: 11.86 kB / 419.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.119, allocations: 7.906 kB / 419.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.119, allocations: 4 kB / 419.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.119, allocations: 0 / 419.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.119, allocations: 0 / 419.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.1194, allocations: 205.6 kB / 419.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1194, allocations: 0 / 419.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.1196, allocations: 15.98 kB / 419.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001751/0.1198, allocations: 37.67 kB / 419.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1198, allocations: 7.922 kB / 419.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/0.122, allocations: 2.525 MB / 422 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.1221, allocations: 3.984 kB / 422 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.1225, allocations: 308.3 kB / 422.3 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.1226, allocations: 85.11 kB / 422.4 MB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.1226, allocations: 4 kB / 422.4 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1228, allocations: 4 kB / 422.4 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.1228, allocations: 11.97 kB / 422.4 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.1228, allocations: 4 kB / 422.4 MB, free: 8.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.248e-05/0.1229, allocations: 91.7 kB / 422.5 MB, free: 8.898 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.104e-06/0.1229, allocations: 3.938 kB / 422.5 MB, free: 8.895 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005074/0.1234, allocations: 43.78 kB / 422.6 MB, free: 8.852 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007348/0.1242, allocations: 0.8347 MB / 423.4 MB, free: 7.984 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005843/0.1248, allocations: 293.6 kB / 423.7 MB, free: 7.672 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1248, allocations: 0 / 423.7 MB, free: 7.672 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.1252, allocations: 257.3 kB / 423.9 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006329/0.1258, allocations: 31.88 kB / 424 MB, free: 7.363 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.128, allocations: 1.012 MB / 425 MB, free: 6.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1284, allocations: 0.7238 MB / 425.7 MB, free: 5.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.237e-05/0.1285, allocations: 8.875 kB / 425.7 MB, free: 5.508 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.1285, allocations: 31.42 kB / 425.7 MB, free: 5.477 MB / 330.7 MB Notification: Performance of SimCode: time 1.193e-06/0.1286, allocations: 0 / 425.7 MB, free: 5.477 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.1591, allocations: 2.643 MB / 428.4 MB, free: 2.883 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003582/0.1595, allocations: 215.2 kB / 428.6 MB, free: 2.637 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/2.789, allocations: 0 / 428.6 MB, free: 2.637 MB / 330.7 MB