Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 105.3 kB / 17.73 MB, free: 5.32 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.001575/0.001575, allocations: 192.2 kB / 18.67 MB, free: 4.387 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.319/1.319, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.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.001729/0.001729, allocations: 47.94 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.08777, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.1696/0.2574, allocations: 10.75 MB / 385.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006596/0.2641, allocations: 3.923 MB / 389.3 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.2655, allocations: 62.69 kB / 389.4 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0043/0.2698, allocations: 2.58 MB / 392 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.2743, allocations: 1.752 MB / 393.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.2758, allocations: 0.6928 MB / 394.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005137/0.281, allocations: 3.691 MB / 398.1 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003829/0.2848, allocations: 3.562 MB / 401.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.2875, allocations: 1.495 MB / 403.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.2901, allocations: 1.947 MB / 405.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006171/0.2907, allocations: 314.8 kB / 405.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.293, allocations: 1.158 MB / 406.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.2948, allocations: 1.823 MB / 408.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002295/0.2971, allocations: 2.142 MB / 410.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007852/0.305, allocations: 6.745 MB / 417.3 MB, free: 5.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.305, allocations: 0 / 417.3 MB, free: 5.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.305, allocations: 4 kB / 417.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001656/0.3052, allocations: 0 / 417.3 MB, free: 5.102 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.008608/0.3138, allocations: 4.71 MB / 422 MB, free: 324 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3138, allocations: 12.03 kB / 422 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000993/0.3148, allocations: 0.7197 MB / 422.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006683/0.3215, allocations: 1.917 MB / 424.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004285/0.3258, allocations: 2.478 MB / 427.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.326, allocations: 242.2 kB / 427.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008566/0.3269, allocations: 403.6 kB / 427.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/0.344, allocations: 10.07 MB / 437.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.522e-05/0.3441, allocations: 35.69 kB / 437.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004273/0.3446, allocations: 159.8 kB / 438 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002734/0.3473, allocations: 1.86 MB / 439.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/0.3641, allocations: 8.328 MB / 448.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04587/0.41, allocations: 39.3 MB / 487.5 MB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.4202, allocations: 3.997 MB / 491.5 MB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/0.4222, allocations: 1.427 MB / 492.9 MB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/0.4328, allocations: 7.605 MB / 0.4888 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.4329, allocations: 51.5 kB / 0.4888 GB, free: 15.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 3.787e-06/0.4329, allocations: 0 / 0.4888 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03334/0.4662, allocations: 12.65 MB / 0.5012 GB, free: 2.328 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001435/0.4677, allocations: 1.691 MB / 0.5029 GB, free: 468 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00624/0.474, allocations: 3.842 MB / 0.5066 GB, free: 12.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002795/0.4743, allocations: 45.7 kB / 0.5066 GB, free: 12.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002587/0.4769, allocations: 3.25 MB / 0.5098 GB, free: 9.297 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008591/0.4778, allocations: 0.6708 MB / 0.5105 GB, free: 8.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002193/0.48, allocations: 1.266 MB / 0.5117 GB, free: 7.344 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4801, allocations: 309.2 kB / 0.512 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/0.4834, allocations: 2.007 MB / 0.514 GB, free: 5.027 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006468/0.4899, allocations: 5.938 MB / 0.5198 GB, free: 13.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/0.5002, allocations: 8.568 MB / 0.5281 GB, free: 2.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/0.5004, allocations: 44 kB / 0.5282 GB, free: 2.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01728/0.5177, allocations: 8.789 MB / 0.5368 GB, free: 9.734 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.5178, allocations: 64 kB / 0.5368 GB, free: 9.672 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006331/0.5242, allocations: 2.798 MB / 0.5396 GB, free: 6.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005067/0.5293, allocations: 1.526 MB / 0.541 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004071/0.5333, allocations: 1.361 MB / 0.5424 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1829/0.7163, allocations: 5.804 MB / 0.548 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004341/0.7206, allocations: 397 kB / 0.5484 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006514/0.7213, allocations: 394.4 kB / 0.5488 GB, free: 132.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.002978/0.7243, allocations: 2.01 MB / 0.5508 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005334/0.7248, allocations: 350.2 kB / 0.5511 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006538/0.7314, allocations: 3.125 MB / 0.5541 GB, free: 131.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005599/0.737, allocations: 2.687 MB / 0.5568 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.737, allocations: 3.344 kB / 0.5568 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.737, allocations: 11.81 kB / 0.5568 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/0.7512, allocations: 8.557 MB / 0.5651 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.7512, allocations: 1.062 kB / 0.5651 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008488/0.7521, allocations: 193.9 kB / 0.5653 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00409/0.7562, allocations: 1.428 MB / 0.5667 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.7564, allocations: 41.52 kB / 0.5668 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005059/0.7614, allocations: 6.01 MB / 0.5726 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006536/0.7621, allocations: 1.548 MB / 0.5741 GB, free: 123 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007525/0.7696, allocations: 5.325 MB / 0.5793 GB, free: 121.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000866/0.7705, allocations: 390.6 kB / 0.5797 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/0.7709, allocations: 36.8 kB / 0.5797 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.7721, allocations: 120.6 kB / 0.5799 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/0.7724, allocations: 94.95 kB / 0.5799 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.7725, allocations: 46.66 kB / 0.58 GB, free: 121 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002893/0.7754, allocations: 2.357 MB / 0.5823 GB, free: 120.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7754, allocations: 0 / 0.5823 GB, free: 120.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004187/0.7796, allocations: 1.005 MB / 0.5833 GB, free: 120.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006458/0.7861, allocations: 5.786 MB / 0.5889 GB, free: 116.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00736/0.7934, allocations: 5.441 MB / 0.5942 GB, free: 111.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7935, allocations: 0 / 0.5942 GB, free: 111.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003135/0.7966, allocations: 2.044 MB / 0.5962 GB, free: 109.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.7991, allocations: 395.1 kB / 0.5966 GB, free: 109.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0538/0.853, allocations: 45.47 MB / 0.641 GB, free: 57.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003666/0.8567, allocations: 3.115 MB / 0.6441 GB, free: 54.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003292/0.86, allocations: 1.8 MB / 0.6458 GB, free: 52.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/0.8618, allocations: 1.765 MB / 0.6475 GB, free: 51.22 MB / 478.1 MB Notification: Performance of SimCode: time 1.523e-06/0.8619, allocations: 0 / 0.6475 GB, free: 51.22 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/0.9704, allocations: 66.19 MB / 0.7122 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.56/22.53, allocations: 4 kB / 0.7122 GB, free: 0.9766 MB / 494.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)