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.002848/0.002848, allocations: 362.8 kB / 15.95 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.12/4.12, 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.003673/0.003672, allocations: 221.8 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.6214/0.6214, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.000475, allocations: 12 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1014, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4715/0.573, allocations: 81.08 MB / 0.7593 GB, free: 4.238 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/0.5734, allocations: 67.09 kB / 0.7593 GB, free: 4.203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04472/0.6181, allocations: 6.868 MB / 0.766 GB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.218e-06/0.6182, allocations: 0 / 0.766 GB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.525e-05/0.6183, allocations: 8 kB / 0.766 GB, free: 14.56 MB / 362.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.002257/0.6206, allocations: 0.629 MB / 0.7666 GB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.6207, allocations: 12.03 kB / 0.7667 GB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/0.621, allocations: 51.39 kB / 0.7667 GB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.6213, allocations: 219 kB / 0.7669 GB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.402e-05/0.6214, allocations: 34.81 kB / 0.767 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.6217, allocations: 53.09 kB / 0.767 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.6233, allocations: 467.9 kB / 0.7674 GB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-05/0.6234, allocations: 15.83 kB / 0.7675 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/0.6235, allocations: 21.5 kB / 0.7675 GB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/0.6236, allocations: 12 kB / 0.7675 GB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.6248, allocations: 249.1 kB / 0.7677 GB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005592/0.6304, allocations: 1.707 MB / 0.7694 GB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.6317, allocations: 416.1 kB / 0.7698 GB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000531/0.6323, allocations: 155.9 kB / 0.7699 GB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.767e-05/0.6324, allocations: 7.938 kB / 0.77 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/0.6325, allocations: 49.62 kB / 0.77 GB, free: 10.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 4.809e-06/0.6325, allocations: 0 / 0.77 GB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001731/0.6342, allocations: 355.1 kB / 0.7703 GB, free: 10.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.6345, allocations: 261.5 kB / 0.7706 GB, free: 10.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005989/0.6351, allocations: 252.2 kB / 0.7708 GB, free: 9.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.742e-05/0.6352, allocations: 30.83 kB / 0.7709 GB, free: 9.949 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.6356, allocations: 247.6 kB / 0.7711 GB, free: 9.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/0.636, allocations: 181.4 kB / 0.7713 GB, free: 9.586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.6361, allocations: 14.06 kB / 0.7713 GB, free: 9.582 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002572/0.6364, allocations: 347 kB / 0.7716 GB, free: 9.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/0.637, allocations: 116.4 kB / 0.7717 GB, free: 9.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000813/0.6378, allocations: 415.5 kB / 0.7721 GB, free: 8.691 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/0.6386, allocations: 188 kB / 0.7723 GB, free: 8.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-05/0.6387, allocations: 4 kB / 0.7723 GB, free: 8.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003863/0.6426, allocations: 0.5656 MB / 0.7729 GB, free: 8.125 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.6427, allocations: 9 kB / 0.7729 GB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.6427, allocations: 12 kB / 0.7729 GB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.337e-05/0.6428, allocations: 20 kB / 0.7729 GB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.6439, allocations: 178.3 kB / 0.7731 GB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.665e-05/0.644, allocations: 15.94 kB / 0.7731 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/0.6445, allocations: 61.62 kB / 0.7731 GB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.6445, allocations: 34.69 kB / 0.7732 GB, free: 7.824 MB / 362.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.0003403/0.6449, allocations: 191.3 kB / 0.7734 GB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.6452, allocations: 39.31 kB / 0.7734 GB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.6453, allocations: 43.33 kB / 0.7734 GB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.6453, allocations: 12 kB / 0.7734 GB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.6453, allocations: 7.938 kB / 0.7735 GB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.6454, allocations: 3.984 kB / 0.7735 GB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.647, allocations: 413.1 kB / 0.7738 GB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/0.6471, allocations: 7.953 kB / 0.7739 GB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/0.649, allocations: 122.8 kB / 0.774 GB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.222e-05/0.6491, allocations: 4 kB / 0.774 GB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.6493, allocations: 19.42 kB / 0.774 GB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.778e-05/0.6493, allocations: 4 kB / 0.774 GB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.6493, allocations: 0 / 0.774 GB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.6515, allocations: 1.088 MB / 0.7751 GB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.6519, allocations: 116.6 kB / 0.7752 GB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.652, allocations: 14.73 kB / 0.7752 GB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.6533, allocations: 10.38 kB / 0.7752 GB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.6535, allocations: 31.52 kB / 0.7752 GB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/0.6536, allocations: 15.12 kB / 0.7752 GB, free: 5.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004507/0.654, allocations: 168.7 kB / 0.7754 GB, free: 5.715 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.6541, allocations: 0 / 0.7754 GB, free: 5.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002639/0.6567, allocations: 145.4 kB / 0.7755 GB, free: 5.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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 Backend phase and start with SimCode phase: time 0.0002854/0.6571, allocations: 106.3 kB / 0.7756 GB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.6587, allocations: 343.4 kB / 0.776 GB, free: 5.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.6588, allocations: 0 / 0.776 GB, free: 5.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.6592, allocations: 127.1 kB / 0.7761 GB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.6615, allocations: 86.95 kB / 0.7762 GB, free: 5.059 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005212/0.6668, allocations: 2.44 MB / 0.7786 GB, free: 2.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.6674, allocations: 0.8433 MB / 0.7794 GB, free: 1.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003789/0.6678, allocations: 48.16 kB / 0.7794 GB, free: 1.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.6679, allocations: 31.44 kB / 0.7795 GB, free: 1.688 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.668, allocations: 0 / 0.7795 GB, free: 1.688 MB / 362.7 MB Notification: Performance of Templates: time 0.01314/0.6811, allocations: 3.746 MB / 0.7831 GB, free: 14 MB / 378.7 MB