Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003458, allocations: 11.98 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 44.52 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.009994/0.1129, allocations: 4.375 MB / 313.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006141/0.1191, allocations: 2.007 MB / 315.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009386/0.1201, allocations: 31.81 kB / 315.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006624/0.1208, allocations: 162.8 kB / 315.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.1222, allocations: 307 kB / 315.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.124, allocations: 367.2 kB / 316.3 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.126, allocations: 0.6867 MB / 317 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.1272, allocations: 417.6 kB / 317.4 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/0.1278, allocations: 239 kB / 317.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005881/0.1284, allocations: 270.6 kB / 317.9 MB, free: 7.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.1285, allocations: 39.94 kB / 317.9 MB, free: 7.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.1289, allocations: 79.91 kB / 318 MB, free: 7.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.1292, allocations: 127.5 kB / 318.1 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.1295, allocations: 177.3 kB / 318.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.1312, allocations: 0.8962 MB / 319.2 MB, free: 6.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1313, allocations: 0 / 319.2 MB, free: 6.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1313, allocations: 0 / 319.2 MB, free: 6.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.1313, allocations: 0 / 319.2 MB, free: 6.16 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003057/0.1344, allocations: 0.9239 MB / 320.1 MB, free: 5.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.1345, allocations: 8.031 kB / 320.1 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.1347, allocations: 90.88 kB / 320.2 MB, free: 5.086 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.1361, allocations: 0.4981 MB / 320.7 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.1362, allocations: 66 kB / 320.8 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002628/0.1365, allocations: 87.98 kB / 320.9 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/0.1396, allocations: 0.8258 MB / 321.7 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.876e-05/0.1396, allocations: 7.906 kB / 321.7 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.1398, allocations: 36 kB / 321.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.1399, allocations: 23.98 kB / 321.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/0.1423, allocations: 0.5351 MB / 322.3 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005681/0.148, allocations: 3.107 MB / 325.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009875/0.1491, allocations: 295.5 kB / 325.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.1494, allocations: 243.3 kB / 325.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1494, allocations: 42.69 kB / 326 MB, free: 15.03 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 3.837e-06/0.1495, allocations: 0 / 326 MB, free: 15.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=37): time 0.003993/0.1535, allocations: 1.586 MB / 327.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.1535, allocations: 106.8 kB / 327.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/0.154, allocations: 333.6 kB / 328 MB, free: 12.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.1541, allocations: 29.7 kB / 328 MB, free: 12.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.1544, allocations: 406.6 kB / 328.4 MB, free: 12.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.1546, allocations: 141.9 kB / 328.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.1546, allocations: 12 kB / 328.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1548, allocations: 350.8 kB / 328.9 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.1552, allocations: 129.1 kB / 329 MB, free: 11.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.1558, allocations: 269.2 kB / 329.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.1563, allocations: 177.3 kB / 329.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1564, allocations: 0 / 329.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001385/0.1578, allocations: 0.499 MB / 330 MB, free: 10.76 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.1578, allocations: 8 kB / 330 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.1578, allocations: 7.953 kB / 330 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.1581, allocations: 36.78 kB / 330 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007419/0.1588, allocations: 123.8 kB / 330.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004796/0.1593, allocations: 0.5563 MB / 330.7 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.1597, allocations: 27.98 kB / 330.7 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/0.1598, allocations: 24 kB / 330.7 MB, free: 9.949 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (62): * Single equations (assignments): 61 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004654/0.1603, allocations: 225.6 kB / 331 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.1604, allocations: 39.53 kB / 331 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.1615, allocations: 306.4 kB / 331.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.1615, allocations: 3.984 kB / 331.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1615, allocations: 0 / 331.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.1617, allocations: 112.5 kB / 331.4 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.294e-05/0.1618, allocations: 8 kB / 331.4 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.1621, allocations: 23.98 kB / 331.5 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/0.1623, allocations: 27.86 kB / 331.5 MB, free: 9.176 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001866/0.1641, allocations: 0.6313 MB / 332.1 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001679/0.1658, allocations: 0.8068 MB / 332.9 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004336/0.1663, allocations: 143.9 kB / 333.1 MB, free: 7.562 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003509/0.1667, allocations: 227.2 kB / 333.3 MB, free: 7.34 MB / 282.7 MB Notification: Performance of Backend: time 7.82e-07/0.1667, allocations: 0 / 333.3 MB, free: 7.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.168, allocations: 341.7 kB / 333.6 MB, free: 7 MB / 282.7 MB Notification: Performance of SimCode: time 0.004553/0.1726, allocations: 2.496 MB / 336.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of Templates: time 0.01609/0.1887, allocations: 4.516 MB / 340.6 MB, free: 15.96 MB / 298.7 MB