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.0009826/0.0009827, allocations: 112.6 kB / 17.28 MB, free: 6.043 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.0009361/0.0009362, allocations: 185.3 kB / 18.19 MB, free: 5.152 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 MB, free: 12.45 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.001105/0.001105, allocations: 56.12 kB / 280.3 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0874/0.08852, allocations: 46.63 MB / 326.9 MB, free: 4.688 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03603/0.1246, allocations: 42.2 MB / 369.1 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01986/0.1445, allocations: 9.064 MB / 378.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008798/0.1534, allocations: 175.6 kB / 378.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1775/0.3309, allocations: 2.475 MB / 380.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004737/0.3357, allocations: 1.632 MB / 382.4 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.3371, allocations: 0.6398 MB / 383.1 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005264/0.3424, allocations: 3.728 MB / 386.8 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004143/0.3465, allocations: 3.745 MB / 390.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.3487, allocations: 1.505 MB / 392 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/0.351, allocations: 2.168 MB / 394.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005406/0.3515, allocations: 318.4 kB / 394.5 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.3534, allocations: 1.174 MB / 395.7 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.3548, allocations: 1.85 MB / 397.5 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.3565, allocations: 2.18 MB / 399.7 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004674/0.3612, allocations: 6.523 MB / 406.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3612, allocations: 0 / 406.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3612, allocations: 0 / 406.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.277e-05/0.3613, allocations: 2.625 kB / 406.3 MB, free: 3.754 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.006965/0.3683, allocations: 4.594 MB / 410.8 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.3683, allocations: 9.562 kB / 410.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007833/0.3691, allocations: 0.7204 MB / 411.6 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006302/0.3754, allocations: 1.891 MB / 413.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004454/0.3799, allocations: 2.438 MB / 415.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.3801, allocations: 252.3 kB / 416.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008321/0.381, allocations: 396.1 kB / 416.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0171/0.3981, allocations: 10.07 MB / 426.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001684/0.3983, allocations: 45.86 kB / 426.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006987/0.399, allocations: 160.5 kB / 426.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002599/0.4016, allocations: 1.856 MB / 428.7 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01697/0.4186, allocations: 8.328 MB / 437 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0511/0.4697, allocations: 39.36 MB / 476.4 MB, free: 296 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009592/0.4794, allocations: 3.999 MB / 480.4 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001957/0.4813, allocations: 1.42 MB / 481.8 MB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.4926, allocations: 7.606 MB / 489.4 MB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.4927, allocations: 54.19 kB / 489.4 MB, free: 2.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 4.438e-06/0.4927, allocations: 0 / 489.4 MB, free: 2.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.02931/0.522, allocations: 12.45 MB / 0.4901 GB, free: 6.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001189/0.5233, allocations: 1.684 MB / 0.4918 GB, free: 4.195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004942/0.5282, allocations: 3.831 MB / 0.4955 GB, free: 388 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002891/0.5285, allocations: 49.7 kB / 0.4955 GB, free: 332 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001848/0.5304, allocations: 3.124 MB / 0.4986 GB, free: 13.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006933/0.5311, allocations: 0.6498 MB / 0.4992 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001406/0.5325, allocations: 1.249 MB / 0.5005 GB, free: 11.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.5326, allocations: 301.1 kB / 0.5007 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/0.5353, allocations: 2.003 MB / 0.5027 GB, free: 9.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00543/0.5408, allocations: 5.941 MB / 0.5085 GB, free: 1.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/0.5512, allocations: 8.577 MB / 0.5169 GB, free: 7.188 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/0.5514, allocations: 40 kB / 0.5169 GB, free: 7.148 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.0164/0.5678, allocations: 8.77 MB / 0.5255 GB, free: 14.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/0.5679, allocations: 68 kB / 0.5255 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00558/0.5735, allocations: 2.794 MB / 0.5283 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004679/0.5782, allocations: 1.537 MB / 0.5298 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003874/0.5821, allocations: 1.361 MB / 0.5311 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.5879, allocations: 5.812 MB / 0.5368 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004188/0.5921, allocations: 398.5 kB / 0.5372 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005694/0.5927, allocations: 384 kB / 0.5375 GB, free: 1.812 MB / 462.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.1639/0.7566, allocations: 2.008 MB / 0.5395 GB, free: 174.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006942/0.7573, allocations: 326.7 kB / 0.5398 GB, free: 174.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007096/0.7644, allocations: 3.119 MB / 0.5428 GB, free: 174 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005799/0.7703, allocations: 2.687 MB / 0.5455 GB, free: 173.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.7703, allocations: 7.438 kB / 0.5455 GB, free: 173.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-05/0.7703, allocations: 7.469 kB / 0.5455 GB, free: 173.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.7847, allocations: 8.579 MB / 0.5539 GB, free: 170.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.7848, allocations: 1.562 kB / 0.5539 GB, free: 170.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008282/0.7856, allocations: 191.5 kB / 0.554 GB, free: 170.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004098/0.7897, allocations: 1.446 MB / 0.5555 GB, free: 170.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/0.7899, allocations: 34.23 kB / 0.5555 GB, free: 170.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005062/0.7949, allocations: 6.007 MB / 0.5614 GB, free: 166.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006829/0.7956, allocations: 1.553 MB / 0.5629 GB, free: 164.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007393/0.8031, allocations: 5.291 MB / 0.568 GB, free: 163 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.8041, allocations: 378.8 kB / 0.5684 GB, free: 162.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000412/0.8045, allocations: 31.69 kB / 0.5684 GB, free: 162.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.8058, allocations: 118.4 kB / 0.5685 GB, free: 162.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/0.8061, allocations: 88.47 kB / 0.5686 GB, free: 162.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.8062, allocations: 53.27 kB / 0.5687 GB, free: 162.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003058/0.8092, allocations: 2.353 MB / 0.571 GB, free: 161.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8093, allocations: 3.938 kB / 0.571 GB, free: 161.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004556/0.8138, allocations: 1.003 MB / 0.572 GB, free: 161.6 MB / 462.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.006912/0.8208, allocations: 5.764 MB / 0.5776 GB, free: 158 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008684/0.8295, allocations: 5.928 MB / 0.5834 GB, free: 152.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.8295, allocations: 7.25 kB / 0.5834 GB, free: 152.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003449/0.833, allocations: 2.03 MB / 0.5854 GB, free: 150 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/0.836, allocations: 405.7 kB / 0.5858 GB, free: 149.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0668/0.9028, allocations: 52.2 MB / 0.6367 GB, free: 89.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003851/0.9067, allocations: 3.115 MB / 0.6398 GB, free: 86.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003974/0.9107, allocations: 1.804 MB / 0.6415 GB, free: 84.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/0.9127, allocations: 1.761 MB / 0.6433 GB, free: 82.84 MB / 462.1 MB Notification: Performance of SimCode: time 1.733e-06/0.9127, allocations: 0 / 0.6433 GB, free: 82.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09929/1.012, allocations: 69.82 MB / 0.7114 GB, free: 12.89 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/1.012, allocations: 256.2 kB / 0.7117 GB, free: 12.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.046/5.058, allocations: 5.578 kB / 0.7117 GB, free: 12.62 MB / 462.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)