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.0008605/0.0008606, allocations: 92.53 kB / 17.3 MB, free: 6.023 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.001095/0.001095, allocations: 178.2 kB / 18.2 MB, free: 5.414 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.211/1.211, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005386/0.0005387, allocations: 8 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08524/0.0858, allocations: 47.57 MB / 329.1 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03359/0.1194, allocations: 41.05 MB / 370.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.1366, allocations: 9.111 MB / 379.2 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00759/0.1443, allocations: 179.5 kB / 379.4 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.1458, allocations: 413.9 kB / 379.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1801/0.3259, allocations: 1.632 MB / 381.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.3274, allocations: 0.6246 MB / 382.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006365/0.3337, allocations: 5.345 MB / 387.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006567/0.3403, allocations: 4.824 MB / 392.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.3426, allocations: 1.111 MB / 393.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003063/0.3457, allocations: 1.828 MB / 395.2 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007391/0.3464, allocations: 137.5 kB / 395.3 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.3489, allocations: 1.04 MB / 396.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.3504, allocations: 1.645 MB / 398 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.3522, allocations: 1.946 MB / 399.9 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005512/0.3577, allocations: 6.24 MB / 406.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3578, allocations: 0 / 406.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3578, allocations: 0 / 406.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001702/0.3579, allocations: 0 / 406.2 MB, free: 3.48 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.006873/0.3648, allocations: 3.757 MB / 409.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3649, allocations: 8.438 kB / 409.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00128/0.3662, allocations: 0.7227 MB / 410.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006665/0.3728, allocations: 1.932 MB / 412.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004993/0.3779, allocations: 2.448 MB / 415 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.3781, allocations: 246.9 kB / 415.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/0.3794, allocations: 393.1 kB / 415.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01642/0.3958, allocations: 10.08 MB / 425.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.194e-05/0.396, allocations: 45.84 kB / 425.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003703/0.3963, allocations: 161.8 kB / 425.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002501/0.3989, allocations: 1.845 MB / 427.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/0.4141, allocations: 8.339 MB / 436.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04721/0.4613, allocations: 39.37 MB / 475.5 MB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009927/0.4713, allocations: 4.004 MB / 479.5 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.4732, allocations: 1.426 MB / 480.9 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01/0.4832, allocations: 7.598 MB / 488.5 MB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.4833, allocations: 54.17 kB / 488.6 MB, free: 4.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 4.338e-06/0.4833, allocations: 0 / 488.6 MB, free: 4.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03211/0.5154, allocations: 12.45 MB / 0.4893 GB, free: 7.867 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001242/0.5167, allocations: 1.597 MB / 0.4909 GB, free: 6.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00523/0.5219, allocations: 3.833 MB / 0.4946 GB, free: 2.285 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003094/0.5223, allocations: 45.7 kB / 0.4946 GB, free: 2.234 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001998/0.5243, allocations: 3.12 MB / 0.4977 GB, free: 15.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007362/0.525, allocations: 0.645 MB / 0.4983 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006229/0.5256, allocations: 0.5324 MB / 0.4988 GB, free: 13.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.5257, allocations: 301.1 kB / 0.4991 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/0.5288, allocations: 2.011 MB / 0.5011 GB, free: 11.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00594/0.5347, allocations: 5.932 MB / 0.5069 GB, free: 3.793 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009696/0.5444, allocations: 8.573 MB / 0.5153 GB, free: 9.809 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/0.5446, allocations: 40.28 kB / 0.5153 GB, free: 9.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01595/0.5605, allocations: 8.786 MB / 0.5239 GB, free: 1.133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.464e-05/0.5607, allocations: 64 kB / 0.5239 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005792/0.5665, allocations: 2.786 MB / 0.5267 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005064/0.5715, allocations: 1.537 MB / 0.5282 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/0.5755, allocations: 1.357 MB / 0.5295 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00609/0.5816, allocations: 5.53 MB / 0.5349 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004752/0.5864, allocations: 391.4 kB / 0.5353 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009244/0.5874, allocations: 391.9 kB / 0.5356 GB, free: 4.766 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.004469/0.5918, allocations: 2.016 MB / 0.5376 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008926/0.5927, allocations: 327.7 kB / 0.5379 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1827/0.7754, allocations: 3.128 MB / 0.541 GB, free: 173.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00626/0.7818, allocations: 2.69 MB / 0.5436 GB, free: 173.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/0.7818, allocations: 5.609 kB / 0.5436 GB, free: 173.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.714e-05/0.7818, allocations: 7.328 kB / 0.5436 GB, free: 173.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/0.8002, allocations: 8.566 MB / 0.552 GB, free: 171.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.8003, allocations: 1.906 kB / 0.552 GB, free: 171.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/0.8012, allocations: 189.8 kB / 0.5521 GB, free: 171.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004304/0.8055, allocations: 1.432 MB / 0.5535 GB, free: 171.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/0.8057, allocations: 37.2 kB / 0.5536 GB, free: 171.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005247/0.811, allocations: 5.707 MB / 0.5592 GB, free: 167.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007154/0.8117, allocations: 1.465 MB / 0.5606 GB, free: 166.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007806/0.8195, allocations: 5.298 MB / 0.5658 GB, free: 164.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009926/0.8205, allocations: 383.5 kB / 0.5661 GB, free: 164.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/0.8209, allocations: 35.38 kB / 0.5662 GB, free: 164.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.8222, allocations: 120.2 kB / 0.5663 GB, free: 164.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.8225, allocations: 94.73 kB / 0.5664 GB, free: 164.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.8226, allocations: 50.19 kB / 0.5664 GB, free: 164.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003797/0.8264, allocations: 2.355 MB / 0.5687 GB, free: 163.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8264, allocations: 7.906 kB / 0.5687 GB, free: 163.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005747/0.8322, allocations: 1.005 MB / 0.5697 GB, free: 163.3 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.007705/0.8399, allocations: 5.766 MB / 0.5753 GB, free: 160.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008859/0.8488, allocations: 5.408 MB / 0.5806 GB, free: 155.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.8488, allocations: 0 / 0.5806 GB, free: 155.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003448/0.8523, allocations: 2.021 MB / 0.5826 GB, free: 153.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/0.8552, allocations: 375.5 kB / 0.5829 GB, free: 153.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07106/0.9263, allocations: 52.39 MB / 0.6341 GB, free: 93.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004627/0.931, allocations: 3.107 MB / 0.6371 GB, free: 89.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004525/0.9355, allocations: 1.804 MB / 0.6389 GB, free: 88.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002572/0.9381, allocations: 1.768 MB / 0.6406 GB, free: 86.38 MB / 462.1 MB Notification: Performance of SimCode: time 1.412e-06/0.9381, allocations: 0 / 0.6406 GB, free: 86.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3231/1.261, allocations: 67.62 MB / 0.7067 GB, free: 18.65 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/1.261, allocations: 250.3 kB / 0.7069 GB, free: 18.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.638/4.9, allocations: 0 / 0.7069 GB, free: 18.39 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)