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.001306/0.001306, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.668/1.668, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001564/0.001564, allocations: 118.2 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.208e-05, allocations: 7.984 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.09601, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.369/0.465, allocations: 71.19 MB / 420.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.4653, allocations: 70.3 kB / 420.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006817/0.4721, allocations: 2.848 MB / 423.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4722, allocations: 0 / 423.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.4722, allocations: 3.812 kB / 423.5 MB, free: 10.39 MB / 298.7 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.0004217/0.4726, allocations: 421.7 kB / 424 MB, free: 10.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4727, allocations: 10.53 kB / 424 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.4727, allocations: 28.06 kB / 424 MB, free: 9.992 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.4729, allocations: 207.6 kB / 424.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.473, allocations: 14.5 kB / 424.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.473, allocations: 22.84 kB / 424.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.4733, allocations: 165.5 kB / 424.4 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.4733, allocations: 3.812 kB / 424.4 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.4734, allocations: 10.44 kB / 424.4 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4734, allocations: 3.875 kB / 424.4 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.4735, allocations: 98.77 kB / 424.5 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.4745, allocations: 0.7833 MB / 425.3 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.4747, allocations: 110.1 kB / 425.4 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.091e-05/0.4748, allocations: 47.5 kB / 425.4 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.4748, allocations: 6.766 kB / 425.5 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.4748, allocations: 42.03 kB / 425.5 MB, free: 9.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.4748, allocations: 0 / 425.5 MB, free: 9.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002468/0.4751, allocations: 107.4 kB / 425.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.4751, allocations: 110.6 kB / 425.7 MB, free: 8.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.4753, allocations: 187.9 kB / 425.9 MB, free: 8.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.4753, allocations: 33.52 kB / 425.9 MB, free: 8.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.4754, allocations: 135.3 kB / 426.1 MB, free: 8.609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.4754, allocations: 60.84 kB / 426.1 MB, free: 8.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.4754, allocations: 2.562 kB / 426.1 MB, free: 8.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.875e-05/0.4755, allocations: 331 kB / 426.4 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.4756, allocations: 33.94 kB / 426.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.4757, allocations: 133.2 kB / 426.6 MB, free: 8.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.4758, allocations: 59.47 kB / 426.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4758, allocations: 0 / 426.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002412/0.476, allocations: 203.5 kB / 426.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.476, allocations: 7.688 kB / 426.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.476, allocations: 0 / 426.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4761, allocations: 7.781 kB / 426.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.4762, allocations: 45.2 kB / 426.9 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.4762, allocations: 3.844 kB / 426.9 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.4763, allocations: 32.3 kB / 427 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.4764, allocations: 7.812 kB / 427 MB, free: 8.051 MB / 298.7 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.806e-05/0.4764, allocations: 127.8 kB / 427.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.4765, allocations: 23.34 kB / 427.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.98e-05/0.4765, allocations: 22.12 kB / 427.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4766, allocations: 3.844 kB / 427.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4766, allocations: 4 kB / 427.1 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4766, allocations: 8.078 kB / 427.1 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.4769, allocations: 243.6 kB / 427.4 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4769, allocations: 0 / 427.4 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.4771, allocations: 30.27 kB / 427.4 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4771, allocations: 3.984 kB / 427.4 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.4771, allocations: 10.25 kB / 427.4 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4771, allocations: 4 kB / 427.4 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4771, allocations: 3.938 kB / 427.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.4774, allocations: 414.6 kB / 427.8 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.4774, allocations: 94.7 kB / 427.9 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.4775, allocations: 11.69 kB / 427.9 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.4776, allocations: 3.953 kB / 427.9 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.4776, allocations: 10.5 kB / 428 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.4776, allocations: 3.125 kB / 428 MB, free: 7.262 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.946e-05/0.4777, allocations: 150.5 kB / 428.1 MB, free: 7.188 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4777, allocations: 0 / 428.1 MB, free: 7.188 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003388/0.4781, allocations: 37.81 kB / 428.1 MB, free: 7.188 MB / 298.7 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.0001106/0.4782, allocations: 106 kB / 428.3 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.4784, allocations: 107.8 kB / 428.4 MB, free: 7.082 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4784, allocations: 0 / 428.4 MB, free: 7.082 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.4784, allocations: 37.56 kB / 428.4 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.4788, allocations: 25.67 kB / 428.4 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.4794, allocations: 0.5724 MB / 429 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.4796, allocations: 0.7298 MB / 429.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.823e-05/0.4797, allocations: 18.83 kB / 429.7 MB, free: 5.957 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.4797, allocations: 19.25 kB / 429.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4797, allocations: 0 / 429.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of Templates: time 0.003247/0.483, allocations: 1.278 MB / 431 MB, free: 5.34 MB / 298.7 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)