Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003711/0.003717, allocations: 368.3 kB / 15.96 MB, free: 6.203 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.295/4.295, allocations: 388.9 MB / 405.6 MB, free: 10.26 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.0037/0.0037, allocations: 237.3 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.5206/0.5206, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005164/0.0005167, allocations: 8 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1097, allocations: 54.87 MB / 0.6801 GB, free: 41.69 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004288/0.114, allocations: 2.555 MB / 0.6826 GB, free: 39.12 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1155, allocations: 398.5 kB / 0.683 GB, free: 38.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.1159, allocations: 7.938 kB / 0.683 GB, free: 38.72 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.1161, allocations: 43.62 kB / 0.683 GB, free: 38.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005954/0.1167, allocations: 142.9 kB / 0.6831 GB, free: 38.54 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.117, allocations: 71.92 kB / 0.6832 GB, free: 38.46 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007117/0.1178, allocations: 0.5013 MB / 0.6837 GB, free: 37.96 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.1181, allocations: 121.1 kB / 0.6838 GB, free: 37.83 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.1184, allocations: 171.4 kB / 0.684 GB, free: 37.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.1188, allocations: 191.2 kB / 0.6842 GB, free: 37.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.83e-05/0.1189, allocations: 24 kB / 0.6842 GB, free: 37.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.119, allocations: 24 kB / 0.6842 GB, free: 37.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.973e-05/0.1192, allocations: 75.69 kB / 0.6843 GB, free: 37.36 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.1193, allocations: 121.5 kB / 0.6844 GB, free: 37.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.1199, allocations: 379.2 kB / 0.6848 GB, free: 36.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1199, allocations: 0 / 0.6848 GB, free: 36.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1199, allocations: 0 / 0.6848 GB, free: 36.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.12, allocations: 0 / 0.6848 GB, free: 36.86 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001523/0.1215, allocations: 0.647 MB / 0.6854 GB, free: 36.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.1216, allocations: 12.56 kB / 0.6854 GB, free: 36.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.1217, allocations: 47.44 kB / 0.6855 GB, free: 36.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.1222, allocations: 287 kB / 0.6857 GB, free: 35.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.1223, allocations: 33 kB / 0.6858 GB, free: 35.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.1225, allocations: 59.91 kB / 0.6858 GB, free: 35.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.1237, allocations: 454 kB / 0.6862 GB, free: 35.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.283e-05/0.1238, allocations: 15.83 kB / 0.6863 GB, free: 35.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.1239, allocations: 24 kB / 0.6863 GB, free: 35.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.1239, allocations: 19.98 kB / 0.6863 GB, free: 35.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008584/0.1248, allocations: 262 kB / 0.6866 GB, free: 34.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/0.1286, allocations: 1.699 MB / 0.6882 GB, free: 33.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008969/0.1296, allocations: 415.4 kB / 0.6886 GB, free: 32.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.13, allocations: 151.7 kB / 0.6888 GB, free: 32.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.13, allocations: 11.94 kB / 0.6888 GB, free: 32.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.1301, allocations: 51.05 kB / 0.6888 GB, free: 32.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 5.33e-06/0.1301, allocations: 0 / 0.6888 GB, free: 32.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.001376/0.1315, allocations: 349.4 kB / 0.6891 GB, free: 32.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.1316, allocations: 273 kB / 0.6894 GB, free: 31.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.132, allocations: 246.6 kB / 0.6896 GB, free: 31.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.1321, allocations: 29.7 kB / 0.6897 GB, free: 31.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.1322, allocations: 239.6 kB / 0.6899 GB, free: 31.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.1325, allocations: 185.4 kB / 0.6901 GB, free: 31.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.1325, allocations: 16 kB / 0.6901 GB, free: 30.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1326, allocations: 358.8 kB / 0.6904 GB, free: 30.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.1331, allocations: 110 kB / 0.6905 GB, free: 30.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.1337, allocations: 413.6 kB / 0.6909 GB, free: 29.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.1343, allocations: 196.7 kB / 0.6911 GB, free: 29.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.1343, allocations: 0 / 0.6911 GB, free: 29.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001672/0.136, allocations: 0.5642 MB / 0.6917 GB, free: 29.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.1361, allocations: 8 kB / 0.6917 GB, free: 29.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.1361, allocations: 12 kB / 0.6917 GB, free: 29.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/0.1361, allocations: 16 kB / 0.6917 GB, free: 29.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.1372, allocations: 183.7 kB / 0.6919 GB, free: 29.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/0.1373, allocations: 23.92 kB / 0.6919 GB, free: 28.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.1378, allocations: 59.38 kB / 0.692 GB, free: 28.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/0.1378, allocations: 36 kB / 0.692 GB, free: 28.89 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002611/0.1381, allocations: 189.7 kB / 0.6922 GB, free: 28.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/0.1383, allocations: 35.62 kB / 0.6922 GB, free: 28.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.1385, allocations: 41.7 kB / 0.6923 GB, free: 28.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.1385, allocations: 7.984 kB / 0.6923 GB, free: 28.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.1385, allocations: 4 kB / 0.6923 GB, free: 28.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.1386, allocations: 104.7 kB / 0.6924 GB, free: 28.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.1387, allocations: 16 kB / 0.6924 GB, free: 28.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005915/0.1393, allocations: 12 kB / 0.6924 GB, free: 28.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.1394, allocations: 35.84 kB / 0.6924 GB, free: 28.43 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001878/0.1413, allocations: 1.077 MB / 0.6935 GB, free: 27.34 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00115/0.1425, allocations: 1.221 MB / 0.6947 GB, free: 26.09 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002661/0.1428, allocations: 132.2 kB / 0.6948 GB, free: 25.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001876/0.143, allocations: 170 kB / 0.695 GB, free: 25.79 MB / 346.7 MB Notification: Performance of Backend: time 8.62e-07/0.143, allocations: 8 kB / 0.695 GB, free: 25.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.1448, allocations: 352 kB / 0.6953 GB, free: 25.44 MB / 346.7 MB Notification: Performance of SimCode: time 0.004587/0.1494, allocations: 2.909 MB / 0.6981 GB, free: 22.48 MB / 346.7 MB Notification: Performance of Templates: time 0.0126/0.1621, allocations: 4.096 MB / 0.7021 GB, free: 18.42 MB / 346.7 MB