Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001459/0.001459, allocations: 187.8 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.477/1.477, allocations: 194.3 MB / 203.1 MB, free: 9.32 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.001721/0.001721, allocations: 115.9 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.574e-05/1.586e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09804, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3387/0.4368, allocations: 88.08 MB / 430.7 MB, free: 7.996 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.4371, allocations: 82.14 kB / 430.7 MB, free: 7.953 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4893/0.9264, allocations: 120 MB / 0.5379 GB, free: 66.62 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.9264, allocations: 0 / 0.5379 GB, free: 66.62 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004445/0.9269, allocations: 121.1 kB / 0.538 GB, free: 66.62 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2055 * Number of variables: 2055 Notification: Performance of Generate backend data structure: time 0.0219/0.9488, allocations: 6.502 MB / 0.5443 GB, free: 64.23 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.9489, allocations: 9.688 kB / 0.5443 GB, free: 64.23 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03766/0.9865, allocations: 9.427 MB / 0.5536 GB, free: 63.82 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02281/1.009, allocations: 8.56 MB / 0.5619 GB, free: 62.95 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004979/1.01, allocations: 184.2 kB / 0.5621 GB, free: 62.95 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004336/1.014, allocations: 355.1 kB / 0.5624 GB, free: 62.93 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01608/1.03, allocations: 8.865 MB / 0.5711 GB, free: 62.9 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0275/1.058, allocations: 13.01 MB / 0.5838 GB, free: 56.98 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004051/1.058, allocations: 85.92 kB / 0.5839 GB, free: 56.96 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002561/1.061, allocations: 35.16 kB / 0.5839 GB, free: 56.96 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002014/1.063, allocations: 1.435 MB / 0.5853 GB, free: 56.73 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07206/1.135, allocations: 62.88 MB / 0.6467 GB, free: 24.64 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007405/1.142, allocations: 7.021 MB / 0.6536 GB, free: 18.15 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004945/1.147, allocations: 5.037 MB / 0.6585 GB, free: 13.52 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007554/1.148, allocations: 0.5828 MB / 0.659 GB, free: 12.91 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/1.148, allocations: 72.75 kB / 0.6591 GB, free: 12.82 MB / 411.1 MB Notification: Performance of pre-optimization done (n=346): time 6.122e-06/1.148, allocations: 0 / 0.6591 GB, free: 12.82 MB / 411.1 MB Notification: Performance of matching and sorting (n=610): time 0.3855/1.534, allocations: 75.29 MB / 0.7326 GB, free: 69.22 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/1.534, allocations: 271.7 kB / 0.7329 GB, free: 68.96 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006732/1.541, allocations: 3.972 MB / 0.7368 GB, free: 67.54 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001856/1.543, allocations: 25.7 kB / 0.7368 GB, free: 67.51 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00215/1.545, allocations: 4.05 MB / 0.7408 GB, free: 64.59 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002992/1.548, allocations: 2.063 MB / 0.7428 GB, free: 63.01 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/1.549, allocations: 0 / 0.7428 GB, free: 63.01 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.000438/1.549, allocations: 0.7214 MB / 0.7435 GB, free: 62.53 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009407/1.559, allocations: 8.426 MB / 0.7517 GB, free: 59.25 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01257/1.571, allocations: 12.6 MB / 0.764 GB, free: 50.5 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0134/1.585, allocations: 10.4 MB / 0.7742 GB, free: 45.05 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000158/1.585, allocations: 40 kB / 0.7742 GB, free: 45.01 MB / 411.1 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.08512/1.67, allocations: 38.98 MB / 0.8123 GB, free: 10.63 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.156e-05/1.67, allocations: 64 kB / 0.8123 GB, free: 10.57 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/1.67, allocations: 144 kB / 0.8125 GB, free: 10.43 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2741/1.944, allocations: 21.34 MB / 0.8333 GB, free: 62.79 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007108/1.951, allocations: 1.487 MB / 0.8348 GB, free: 62.79 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1844/2.136, allocations: 137 MB / 0.9686 GB, free: 9.48 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01174/2.148, allocations: 0.5528 MB / 0.9691 GB, free: 9.145 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002864/2.151, allocations: 0.5437 MB / 0.9697 GB, free: 8.609 MB / 427.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: b2.frame_b.R.T[3,1]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[1,1]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[1,3]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[3,2]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[3,3]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[1,2]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 649 * Number of states: 0 () * Number of discrete variables: 51 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[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 (802): * Single equations (assignments): 795 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 176,(17,45.3%) 115,(2,100.0%) 7} * Non-linear torn systems: 1 {12 90} Notification: Performance of prepare postOptimizeDAE: time 0.002732/2.153, allocations: 497.7 kB / 0.9701 GB, free: 8.352 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002049/2.155, allocations: 0.5438 MB / 0.9707 GB, free: 7.801 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2975/2.453, allocations: 35.47 MB / 1.005 GB, free: 78.79 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001455/2.453, allocations: 65.78 kB / 1.005 GB, free: 78.79 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001237/2.453, allocations: 64.09 kB / 1.005 GB, free: 78.79 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001371/2.453, allocations: 31.98 kB / 1.005 GB, free: 78.79 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1049/2.558, allocations: 55.74 MB / 1.06 GB, free: 64.24 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.767e-05/2.558, allocations: 3.719 kB / 1.06 GB, free: 64.24 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/2.56, allocations: 280.8 kB / 1.06 GB, free: 64.21 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05478/2.615, allocations: 20.57 MB / 1.08 GB, free: 50.04 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00184/2.617, allocations: 8.75 kB / 1.08 GB, free: 50.03 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4039/3.02, allocations: 124.6 MB / 1.202 GB, free: 55.57 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/3.021, allocations: 0 / 1.202 GB, free: 55.57 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08558/3.106, allocations: 48.01 MB / 1.249 GB, free: 29.07 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005864/3.112, allocations: 2.357 MB / 1.251 GB, free: 26.95 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002937/3.115, allocations: 4 kB / 1.251 GB, free: 26.95 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007707/3.123, allocations: 416.3 kB / 1.252 GB, free: 26.75 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004256/3.127, allocations: 0.5072 MB / 1.252 GB, free: 26.43 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001148/3.128, allocations: 143.4 kB / 1.252 GB, free: 26.3 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.004208/3.132, allocations: 2.727 MB / 1.255 GB, free: 23.93 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.31e-07/3.132, allocations: 0 / 1.255 GB, free: 23.93 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.01505/3.148, allocations: 3.056 MB / 1.258 GB, free: 20.89 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (154): * Single equations (assignments): 147 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 173,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.001891/3.149, allocations: 152.9 kB / 1.258 GB, free: 20.76 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.2499/3.399, allocations: 23.56 MB / 1.281 GB, free: 64.27 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/3.399, allocations: 0 / 1.281 GB, free: 64.27 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02316/3.423, allocations: 13.24 MB / 1.294 GB, free: 63.39 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00464/3.427, allocations: 0.538 MB / 1.294 GB, free: 63.37 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03664/3.464, allocations: 20.76 MB / 1.315 GB, free: 61.04 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009074/3.473, allocations: 5.314 MB / 1.32 GB, free: 60.17 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.005835/3.479, allocations: 2.136 MB / 1.322 GB, free: 60.11 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008585/3.48, allocations: 281.5 kB / 1.322 GB, free: 60.1 MB / 427.1 MB Notification: Performance of SimCode: time 1.323e-06/3.48, allocations: 1.219 kB / 1.322 GB, free: 60.1 MB / 427.1 MB Notification: Performance of Templates: time 0.6455/4.125, allocations: 212.1 MB / 1.529 GB, free: 43.35 MB / 443.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1)