Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005199/0.0005202, allocations: 8 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.246, allocations: 47.59 MB / 326.4 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.02492/0.271, allocations: 28.69 MB / 355.1 MB, free: 6.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.2874, allocations: 6.579 MB / 361.7 MB, free: 184 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005392/0.2928, allocations: 139.7 kB / 361.8 MB, free: 44 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004276/0.2971, allocations: 1.404 MB / 363.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01344/0.3106, allocations: 4.075 MB / 367.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.3126, allocations: 215.7 kB / 367.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01918/0.3318, allocations: 13.55 MB / 381.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003393/0.3352, allocations: 2.413 MB / 383.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009707/0.3362, allocations: 0.6966 MB / 384.2 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.3375, allocations: 0.9967 MB / 385.2 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002656/0.3378, allocations: 96 kB / 385.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.3389, allocations: 487.2 kB / 385.8 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.3399, allocations: 1.153 MB / 386.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005298/0.3404, allocations: 0.6323 MB / 387.6 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.344, allocations: 3.694 MB / 391.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.3441, allocations: 0 / 391.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3441, allocations: 0 / 391.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.049e-05/0.3441, allocations: 0 / 391.2 MB, free: 2.52 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.005155/0.3493, allocations: 3.178 MB / 394.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3494, allocations: 12.03 kB / 394.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005923/0.3553, allocations: 1.968 MB / 396.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/0.3587, allocations: 1.631 MB / 398 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.3588, allocations: 147.8 kB / 398.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003221/0.3592, allocations: 199.9 kB / 398.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.3692, allocations: 6.991 MB / 405.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.081e-05/0.3694, allocations: 27.75 kB / 405.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004404/0.3698, allocations: 103.9 kB / 405.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002299/0.3721, allocations: 1.562 MB / 407.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.3825, allocations: 5.489 MB / 412.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03519/0.4177, allocations: 27.4 MB / 439.9 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.4207, allocations: 1.588 MB / 441.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005323/0.426, allocations: 2.692 MB / 444.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/0.4262, allocations: 54.5 kB / 444.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 5.15e-06/0.4262, allocations: 0 / 444.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=80): time 0.004478/0.4307, allocations: 1.915 MB / 446.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.875e-05/0.4308, allocations: 191.9 kB / 446.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007272/0.4381, allocations: 3.714 MB / 450.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.4383, allocations: 33.7 kB / 450.1 MB, free: 5.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002337/0.4406, allocations: 2.718 MB / 452.8 MB, free: 2.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005886/0.4412, allocations: 363.9 kB / 453.2 MB, free: 2.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/0.4416, allocations: 99.92 kB / 453.3 MB, free: 2.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004111/0.442, allocations: 0.5083 MB / 453.8 MB, free: 1.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/0.4442, allocations: 1.184 MB / 455 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2584/0.7027, allocations: 4.524 MB / 459.5 MB, free: 109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/0.7065, allocations: 2.286 MB / 461.8 MB, free: 108.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/0.7066, allocations: 34.03 kB / 461.8 MB, free: 108.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009854/0.7165, allocations: 5.417 MB / 467.2 MB, free: 106.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.443e-05/0.7166, allocations: 54.81 kB / 467.3 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/0.7167, allocations: 122.6 kB / 467.4 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.7169, allocations: 175.1 kB / 467.6 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.7197, allocations: 1.101 MB / 468.7 MB, free: 106.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001902/0.7199, allocations: 234.1 kB / 468.9 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003793/0.7237, allocations: 0.7125 MB / 469.6 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004504/0.7242, allocations: 317.3 kB / 469.9 MB, free: 106.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (597): * Single equations (assignments): 594 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00254/0.7268, allocations: 1.71 MB / 471.7 MB, free: 105.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005813/0.7273, allocations: 296.2 kB / 471.9 MB, free: 105.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008637/0.7282, allocations: 0.495 MB / 472.4 MB, free: 104.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.7283, allocations: 14.56 kB / 472.5 MB, free: 104.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.7283, allocations: 3.75 kB / 472.5 MB, free: 104.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.7283, allocations: 5.625 kB / 472.5 MB, free: 104.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004864/0.7332, allocations: 3.227 MB / 475.7 MB, free: 102.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.7332, allocations: 8.031 kB / 475.7 MB, free: 102.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.7336, allocations: 105.1 kB / 475.8 MB, free: 102.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.7336, allocations: 10.25 kB / 475.8 MB, free: 102.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.7337, allocations: 17.97 kB / 475.8 MB, free: 102.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.7337, allocations: 4 kB / 475.8 MB, free: 102.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.7337, allocations: 9.953 kB / 475.8 MB, free: 102.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.7355, allocations: 2.381 MB / 478.2 MB, free: 100.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008239/0.7363, allocations: 0.5218 MB / 478.7 MB, free: 99.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/0.7365, allocations: 19.47 kB / 478.8 MB, free: 99.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008354/0.7374, allocations: 51.03 kB / 478.8 MB, free: 99.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.7375, allocations: 50.39 kB / 478.9 MB, free: 99.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.7376, allocations: 28.06 kB / 478.9 MB, free: 99.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0028/0.7404, allocations: 2.367 MB / 481.3 MB, free: 97.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7404, allocations: 0 / 481.3 MB, free: 97.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004166/0.7445, allocations: 0.8216 MB / 482.1 MB, free: 96.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003428/0.7449, allocations: 159.8 kB / 482.2 MB, free: 96.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004017/0.7489, allocations: 2.751 MB / 485 MB, free: 93.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.7489, allocations: 0 / 485 MB, free: 93.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.7494, allocations: 409.5 kB / 485.4 MB, free: 93.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.7512, allocations: 355 kB / 485.7 MB, free: 92.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.7628, allocations: 7.944 MB / 493.7 MB, free: 84.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/0.7648, allocations: 2.755 MB / 496.4 MB, free: 82.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003326/0.7682, allocations: 1.553 MB / 498 MB, free: 80.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.7687, allocations: 219.4 kB / 498.2 MB, free: 80.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7687, allocations: 4 kB / 498.2 MB, free: 80.3 MB / 382.1 MB Notification: Performance of Templates: time 0.04303/0.8117, allocations: 23.91 MB / 0.5099 GB, free: 56.42 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) Environment - environmentSimulation: