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.001002/0.001002, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.0009755/0.0009755, allocations: 198 kB / 18.07 MB, free: 5.41 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.324/1.324, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001144/0.001144, allocations: 52.36 kB / 280.1 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.1003, allocations: 46.63 MB / 326.7 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03704/0.1374, allocations: 42.2 MB / 368.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02043/0.1579, allocations: 9.161 MB / 378.1 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009027/0.167, allocations: 179.6 kB / 378.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1916/0.3586, allocations: 2.56 MB / 380.8 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005182/0.3639, allocations: 1.629 MB / 382.4 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.3655, allocations: 0.6322 MB / 383.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007876/0.3734, allocations: 5.339 MB / 388.4 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004826/0.3783, allocations: 3.533 MB / 391.9 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.3811, allocations: 1.324 MB / 393.3 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003666/0.3848, allocations: 2.097 MB / 395.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006913/0.3855, allocations: 227 kB / 395.6 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.3882, allocations: 1.119 MB / 396.7 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.39, allocations: 1.768 MB / 398.5 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001771/0.3917, allocations: 2.076 MB / 400.5 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006158/0.3979, allocations: 6.418 MB / 407 MB, free: 3.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.3979, allocations: 0 / 407 MB, free: 3.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.398, allocations: 2.906 kB / 407 MB, free: 3.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002334/0.3982, allocations: 4 kB / 407 MB, free: 3.449 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.009561/0.4078, allocations: 4.584 MB / 411.5 MB, free: 364 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.4078, allocations: 9.375 kB / 411.6 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001265/0.4091, allocations: 0.7265 MB / 412.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006446/0.4156, allocations: 1.89 MB / 414.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004899/0.4205, allocations: 2.444 MB / 416.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.4207, allocations: 254.2 kB / 416.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007768/0.4215, allocations: 390.2 kB / 417.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.4391, allocations: 10.07 MB / 427.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/0.4393, allocations: 41.97 kB / 427.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008887/0.4402, allocations: 156.2 kB / 427.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002785/0.443, allocations: 1.858 MB / 429.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.4604, allocations: 8.322 MB / 437.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05081/0.5112, allocations: 39.36 MB / 477.1 MB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009989/0.5213, allocations: 4.005 MB / 481.1 MB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002226/0.5236, allocations: 1.428 MB / 482.5 MB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01309/0.5367, allocations: 7.595 MB / 490.1 MB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/0.5368, allocations: 62.38 kB / 490.1 MB, free: 1.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 5.26e-06/0.5368, allocations: 0 / 490.1 MB, free: 1.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03214/0.569, allocations: 12.44 MB / 0.4908 GB, free: 5.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001273/0.5703, allocations: 1.585 MB / 0.4924 GB, free: 3.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006799/0.5771, allocations: 3.833 MB / 0.4961 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003806/0.5775, allocations: 49.3 kB / 0.4961 GB, free: 15.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002505/0.58, allocations: 3.118 MB / 0.4992 GB, free: 12.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000934/0.581, allocations: 0.6501 MB / 0.4998 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002734/0.5837, allocations: 1.248 MB / 0.501 GB, free: 10.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.5838, allocations: 305.1 kB / 0.5013 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003434/0.5873, allocations: 2.014 MB / 0.5033 GB, free: 8.297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006765/0.5941, allocations: 5.931 MB / 0.5091 GB, free: 476 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/0.6049, allocations: 8.586 MB / 0.5175 GB, free: 6.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002068/0.6052, allocations: 40 kB / 0.5175 GB, free: 6.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.0272/0.6324, allocations: 8.768 MB / 0.5261 GB, free: 13.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.6326, allocations: 64 kB / 0.5261 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006596/0.6392, allocations: 2.796 MB / 0.5289 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005016/0.6443, allocations: 1.541 MB / 0.5304 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004316/0.6486, allocations: 1.361 MB / 0.5317 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007159/0.6558, allocations: 5.529 MB / 0.5371 GB, free: 2.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00514/0.6609, allocations: 395.3 kB / 0.5375 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/0.6623, allocations: 390.9 kB / 0.5378 GB, free: 1.395 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.1881/0.8504, allocations: 2.011 MB / 0.5398 GB, free: 129.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006315/0.851, allocations: 329.8 kB / 0.5401 GB, free: 129.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006408/0.8575, allocations: 3.124 MB / 0.5432 GB, free: 129.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005696/0.8632, allocations: 2.685 MB / 0.5458 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.8632, allocations: 2.75 kB / 0.5458 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/0.8632, allocations: 6.141 kB / 0.5458 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.8797, allocations: 8.572 MB / 0.5542 GB, free: 128.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.8797, allocations: 0 / 0.5542 GB, free: 128.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00087/0.8806, allocations: 190.2 kB / 0.5544 GB, free: 128.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00434/0.8849, allocations: 1.438 MB / 0.5558 GB, free: 128.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.8851, allocations: 37.44 kB / 0.5558 GB, free: 128.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/0.8901, allocations: 5.694 MB / 0.5614 GB, free: 125.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007176/0.8908, allocations: 1.462 MB / 0.5628 GB, free: 123.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007926/0.8988, allocations: 5.3 MB / 0.568 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009327/0.8998, allocations: 378.2 kB / 0.5683 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/0.9001, allocations: 30.14 kB / 0.5684 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.9014, allocations: 119.2 kB / 0.5685 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/0.9017, allocations: 96.98 kB / 0.5686 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.9018, allocations: 46.66 kB / 0.5686 GB, free: 121.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003496/0.9054, allocations: 2.356 MB / 0.5709 GB, free: 121.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.9054, allocations: 3.906 kB / 0.5709 GB, free: 121.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005232/0.9106, allocations: 1.007 MB / 0.5719 GB, free: 121.1 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.007512/0.9181, allocations: 5.756 MB / 0.5775 GB, free: 118.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007896/0.9261, allocations: 5.418 MB / 0.5828 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.9261, allocations: 0 / 0.5828 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003344/0.9295, allocations: 2.02 MB / 0.5848 GB, free: 113.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/0.9326, allocations: 382.7 kB / 0.5851 GB, free: 113.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07045/1.003, allocations: 52.22 MB / 0.6361 GB, free: 53.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003671/1.007, allocations: 3.111 MB / 0.6392 GB, free: 50.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004069/1.011, allocations: 1.807 MB / 0.6409 GB, free: 48.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/1.013, allocations: 1.765 MB / 0.6427 GB, free: 46.75 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/1.013, allocations: 0 / 0.6427 GB, free: 46.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09391/1.107, allocations: 68.28 MB / 0.7094 GB, free: 10.34 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/1.107, allocations: 248.2 kB / 0.7096 GB, free: 10.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.064/5.172, allocations: 4 kB / 0.7096 GB, free: 10.09 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)