Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.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: 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.1_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002621/0.002626, allocations: 349.3 kB / 15.94 MB, free: 6.219 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 3.64/3.64, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003538/0.003538, allocations: 226.1 kB / 397.9 MB, free: 4.961 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4994/0.4994, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006726/0.0006728, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/0.09601, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/0.5084, allocations: 74.69 MB / 0.6797 GB, free: 38.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.5087, allocations: 74.72 kB / 0.6797 GB, free: 37.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02918/0.5379, allocations: 6.854 MB / 0.6864 GB, free: 31.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.538, allocations: 0 / 0.6864 GB, free: 31.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.538, allocations: 10.56 kB / 0.6864 GB, free: 31.29 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.001611/0.5396, allocations: 0.6301 MB / 0.6871 GB, free: 30.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.5397, allocations: 8.031 kB / 0.6871 GB, free: 30.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.5399, allocations: 58.09 kB / 0.6871 GB, free: 30.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.5401, allocations: 226.1 kB / 0.6873 GB, free: 30.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.556e-05/0.5402, allocations: 33 kB / 0.6874 GB, free: 30.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.5404, allocations: 51.91 kB / 0.6874 GB, free: 30.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.5417, allocations: 459.2 kB / 0.6879 GB, free: 29.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.524e-05/0.5418, allocations: 11.3 kB / 0.6879 GB, free: 29.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/0.5419, allocations: 23.98 kB / 0.6879 GB, free: 29.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.542, allocations: 12 kB / 0.6879 GB, free: 29.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009242/0.5429, allocations: 255.7 kB / 0.6881 GB, free: 29.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.5469, allocations: 1.699 MB / 0.6898 GB, free: 27.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008559/0.5478, allocations: 415.8 kB / 0.6902 GB, free: 27.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.5482, allocations: 160.5 kB / 0.6904 GB, free: 27.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.5483, allocations: 8 kB / 0.6904 GB, free: 27.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.5483, allocations: 50.5 kB / 0.6904 GB, free: 26.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 4.639e-06/0.5483, allocations: 0 / 0.6904 GB, free: 26.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.00137/0.5497, allocations: 359.8 kB / 0.6908 GB, free: 26.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.5498, allocations: 265 kB / 0.691 GB, free: 26.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.5502, allocations: 247.1 kB / 0.6912 GB, free: 26.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.5503, allocations: 41.7 kB / 0.6913 GB, free: 26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.5505, allocations: 243.6 kB / 0.6915 GB, free: 25.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.5507, allocations: 173.5 kB / 0.6917 GB, free: 25.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.5507, allocations: 16 kB / 0.6917 GB, free: 25.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5509, allocations: 350.8 kB / 0.692 GB, free: 25.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.5513, allocations: 114 kB / 0.6921 GB, free: 25.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.5519, allocations: 413.6 kB / 0.6925 GB, free: 24.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/0.5525, allocations: 183.9 kB / 0.6927 GB, free: 24.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.5525, allocations: 0 / 0.6927 GB, free: 24.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001718/0.5543, allocations: 0.5662 MB / 0.6933 GB, free: 23.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.5543, allocations: 8 kB / 0.6933 GB, free: 23.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.5544, allocations: 12.88 kB / 0.6933 GB, free: 23.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.176e-05/0.5544, allocations: 19.95 kB / 0.6933 GB, free: 23.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.5559, allocations: 183.7 kB / 0.6935 GB, free: 23.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.414e-05/0.5559, allocations: 19.94 kB / 0.6935 GB, free: 23.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/0.5566, allocations: 67 kB / 0.6936 GB, free: 23.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/0.5567, allocations: 32 kB / 0.6936 GB, free: 23.48 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.0003707/0.5571, allocations: 195.6 kB / 0.6938 GB, free: 23.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004043/0.5575, allocations: 31.62 kB / 0.6938 GB, free: 23.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.5577, allocations: 45.7 kB / 0.6938 GB, free: 23.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.5577, allocations: 4 kB / 0.6939 GB, free: 23.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.5577, allocations: 11.95 kB / 0.6939 GB, free: 23.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.5578, allocations: 3.984 kB / 0.6939 GB, free: 23.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.56, allocations: 416.4 kB / 0.6943 GB, free: 22.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.56, allocations: 4 kB / 0.6943 GB, free: 22.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.5616, allocations: 123.2 kB / 0.6944 GB, free: 22.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/0.5617, allocations: 4 kB / 0.6944 GB, free: 22.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/0.5617, allocations: 19.98 kB / 0.6944 GB, free: 22.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.5618, allocations: 7.938 kB / 0.6944 GB, free: 22.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5618, allocations: 4 kB / 0.6944 GB, free: 22.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.5631, allocations: 1.079 MB / 0.6955 GB, free: 21.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.5632, allocations: 123.5 kB / 0.6956 GB, free: 21.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.5633, allocations: 8 kB / 0.6956 GB, free: 21.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.5643, allocations: 15.98 kB / 0.6956 GB, free: 21.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.5644, allocations: 31.92 kB / 0.6956 GB, free: 21.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.5645, allocations: 8 kB / 0.6957 GB, free: 21.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002523/0.5648, allocations: 174 kB / 0.6958 GB, free: 21.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5648, allocations: 4 kB / 0.6958 GB, free: 21.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001901/0.5667, allocations: 139.7 kB / 0.696 GB, free: 20.97 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.0001916/0.5669, allocations: 107.2 kB / 0.6961 GB, free: 20.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009799/0.5679, allocations: 340.8 kB / 0.6964 GB, free: 20.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5679, allocations: 4 kB / 0.6964 GB, free: 20.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.5683, allocations: 125.3 kB / 0.6965 GB, free: 20.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/0.5711, allocations: 90.75 kB / 0.6966 GB, free: 20.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005696/0.5768, allocations: 2.43 MB / 0.699 GB, free: 18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.5773, allocations: 0.8395 MB / 0.6998 GB, free: 17.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004198/0.5778, allocations: 50.41 kB / 0.6998 GB, free: 17.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.5779, allocations: 31.44 kB / 0.6999 GB, free: 17.06 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.5779, allocations: 0 / 0.6999 GB, free: 17.06 MB / 362.7 MB Notification: Performance of Templates: time 0.0146/0.5926, allocations: 3.738 MB / 0.7035 GB, free: 13.44 MB / 362.7 MB