Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001177/0.001177, allocations: 170.1 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.531/1.531, allocations: 170.6 MB / 183.8 MB, free: 11.47 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.001576/0.001576, allocations: 103.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.257e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0869/0.08695, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3365/0.4235, allocations: 78.98 MB / 386.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4238, allocations: 85.2 kB / 386.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1499/0.5737, allocations: 56.77 MB / 443.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5737, allocations: 0 / 443.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001121/0.5739, allocations: 47.98 kB / 443.5 MB, free: 10.02 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.00736/0.5812, allocations: 2.521 MB / 446 MB, free: 7.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.5813, allocations: 8.031 kB / 446 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008465/0.5898, allocations: 1.97 MB / 448 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008657/0.5985, allocations: 3.267 MB / 451.3 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.5987, allocations: 180.5 kB / 451.5 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005936/0.5993, allocations: 239.8 kB / 451.7 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.6102, allocations: 6.727 MB / 458.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.729e-05/0.6103, allocations: 47.61 kB / 458.5 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003595/0.6107, allocations: 115.9 kB / 458.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009695/0.6117, allocations: 0.7111 MB / 459.3 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.6219, allocations: 5.69 MB / 465 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2404/0.8624, allocations: 33.28 MB / 498.3 MB, free: 59.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/0.8669, allocations: 2.283 MB / 0.4888 GB, free: 58.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.8684, allocations: 1.019 MB / 0.4898 GB, free: 58.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-05/0.8684, allocations: 17.06 kB / 0.4898 GB, free: 58.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.8685, allocations: 40.69 kB / 0.4899 GB, free: 58.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=98): time 4.438e-06/0.8685, allocations: 3.75 kB / 0.4899 GB, free: 58.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.01501/0.8835, allocations: 7.005 MB / 0.4967 GB, free: 56.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.8836, allocations: 145.9 kB / 0.4968 GB, free: 56.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003156/0.8868, allocations: 2.482 MB / 0.4993 GB, free: 56.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-05/0.8869, allocations: 42.12 kB / 0.4993 GB, free: 56.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009774/0.8879, allocations: 2.061 MB / 0.5013 GB, free: 55.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.8882, allocations: 437.9 kB / 0.5017 GB, free: 55.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.8883, allocations: 87.09 kB / 0.5018 GB, free: 55.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.8885, allocations: 498.4 kB / 0.5023 GB, free: 54.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.8901, allocations: 1.348 MB / 0.5036 GB, free: 54.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/0.8929, allocations: 4.131 MB / 0.5077 GB, free: 51.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.8953, allocations: 2.36 MB / 0.51 GB, free: 50.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-05/0.8954, allocations: 33.12 kB / 0.51 GB, free: 50.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.008539/0.9039, allocations: 5.942 MB / 0.5158 GB, free: 48.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.55e-05/0.904, allocations: 49.88 kB / 0.5158 GB, free: 48.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-05/0.9041, allocations: 104.6 kB / 0.5159 GB, free: 48.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/0.9061, allocations: 0.8104 MB / 0.5167 GB, free: 48.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/0.9085, allocations: 0.985 MB / 0.5177 GB, free: 48.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.913, allocations: 4.099 MB / 0.5217 GB, free: 46.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/0.916, allocations: 284.4 kB / 0.522 GB, free: 46.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003111/0.9163, allocations: 270.2 kB / 0.5222 GB, free: 46.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (528): * Single equations (assignments): 524 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004717/0.9168, allocations: 445.5 kB / 0.5226 GB, free: 45.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.9171, allocations: 233.6 kB / 0.5229 GB, free: 45.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/0.9205, allocations: 1.843 MB / 0.5247 GB, free: 45.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.9205, allocations: 15.5 kB / 0.5247 GB, free: 45.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.9205, allocations: 3.938 kB / 0.5247 GB, free: 45.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.9205, allocations: 3.844 kB / 0.5247 GB, free: 45.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0077/0.9282, allocations: 4.804 MB / 0.5294 GB, free: 43.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.9283, allocations: 0 / 0.5294 GB, free: 43.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/0.9289, allocations: 146.4 kB / 0.5295 GB, free: 43.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/0.9308, allocations: 0.6399 MB / 0.5301 GB, free: 43.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/0.9309, allocations: 19.75 kB / 0.5302 GB, free: 43.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/0.9349, allocations: 3.624 MB / 0.5337 GB, free: 41.19 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.9349, allocations: 11.44 kB / 0.5337 GB, free: 41.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005157/0.9401, allocations: 3.754 MB / 0.5374 GB, free: 38.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.9413, allocations: 441.2 kB / 0.5378 GB, free: 38.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.9415, allocations: 25.19 kB / 0.5378 GB, free: 38.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008787/0.9424, allocations: 64.09 kB / 0.5379 GB, free: 37.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.9425, allocations: 61.94 kB / 0.5379 GB, free: 37.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.424e-05/0.9426, allocations: 30.05 kB / 0.538 GB, free: 37.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002209/0.9448, allocations: 1.715 MB / 0.5397 GB, free: 36.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9448, allocations: 0 / 0.5397 GB, free: 36.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00298/0.9478, allocations: 0.6423 MB / 0.5403 GB, free: 35.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003234/0.9482, allocations: 145.9 kB / 0.5404 GB, free: 35.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004191/0.9524, allocations: 3.334 MB / 0.5437 GB, free: 32.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9524, allocations: 0 / 0.5437 GB, free: 32.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009622/0.9534, allocations: 0.921 MB / 0.5446 GB, free: 31.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.9547, allocations: 228.9 kB / 0.5448 GB, free: 31.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008279/0.963, allocations: 4.403 MB / 0.5491 GB, free: 27.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/0.9647, allocations: 2.236 MB / 0.5513 GB, free: 25.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002962/0.9677, allocations: 1.395 MB / 0.5526 GB, free: 24.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.9681, allocations: 164.5 kB / 0.5528 GB, free: 24.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9681, allocations: 0 / 0.5528 GB, free: 24.79 MB / 346.7 MB Notification: Performance of Templates: time 0.03687/1.005, allocations: 21.56 MB / 0.5739 GB, free: 4.961 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1)