Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001036/0.001036, allocations: 169.2 kB / 12.72 MB, free: 2.59 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.23/1.23, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001539/0.001539, allocations: 103.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.022e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08353/0.08357, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3306/0.4142, allocations: 88.4 MB / 396 MB, free: 4.074 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4145, allocations: 81.52 kB / 396.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5555/0.9701, allocations: 126.2 MB / 0.5101 GB, free: 54.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.578e-06/0.9702, allocations: 0 / 0.5101 GB, free: 54.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004631/0.9707, allocations: 118.3 kB / 0.5102 GB, free: 54.84 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 0.02318/0.9938, allocations: 6.326 MB / 0.5164 GB, free: 52.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.9939, allocations: 10.22 kB / 0.5164 GB, free: 52.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03207/1.026, allocations: 8.312 MB / 0.5245 GB, free: 50.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0206/1.047, allocations: 7.25 MB / 0.5316 GB, free: 44.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004453/1.047, allocations: 457.1 kB / 0.532 GB, free: 44.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003484/1.051, allocations: 0.5853 MB / 0.5326 GB, free: 43.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02624/1.077, allocations: 15.58 MB / 0.5478 GB, free: 27.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001803/1.077, allocations: 79.3 kB / 0.5479 GB, free: 27.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008107/1.078, allocations: 278 kB / 0.5482 GB, free: 27.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001602/1.08, allocations: 1.614 MB / 0.5497 GB, free: 25.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0226/1.102, allocations: 13.74 MB / 0.5632 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3359/1.438, allocations: 63.97 MB / 0.6256 GB, free: 30.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01372/1.452, allocations: 6.393 MB / 0.6319 GB, free: 29.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003965/1.456, allocations: 3.471 MB / 0.6352 GB, free: 29.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01994/1.476, allocations: 14.32 MB / 0.6492 GB, free: 25.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/1.476, allocations: 65.81 kB / 0.6493 GB, free: 25.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 5.17e-06/1.476, allocations: 1.422 kB / 0.6493 GB, free: 25.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=336): time 0.08367/1.56, allocations: 29.63 MB / 0.6782 GB, free: 19.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/1.56, allocations: 215.4 kB / 0.6784 GB, free: 18.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00974/1.57, allocations: 4.764 MB / 0.6831 GB, free: 17.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001045/1.571, allocations: 76.31 kB / 0.6832 GB, free: 17.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003064/1.574, allocations: 4.422 MB / 0.6875 GB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001858/1.576, allocations: 1.243 MB / 0.6887 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008459/1.576, allocations: 170.9 kB / 0.6889 GB, free: 12.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000548/1.577, allocations: 0.6823 MB / 0.6895 GB, free: 12.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006203/1.583, allocations: 4.461 MB / 0.6939 GB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008848/1.592, allocations: 9.398 MB / 0.7031 GB, free: 15.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/1.604, allocations: 6.4 MB / 0.7093 GB, free: 9.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002428/1.604, allocations: 48 kB / 0.7094 GB, free: 9.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.04501/1.649, allocations: 18.49 MB / 0.7274 GB, free: 11.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000232/1.649, allocations: 84.03 kB / 0.7275 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003407/1.65, allocations: 175.9 kB / 0.7277 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02142/1.671, allocations: 5.637 MB / 0.7332 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007816/1.679, allocations: 2.041 MB / 0.7352 GB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2453/1.924, allocations: 23.59 MB / 0.7582 GB, free: 91.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007516/1.932, allocations: 0.5452 MB / 0.7587 GB, free: 91.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001508/1.933, allocations: 0.5029 MB / 0.7592 GB, free: 91.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1057): * Single equations (assignments): 1049 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001563/1.935, allocations: 0.7426 MB / 0.76 GB, free: 90.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.936, allocations: 0.4947 MB / 0.7604 GB, free: 90.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02723/1.963, allocations: 12.27 MB / 0.7724 GB, free: 89.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.675e-05/1.964, allocations: 59.33 kB / 0.7725 GB, free: 89.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-05/1.964, allocations: 7.781 kB / 0.7725 GB, free: 89.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.996e-05/1.964, allocations: 15.33 kB / 0.7725 GB, free: 89.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05523/2.019, allocations: 23.86 MB / 0.7958 GB, free: 79.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.986e-05/2.019, allocations: 5.375 kB / 0.7958 GB, free: 79.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/2.022, allocations: 0.5667 MB / 0.7963 GB, free: 79.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01781/2.04, allocations: 4.644 MB / 0.8009 GB, free: 79.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009296/2.041, allocations: 56.78 kB / 0.8009 GB, free: 79.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02136/2.062, allocations: 18.92 MB / 0.8194 GB, free: 68.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/2.062, allocations: 8 kB / 0.8194 GB, free: 68.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03128/2.094, allocations: 17.26 MB / 0.8363 GB, free: 53.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003828/2.097, allocations: 1.217 MB / 0.8375 GB, free: 52.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001821/2.099, allocations: 52.78 kB / 0.8375 GB, free: 52.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003853/2.103, allocations: 250.8 kB / 0.8378 GB, free: 52.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000974/2.104, allocations: 194.3 kB / 0.8379 GB, free: 51.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005314/2.105, allocations: 81.33 kB / 0.838 GB, free: 51.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0062/2.111, allocations: 3.301 MB / 0.8412 GB, free: 48.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.111, allocations: 0 / 0.8412 GB, free: 48.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009011/2.12, allocations: 1.701 MB / 0.8429 GB, free: 46.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 243 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000955/2.121, allocations: 210.6 kB / 0.8431 GB, free: 46.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01486/2.136, allocations: 10.3 MB / 0.8532 GB, free: 36.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/2.136, allocations: 4 kB / 0.8532 GB, free: 36.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004998/2.141, allocations: 3.889 MB / 0.857 GB, free: 33.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/2.145, allocations: 0.5802 MB / 0.8575 GB, free: 32.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02608/2.171, allocations: 13.44 MB / 0.8707 GB, free: 19.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006692/2.177, allocations: 4.744 MB / 0.8753 GB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.2043/2.382, allocations: 2.981 MB / 0.8782 GB, free: 83.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/2.384, allocations: 351.8 kB / 0.8785 GB, free: 83.17 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/2.384, allocations: 0 / 0.8785 GB, free: 83.17 MB / 394.7 MB Notification: Performance of Templates: time 0.1129/2.497, allocations: 73.19 MB / 0.95 GB, free: 63.62 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1)