Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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: translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002719/0.002724, allocations: 371.3 kB / 15.97 MB, free: 6.195 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 4.323/4.323, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003625/0.003625, allocations: 228.6 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5669/0.5669, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000636/0.0006362, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.117, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.00323/0.1203, allocations: 1.556 MB / 0.6816 GB, free: 40.08 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1217, allocations: 496.1 kB / 0.6821 GB, free: 39.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1219, allocations: 4 kB / 0.6821 GB, free: 39.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/0.122, allocations: 11.92 kB / 0.6821 GB, free: 39.58 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.1222, allocations: 39.69 kB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.1225, allocations: 23.98 kB / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.1228, allocations: 139.3 kB / 0.6823 GB, free: 39.38 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.123, allocations: 45.75 kB / 0.6823 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1231, allocations: 43.8 kB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1233, allocations: 63.69 kB / 0.6824 GB, free: 39.22 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.1234, allocations: 8 kB / 0.6824 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.227e-05/0.1234, allocations: 4 kB / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.583e-05/0.1235, allocations: 19.92 kB / 0.6825 GB, free: 39.19 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.1236, allocations: 49.64 kB / 0.6825 GB, free: 39.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.1238, allocations: 111.9 kB / 0.6826 GB, free: 39.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1238, allocations: 0 / 0.6826 GB, free: 39.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1238, allocations: 0 / 0.6826 GB, free: 39.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1239, allocations: 3.938 kB / 0.6826 GB, free: 39.02 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008083/0.1247, allocations: 418.3 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.1248, allocations: 12.83 kB / 0.683 GB, free: 38.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.362e-05/0.1248, allocations: 7.906 kB / 0.683 GB, free: 38.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.1252, allocations: 198.8 kB / 0.6832 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.1252, allocations: 12 kB / 0.6832 GB, free: 38.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.1253, allocations: 12 kB / 0.6833 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.1258, allocations: 130.9 kB / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.1259, allocations: 7.984 kB / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.1259, allocations: 7.953 kB / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1259, allocations: 7.984 kB / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.1264, allocations: 83.95 kB / 0.6835 GB, free: 38.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.1277, allocations: 472.1 kB / 0.6839 GB, free: 37.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.1281, allocations: 122.5 kB / 0.6841 GB, free: 37.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.1284, allocations: 64.78 kB / 0.6841 GB, free: 37.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1284, allocations: 0 / 0.6841 GB, free: 37.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1285, allocations: 34.56 kB / 0.6841 GB, free: 37.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.216e-06/0.1285, allocations: 0 / 0.6841 GB, free: 37.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.002859/0.1314, allocations: 0.8159 MB / 0.6849 GB, free: 36.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.1315, allocations: 55.41 kB / 0.685 GB, free: 36.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1317, allocations: 146 kB / 0.6851 GB, free: 36.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.1317, allocations: 29.7 kB / 0.6852 GB, free: 36.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.1318, allocations: 112.3 kB / 0.6853 GB, free: 36.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.669e-05/0.1319, allocations: 59.11 kB / 0.6853 GB, free: 35.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.1319, allocations: 4 kB / 0.6853 GB, free: 35.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.132, allocations: 326.8 kB / 0.6856 GB, free: 35.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.1323, allocations: 40.36 kB / 0.6857 GB, free: 35.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.1325, allocations: 80.16 kB / 0.6858 GB, free: 35.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.1328, allocations: 55.98 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.1329, allocations: 0 / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00085/0.1337, allocations: 218.1 kB / 0.686 GB, free: 35.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.1338, allocations: 4 kB / 0.686 GB, free: 35.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.1338, allocations: 0 / 0.686 GB, free: 35.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/0.1342, allocations: 48.77 kB / 0.6861 GB, free: 35.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.1346, allocations: 31.98 kB / 0.6861 GB, free: 35.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.1367, allocations: 1.561 MB / 0.6876 GB, free: 33.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.137, allocations: 8.031 kB / 0.6876 GB, free: 33.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.137, allocations: 7.984 kB / 0.6876 GB, free: 33.43 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.1372, allocations: 141.8 kB / 0.6878 GB, free: 33.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.1373, allocations: 11.91 kB / 0.6878 GB, free: 33.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.023e-05/0.1374, allocations: 17.19 kB / 0.6878 GB, free: 33.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1374, allocations: 0 / 0.6878 GB, free: 33.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1374, allocations: 0 / 0.6878 GB, free: 33.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.1375, allocations: 92.91 kB / 0.6879 GB, free: 33.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.1376, allocations: 4 kB / 0.6879 GB, free: 33.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.1378, allocations: 8 kB / 0.6879 GB, free: 33.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.1379, allocations: 19.92 kB / 0.6879 GB, free: 33.12 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001269/0.1392, allocations: 315.6 kB / 0.6882 GB, free: 32.8 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008886/0.1401, allocations: 409.3 kB / 0.6886 GB, free: 32.39 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002375/0.1404, allocations: 51.97 kB / 0.6887 GB, free: 32.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1405, allocations: 115.2 kB / 0.6888 GB, free: 32.23 MB / 346.7 MB Notification: Performance of Backend: time 9.11e-07/0.1405, allocations: 0 / 0.6888 GB, free: 32.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.1418, allocations: 288.9 kB / 0.689 GB, free: 31.93 MB / 346.7 MB Notification: Performance of SimCode: time 0.001628/0.1435, allocations: 0.9824 MB / 0.69 GB, free: 30.9 MB / 346.7 MB Notification: Performance of Templates: time 0.008289/0.1518, allocations: 1.526 MB / 0.6915 GB, free: 29.39 MB / 346.7 MB