Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001576/0.001576, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.66/1.66, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001736/0.001736, allocations: 118.8 kB / 248.1 MB, free: 6.363 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.856e-05, allocations: 4 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3622/0.4707, allocations: 70.51 MB / 413.1 MB, free: 25.19 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.471, allocations: 65.97 kB / 413.2 MB, free: 25.16 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.006716/0.4777, allocations: 2.835 MB / 416 MB, free: 22.89 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4778, allocations: 0 / 416 MB, free: 22.89 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.4778, allocations: 4 kB / 416 MB, free: 22.89 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0004135/0.4782, allocations: 426 kB / 416.4 MB, free: 22.44 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4783, allocations: 8.031 kB / 416.4 MB, free: 22.43 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.4783, allocations: 25.42 kB / 416.4 MB, free: 22.41 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.4786, allocations: 209.3 kB / 416.6 MB, free: 22.18 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.4786, allocations: 4 kB / 416.6 MB, free: 22.17 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.4786, allocations: 19.17 kB / 416.7 MB, free: 22.16 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001749/0.4788, allocations: 80.3 kB / 416.7 MB, free: 22.1 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.479, allocations: 162.6 kB / 416.9 MB, free: 21.96 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.479, allocations: 2.906 kB / 416.9 MB, free: 21.96 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.4791, allocations: 0 / 416.9 MB, free: 21.96 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4791, allocations: 7.281 kB / 416.9 MB, free: 21.96 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00089/0.48, allocations: 0.7141 MB / 417.6 MB, free: 21.26 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.4802, allocations: 106.7 kB / 417.7 MB, free: 21.15 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.4802, allocations: 45.33 kB / 417.8 MB, free: 21.11 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.4802, allocations: 0 / 417.8 MB, free: 21.11 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.4803, allocations: 38.78 kB / 417.8 MB, free: 21.06 MB / 315.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.4803, allocations: 0 / 417.8 MB, free: 21.06 MB / 315.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002288/0.4805, allocations: 102.7 kB / 417.9 MB, free: 20.96 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.4806, allocations: 105.9 kB / 418 MB, free: 20.84 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.4807, allocations: 130.7 kB / 418.1 MB, free: 20.72 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.4807, allocations: 25.7 kB / 418.2 MB, free: 20.69 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.4807, allocations: 145.9 kB / 418.3 MB, free: 20.55 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.4808, allocations: 53.88 kB / 418.4 MB, free: 20.51 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.4808, allocations: 0 / 418.4 MB, free: 20.51 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.4809, allocations: 329.4 kB / 418.7 MB, free: 20.18 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.4809, allocations: 37.66 kB / 418.7 MB, free: 20.16 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.481, allocations: 118.3 kB / 418.8 MB, free: 20.02 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.992e-05/0.4811, allocations: 52.11 kB / 418.9 MB, free: 19.98 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4811, allocations: 4 kB / 418.9 MB, free: 19.98 MB / 315.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002079/0.4813, allocations: 176.4 kB / 419.1 MB, free: 19.83 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4813, allocations: 9.969 kB / 419.1 MB, free: 19.82 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4813, allocations: 4 kB / 419.1 MB, free: 19.82 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4814, allocations: 4 kB / 419.1 MB, free: 19.81 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.4815, allocations: 45.48 kB / 419.1 MB, free: 19.77 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4815, allocations: 8 kB / 419.1 MB, free: 19.76 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.404e-05/0.4816, allocations: 12.19 kB / 419.1 MB, free: 19.75 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.4816, allocations: 19.69 kB / 419.2 MB, free: 19.73 MB / 315.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 5.761e-05/0.4817, allocations: 120.6 kB / 419.3 MB, free: 19.61 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.4818, allocations: 15.89 kB / 419.3 MB, free: 19.59 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.4818, allocations: 14.61 kB / 419.3 MB, free: 19.59 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4818, allocations: 4 kB / 419.3 MB, free: 19.59 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4818, allocations: 1.031 kB / 419.3 MB, free: 19.59 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4818, allocations: 0 / 419.3 MB, free: 19.59 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.4822, allocations: 221.7 kB / 419.5 MB, free: 19.36 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4822, allocations: 0 / 419.5 MB, free: 19.36 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.4823, allocations: 31.98 kB / 419.6 MB, free: 19.32 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4823, allocations: 0 / 419.6 MB, free: 19.32 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4823, allocations: 5.875 kB / 419.6 MB, free: 19.32 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4824, allocations: 0 / 419.6 MB, free: 19.32 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4824, allocations: 0 / 419.6 MB, free: 19.32 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.4826, allocations: 410.6 kB / 420 MB, free: 18.92 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.4826, allocations: 92.94 kB / 420.1 MB, free: 18.81 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.4827, allocations: 0.5625 kB / 420.1 MB, free: 18.81 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.4828, allocations: 0 / 420.1 MB, free: 18.81 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.4828, allocations: 14.75 kB / 420.1 MB, free: 18.8 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.4828, allocations: 4 kB / 420.1 MB, free: 18.79 MB / 315.1 MB Notification: Performance of sorting global known variables: time 5.066e-05/0.4829, allocations: 113.7 kB / 420.2 MB, free: 18.7 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4829, allocations: 0 / 420.2 MB, free: 18.7 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.4832, allocations: 40.59 kB / 420.2 MB, free: 18.66 MB / 315.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0001027/0.4834, allocations: 103.7 kB / 420.3 MB, free: 18.55 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.4835, allocations: 92.11 kB / 420.4 MB, free: 18.48 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4835, allocations: 0 / 420.4 MB, free: 18.48 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 3.676e-05/0.4836, allocations: 34.7 kB / 420.5 MB, free: 18.45 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.4839, allocations: 14.36 kB / 420.5 MB, free: 18.44 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.4847, allocations: 0.5664 MB / 421 MB, free: 17.89 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.4849, allocations: 0.7358 MB / 421.8 MB, free: 17.13 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 6.507e-05/0.485, allocations: 17.2 kB / 421.8 MB, free: 17.11 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.485, allocations: 15.44 kB / 421.8 MB, free: 17.1 MB / 315.1 MB Notification: Performance of SimCode: time 2.21e-07/0.485, allocations: 0 / 421.8 MB, free: 17.1 MB / 315.1 MB Notification: Performance of Templates: time 0.003093/0.4881, allocations: 1.049 MB / 422.9 MB, free: 16.09 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)