Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_0_0_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.001007/0.001007, allocations: 90.64 kB / 16.65 MB, free: 6.602 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.001078/0.001078, allocations: 184.9 kB / 17.56 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002957, allocations: 8 kB / 301.5 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1031, allocations: 50.41 MB / 352 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2334/0.3365, allocations: 41.04 MB / 393 MB, free: 3.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0238/0.3604, allocations: 9.098 MB / 402.1 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01051/0.3709, allocations: 176.5 kB / 402.3 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.3726, allocations: 423.7 kB / 402.7 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005132/0.3777, allocations: 1.644 MB / 404.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.3793, allocations: 0.6254 MB / 405 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006068/0.3854, allocations: 5.321 MB / 410.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006763/0.3921, allocations: 4.833 MB / 415.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002589/0.3948, allocations: 1.109 MB / 416.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/0.3982, allocations: 1.818 MB / 418 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009812/0.3992, allocations: 140 kB / 418.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.402, allocations: 1.049 MB / 419.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002385/0.4044, allocations: 1.64 MB / 420.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00231/0.4068, allocations: 1.938 MB / 422.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005964/0.4127, allocations: 6.232 MB / 429 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4128, allocations: 7.938 kB / 429 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4128, allocations: 0 / 429 MB, free: 6.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.00011/0.4129, allocations: 0 / 429 MB, free: 6.98 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.006328/0.4192, allocations: 3.75 MB / 432.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4193, allocations: 15.97 kB / 432.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008206/0.4201, allocations: 0.7197 MB / 433.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006571/0.4267, allocations: 1.937 MB / 435.5 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003862/0.4306, allocations: 2.29 MB / 437.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.4308, allocations: 254.2 kB / 438 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008056/0.4316, allocations: 395.6 kB / 438.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01756/0.4491, allocations: 10.08 MB / 448.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001825/0.4494, allocations: 39.62 kB / 448.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008887/0.4503, allocations: 155.9 kB / 448.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002973/0.4533, allocations: 1.861 MB / 450.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/0.4709, allocations: 8.335 MB / 458.8 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04817/0.5191, allocations: 39.34 MB / 498.2 MB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.5295, allocations: 3.997 MB / 0.4904 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/0.5317, allocations: 1.42 MB / 0.4918 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.5422, allocations: 7.599 MB / 0.4992 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.5423, allocations: 59.44 kB / 0.4993 GB, free: 2.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 3.457e-06/0.5423, allocations: 0 / 0.4993 GB, free: 2.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03426/0.5766, allocations: 12.4 MB / 0.5114 GB, free: 5.504 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001318/0.5779, allocations: 1.585 MB / 0.5129 GB, free: 3.746 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006488/0.5844, allocations: 3.824 MB / 0.5167 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003436/0.5848, allocations: 49.69 kB / 0.5167 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002726/0.5876, allocations: 3.114 MB / 0.5198 GB, free: 12.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001106/0.5887, allocations: 0.6443 MB / 0.5204 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.59, allocations: 0.5271 MB / 0.5209 GB, free: 11.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.5902, allocations: 301.1 kB / 0.5212 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003931/0.5941, allocations: 2.011 MB / 0.5232 GB, free: 9.219 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006312/0.6004, allocations: 5.942 MB / 0.529 GB, free: 1.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.182/0.7824, allocations: 8.55 MB / 0.5373 GB, free: 138.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/0.7826, allocations: 39.78 kB / 0.5373 GB, free: 138.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01841/0.801, allocations: 8.784 MB / 0.5459 GB, free: 136.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.8011, allocations: 64.95 kB / 0.546 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006324/0.8075, allocations: 2.796 MB / 0.5487 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005015/0.8125, allocations: 1.535 MB / 0.5502 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003908/0.8165, allocations: 1.36 MB / 0.5515 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004761/0.8213, allocations: 5.524 MB / 0.5569 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004475/0.8258, allocations: 391.2 kB / 0.5573 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008483/0.8266, allocations: 392.9 kB / 0.5577 GB, free: 130.9 MB / 446.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.003141/0.8298, allocations: 2.012 MB / 0.5597 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005331/0.8303, allocations: 326.6 kB / 0.56 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005981/0.8363, allocations: 3.141 MB / 0.563 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005093/0.8414, allocations: 2.684 MB / 0.5657 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.8415, allocations: 3.375 kB / 0.5657 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.8415, allocations: 6.75 kB / 0.5657 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/0.855, allocations: 8.577 MB / 0.574 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.855, allocations: 0 / 0.574 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008302/0.8559, allocations: 187.7 kB / 0.5742 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004089/0.86, allocations: 1.433 MB / 0.5756 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002219/0.8602, allocations: 40.84 kB / 0.5757 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005052/0.8653, allocations: 5.711 MB / 0.5812 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006713/0.866, allocations: 1.451 MB / 0.5827 GB, free: 110.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007756/0.8737, allocations: 5.31 MB / 0.5878 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.8748, allocations: 380.7 kB / 0.5882 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007009/0.8755, allocations: 37.09 kB / 0.5882 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.877, allocations: 123.8 kB / 0.5884 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.8772, allocations: 97.78 kB / 0.5884 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.8773, allocations: 43.98 kB / 0.5885 GB, free: 104.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002975/0.8803, allocations: 2.341 MB / 0.5908 GB, free: 102.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8803, allocations: 0 / 0.5908 GB, free: 102.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004613/0.8849, allocations: 1.008 MB / 0.5918 GB, free: 101.5 MB / 446.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.006917/0.8919, allocations: 5.775 MB / 0.5974 GB, free: 95.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008076/0.9, allocations: 5.404 MB / 0.6027 GB, free: 90.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.9, allocations: 4.188 kB / 0.6027 GB, free: 90.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003407/0.9035, allocations: 2.028 MB / 0.6047 GB, free: 88.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/0.9068, allocations: 367.7 kB / 0.605 GB, free: 87.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07396/0.9807, allocations: 52.25 MB / 0.656 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004006/0.9848, allocations: 3.107 MB / 0.6591 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004295/0.9891, allocations: 1.8 MB / 0.6608 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002214/0.9913, allocations: 1.768 MB / 0.6626 GB, free: 20.86 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.9914, allocations: 4 kB / 0.6626 GB, free: 20.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3073/1.299, allocations: 67.49 MB / 0.7285 GB, free: 144.6 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/1.299, allocations: 250.1 kB / 0.7287 GB, free: 144.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.859/5.158, allocations: 3.938 kB / 0.7287 GB, free: 144.3 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)