Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001171, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001357/0.001357, allocations: 55.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2714, allocations: 46.62 MB / 325.3 MB, free: 1.879 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008351/0.2798, allocations: 7.133 MB / 332.4 MB, free: 12.28 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006688/0.2866, allocations: 3.152 MB / 335.6 MB, free: 9.641 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.2877, allocations: 35.88 kB / 335.6 MB, free: 9.605 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.2894, allocations: 0.782 MB / 336.4 MB, free: 8.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0042/0.2936, allocations: 1.315 MB / 337.7 MB, free: 7.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.2951, allocations: 0.4912 MB / 338.2 MB, free: 7.008 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003545/0.2987, allocations: 2.543 MB / 340.8 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.3006, allocations: 1.153 MB / 341.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.3021, allocations: 0.7627 MB / 342.7 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.3036, allocations: 1.106 MB / 343.8 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003384/0.304, allocations: 136 kB / 343.9 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.3057, allocations: 0.8775 MB / 344.8 MB, free: 408 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009623/0.3066, allocations: 1.005 MB / 345.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.3079, allocations: 1.199 MB / 347 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003846/0.3117, allocations: 3.786 MB / 350.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3117, allocations: 0 / 350.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3117, allocations: 0 / 350.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.567e-05/0.3118, allocations: 0 / 350.8 MB, free: 10.39 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.004718/0.3165, allocations: 2.882 MB / 353.7 MB, free: 7.445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3166, allocations: 8.031 kB / 353.7 MB, free: 7.438 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005997/0.3226, allocations: 1.651 MB / 355.3 MB, free: 5.781 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.3251, allocations: 1.363 MB / 356.7 MB, free: 4.375 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.763e-05/0.3252, allocations: 122.8 kB / 356.8 MB, free: 4.254 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003074/0.3256, allocations: 151.9 kB / 357 MB, free: 4.105 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008634/0.3342, allocations: 6.359 MB / 363.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.316e-05/0.3343, allocations: 39.66 kB / 363.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/0.3345, allocations: 75.89 kB / 363.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002417/0.337, allocations: 1.437 MB / 364.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009833/0.3468, allocations: 5.674 MB / 370.5 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02893/0.3758, allocations: 26.3 MB / 396.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004258/0.3801, allocations: 2.263 MB / 399.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.3814, allocations: 1.019 MB / 400.1 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.087e-05/0.3814, allocations: 19.98 kB / 400.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3815, allocations: 42.31 kB / 400.2 MB, free: 7.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 3.617e-06/0.3815, allocations: 0 / 400.2 MB, free: 7.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=106): time 0.02127/0.4027, allocations: 8.603 MB / 408.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.4028, allocations: 136.5 kB / 408.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004353/0.4072, allocations: 2.831 MB / 411.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002029/0.4074, allocations: 41.7 kB / 411.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.4089, allocations: 2.067 MB / 413.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005284/0.4094, allocations: 446.6 kB / 414.3 MB, free: 9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001378/0.4108, allocations: 0.8808 MB / 415.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4109, allocations: 305.1 kB / 415.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.4132, allocations: 1.414 MB / 416.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004315/0.4175, allocations: 4.25 MB / 421.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007517/0.425, allocations: 6.141 MB / 427.3 MB, free: 9.148 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/0.4252, allocations: 28 kB / 427.3 MB, free: 9.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01166/0.4369, allocations: 6.108 MB / 433.4 MB, free: 3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.537e-05/0.437, allocations: 48 kB / 433.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/0.4372, allocations: 100 kB / 433.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/0.4394, allocations: 0.7968 MB / 434.4 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/0.4426, allocations: 0.9903 MB / 435.3 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005632/0.4482, allocations: 4.488 MB / 439.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/0.4512, allocations: 243.6 kB / 440.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006618/0.4519, allocations: 280 kB / 440.3 MB, free: 11.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (537): * Single equations (assignments): 533 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00248/0.4543, allocations: 1.364 MB / 441.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005194/0.4549, allocations: 232.9 kB / 441.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003815/0.4587, allocations: 1.857 MB / 443.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/0.4587, allocations: 15.98 kB / 443.8 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/0.4588, allocations: 7.938 kB / 443.8 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.4588, allocations: 4.359 kB / 443.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009241/0.468, allocations: 4.797 MB / 448.6 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.4681, allocations: 4 kB / 448.6 MB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/0.4687, allocations: 131.8 kB / 448.8 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/0.4707, allocations: 0.6522 MB / 449.4 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-05/0.4708, allocations: 12 kB / 449.4 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1792/0.65, allocations: 3.947 MB / 453.4 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6501, allocations: 1.625 kB / 453.4 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005964/0.656, allocations: 3.691 MB / 457.1 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.6571, allocations: 441 kB / 457.5 MB, free: 107.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005487/0.6577, allocations: 18 kB / 457.5 MB, free: 107.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.6589, allocations: 61.36 kB / 457.6 MB, free: 107.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.6591, allocations: 63.17 kB / 457.6 MB, free: 107.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.567e-05/0.6592, allocations: 30.72 kB / 457.7 MB, free: 107.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002472/0.6617, allocations: 1.766 MB / 459.4 MB, free: 107.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6617, allocations: 0 / 459.4 MB, free: 107.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00334/0.6651, allocations: 0.642 MB / 460.1 MB, free: 107.2 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003337/0.6654, allocations: 140.9 kB / 460.2 MB, free: 107.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004778/0.6702, allocations: 3.643 MB / 463.8 MB, free: 105.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.6702, allocations: 3.656 kB / 463.8 MB, free: 105.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009836/0.6712, allocations: 0.9338 MB / 464.8 MB, free: 105.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.6728, allocations: 255.3 kB / 465 MB, free: 105.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008848/0.6816, allocations: 5.502 MB / 470.5 MB, free: 102.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002331/0.684, allocations: 2.194 MB / 472.7 MB, free: 100.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003255/0.6873, allocations: 1.4 MB / 474.1 MB, free: 99.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/0.6878, allocations: 167.4 kB / 474.3 MB, free: 98.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.134e-06/0.6878, allocations: 0 / 474.3 MB, free: 98.87 MB / 382.1 MB Notification: Performance of Templates: time 0.04401/0.7318, allocations: 22.96 MB / 497.2 MB, free: 75.96 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1)