Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00259/0.002596, allocations: 350.6 kB / 15.94 MB, free: 6.215 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.674/3.674, 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.00519/0.005189, allocations: 222.1 kB / 397.9 MB, free: 4.969 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.5462/0.5462, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006514/0.0006519, allocations: 12 kB / 0.5592 GB, free: 53.49 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1209, allocations: 48.7 MB / 0.6067 GB, free: 4.676 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5127/0.6336, allocations: 75.03 MB / 0.68 GB, free: 37.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.634, allocations: 78.92 kB / 0.6801 GB, free: 37.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008961/0.643, allocations: 2.327 MB / 0.6823 GB, free: 35.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.643, allocations: 0 / 0.6823 GB, free: 35.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.643, allocations: 0 / 0.6823 GB, free: 35.38 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005671/0.6436, allocations: 416.1 kB / 0.6827 GB, free: 34.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.6437, allocations: 16.02 kB / 0.6828 GB, free: 34.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.6437, allocations: 15.12 kB / 0.6828 GB, free: 34.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.644, allocations: 207.4 kB / 0.683 GB, free: 34.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.644, allocations: 8 kB / 0.683 GB, free: 34.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.644, allocations: 16 kB / 0.683 GB, free: 34.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.6444, allocations: 122.7 kB / 0.6831 GB, free: 34.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.6444, allocations: 4 kB / 0.6831 GB, free: 34.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.6444, allocations: 8 kB / 0.6831 GB, free: 34.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.6445, allocations: 5.031 kB / 0.6831 GB, free: 34.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.6447, allocations: 80.55 kB / 0.6832 GB, free: 34.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007819/0.6455, allocations: 479.9 kB / 0.6837 GB, free: 33.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.6458, allocations: 125.5 kB / 0.6838 GB, free: 33.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.646, allocations: 58.98 kB / 0.6838 GB, free: 33.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.6461, allocations: 4 kB / 0.6838 GB, free: 33.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.6461, allocations: 30.56 kB / 0.6839 GB, free: 33.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.265e-06/0.6461, allocations: 1.375 kB / 0.6839 GB, free: 33.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001978/0.6481, allocations: 0.8307 MB / 0.6847 GB, free: 32.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.6482, allocations: 51.41 kB / 0.6847 GB, free: 32.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.6483, allocations: 142 kB / 0.6849 GB, free: 32.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.6483, allocations: 29.7 kB / 0.6849 GB, free: 32.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.6484, allocations: 108.3 kB / 0.685 GB, free: 32.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.6485, allocations: 67.09 kB / 0.6851 GB, free: 32.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.6485, allocations: 4 kB / 0.6851 GB, free: 32.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.6486, allocations: 323.4 kB / 0.6854 GB, free: 32.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.6487, allocations: 47.95 kB / 0.6854 GB, free: 31.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.6489, allocations: 82.97 kB / 0.6855 GB, free: 31.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.6491, allocations: 55.98 kB / 0.6855 GB, free: 31.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6491, allocations: 0.8438 kB / 0.6856 GB, free: 31.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005493/0.6497, allocations: 214 kB / 0.6858 GB, free: 31.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.6497, allocations: 4 kB / 0.6858 GB, free: 31.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.6497, allocations: 11.19 kB / 0.6858 GB, free: 31.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.65, allocations: 36.84 kB / 0.6858 GB, free: 31.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.6502, allocations: 39.91 kB / 0.6858 GB, free: 31.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.6519, allocations: 1.558 MB / 0.6874 GB, free: 29.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.6521, allocations: 7.984 kB / 0.6874 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.6521, allocations: 13.44 kB / 0.6874 GB, free: 29.82 MB / 362.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.000133/0.6522, allocations: 130 kB / 0.6875 GB, free: 29.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.6523, allocations: 7.906 kB / 0.6875 GB, free: 29.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.6523, allocations: 25.14 kB / 0.6875 GB, free: 29.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.6524, allocations: 10.83 kB / 0.6875 GB, free: 29.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6524, allocations: 3.984 kB / 0.6876 GB, free: 29.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6524, allocations: 0 / 0.6876 GB, free: 29.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009905/0.6534, allocations: 0.5562 MB / 0.6881 GB, free: 29.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6534, allocations: 0 / 0.6881 GB, free: 29.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.6537, allocations: 35.17 kB / 0.6881 GB, free: 29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/0.6539, allocations: 28.84 kB / 0.6882 GB, free: 28.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.6539, allocations: 7.984 kB / 0.6882 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.655, allocations: 1.367 MB / 0.6895 GB, free: 27.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.655, allocations: 4.031 kB / 0.6895 GB, free: 27.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.6557, allocations: 348.3 kB / 0.6898 GB, free: 27.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.6558, allocations: 102.5 kB / 0.6899 GB, free: 26.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.6559, allocations: 6.766 kB / 0.6899 GB, free: 26.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.656, allocations: 10.5 kB / 0.69 GB, free: 26.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.6561, allocations: 15.97 kB / 0.69 GB, free: 26.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.6561, allocations: 8 kB / 0.69 GB, free: 26.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.011e-05/0.6562, allocations: 103.3 kB / 0.6901 GB, free: 26.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.273e-06/0.6562, allocations: 0 / 0.6901 GB, free: 26.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004751/0.6567, allocations: 48.56 kB / 0.6901 GB, free: 26.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.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 (16): * Single equations (assignments): 15 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001389/0.6569, allocations: 101 kB / 0.6902 GB, free: 26.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000699/0.6576, allocations: 264.8 kB / 0.6905 GB, free: 26.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6576, allocations: 3.938 kB / 0.6905 GB, free: 26.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.6579, allocations: 198 kB / 0.6907 GB, free: 26.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.6584, allocations: 30.11 kB / 0.6907 GB, free: 26.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.6596, allocations: 0.5209 MB / 0.6912 GB, free: 25.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.6598, allocations: 0.7246 MB / 0.6919 GB, free: 24.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.6599, allocations: 13.42 kB / 0.6919 GB, free: 24.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.6599, allocations: 15.44 kB / 0.6919 GB, free: 24.92 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.66, allocations: 0 / 0.6919 GB, free: 24.92 MB / 362.7 MB Notification: Performance of Templates: time 0.005626/0.6656, allocations: 1.452 MB / 0.6933 GB, free: 23.53 MB / 362.7 MB