Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001196/0.001196, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.482/1.482, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001623/0.001623, allocations: 107.5 kB / 223.2 MB, free: 4.105 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.023e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08682, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2968/0.3837, allocations: 65.88 MB / 373.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.384, allocations: 60.78 kB / 373.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007248/0.3912, allocations: 2.855 MB / 376.4 MB, free: 7.824 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3913, allocations: 0 / 376.4 MB, free: 7.824 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.3913, allocations: 4 kB / 376.4 MB, free: 7.82 MB / 266.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.0004583/0.3917, allocations: 421.2 kB / 376.8 MB, free: 7.371 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3918, allocations: 8.031 kB / 376.9 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.3918, allocations: 15.81 kB / 376.9 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.3921, allocations: 209.3 kB / 377.1 MB, free: 7.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.3921, allocations: 15.44 kB / 377.1 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.3922, allocations: 15.5 kB / 377.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.3925, allocations: 182.2 kB / 377.3 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3925, allocations: 3.906 kB / 377.3 MB, free: 6.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.3925, allocations: 11 kB / 377.3 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3925, allocations: 8 kB / 377.3 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.3927, allocations: 95.34 kB / 377.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.3938, allocations: 0.7865 MB / 378.2 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.3939, allocations: 111.3 kB / 378.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/0.394, allocations: 49.05 kB / 378.3 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.3941, allocations: 7.75 kB / 378.3 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3941, allocations: 34.56 kB / 378.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.3941, allocations: 0 / 378.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002624/0.3944, allocations: 116.9 kB / 378.5 MB, free: 5.777 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.3944, allocations: 102.8 kB / 378.6 MB, free: 5.652 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.3946, allocations: 195.3 kB / 378.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.3946, allocations: 32.89 kB / 378.8 MB, free: 5.449 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.3947, allocations: 131.1 kB / 378.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.3948, allocations: 56.69 kB / 379 MB, free: 5.285 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.3948, allocations: 7.5 kB / 379 MB, free: 5.281 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3949, allocations: 333.5 kB / 379.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.395, allocations: 36.34 kB / 379.4 MB, free: 4.926 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.3951, allocations: 127.6 kB / 379.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.214e-05/0.3952, allocations: 59.73 kB / 379.6 MB, free: 4.734 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3952, allocations: 3.938 kB / 379.6 MB, free: 4.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002674/0.3955, allocations: 202.5 kB / 379.8 MB, free: 4.562 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3955, allocations: 11.44 kB / 379.8 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3955, allocations: 0 / 379.8 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3955, allocations: 8 kB / 379.8 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.3957, allocations: 51.84 kB / 379.8 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3957, allocations: 7.938 kB / 379.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.3958, allocations: 22.75 kB / 379.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.3958, allocations: 11.28 kB / 379.9 MB, free: 4.461 MB / 266.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 0.0001024/0.396, allocations: 127.3 kB / 380 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.396, allocations: 19.81 kB / 380 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.3961, allocations: 22.67 kB / 380 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3961, allocations: 240 / 380 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3961, allocations: 4 kB / 380 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3961, allocations: 3.984 kB / 380 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.3965, allocations: 244.1 kB / 380.3 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3965, allocations: 0 / 380.3 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.3967, allocations: 27.98 kB / 380.3 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3967, allocations: 11.98 kB / 380.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3967, allocations: 3.312 kB / 380.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3967, allocations: 4 kB / 380.3 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3967, allocations: 3.938 kB / 380.3 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.3971, allocations: 412.1 kB / 380.7 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.3971, allocations: 96.86 kB / 380.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.3972, allocations: 3.562 kB / 380.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.3973, allocations: 3.984 kB / 380.8 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.3973, allocations: 6.938 kB / 380.8 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3973, allocations: 4 kB / 380.8 MB, free: 3.453 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.3975, allocations: 162.7 kB / 381 MB, free: 3.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.633e-06/0.3975, allocations: 0 / 381 MB, free: 3.316 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000322/0.3978, allocations: 46.12 kB / 381 MB, free: 3.277 MB / 266.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.0001237/0.3979, allocations: 103.2 kB / 381.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.3981, allocations: 104 kB / 381.2 MB, free: 3.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3981, allocations: 0 / 381.2 MB, free: 3.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/0.3982, allocations: 36.69 kB / 381.3 MB, free: 3.062 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3985, allocations: 26.34 kB / 381.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/0.3994, allocations: 0.5718 MB / 381.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.3996, allocations: 0.7362 MB / 382.6 MB, free: 1.699 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.697e-05/0.3997, allocations: 21.53 kB / 382.6 MB, free: 1.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.3998, allocations: 15.44 kB / 382.7 MB, free: 1.664 MB / 266.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3998, allocations: 7.938 kB / 382.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of Templates: time 0.003613/0.4034, allocations: 1.278 MB / 383.9 MB, free: 404 kB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)