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.001313/0.001313, allocations: 101.5 kB / 17.72 MB, free: 5.371 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.001308/0.001308, allocations: 192 kB / 18.66 MB, free: 4.445 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.295/1.295, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001163/0.001163, allocations: 56.25 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08349/0.08467, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.1746/0.2593, allocations: 10.75 MB / 385.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006976/0.2663, allocations: 3.923 MB / 389.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.268, allocations: 61.94 kB / 389.4 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005003/0.273, allocations: 2.587 MB / 392 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004997/0.2781, allocations: 1.747 MB / 393.7 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.2799, allocations: 0.6871 MB / 394.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005912/0.2858, allocations: 3.691 MB / 398.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004349/0.2902, allocations: 3.569 MB / 401.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.2932, allocations: 1.482 MB / 403.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/0.2964, allocations: 1.953 MB / 405.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008852/0.2973, allocations: 315.3 kB / 405.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.2999, allocations: 1.158 MB / 406.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001875/0.3017, allocations: 1.834 MB / 408.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002345/0.3041, allocations: 2.155 MB / 410.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008737/0.3129, allocations: 6.717 MB / 417.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3129, allocations: 0 / 417.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3129, allocations: 0 / 417.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002018/0.3131, allocations: 0 / 417.3 MB, free: 5.141 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.008626/0.3218, allocations: 4.589 MB / 421.9 MB, free: 496 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3218, allocations: 8.031 kB / 421.9 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009835/0.3228, allocations: 0.7236 MB / 422.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006222/0.329, allocations: 1.89 MB / 424.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004219/0.3333, allocations: 2.469 MB / 426.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.3335, allocations: 246.2 kB / 427.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008183/0.3343, allocations: 403.6 kB / 427.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.3503, allocations: 10.06 MB / 437.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.092e-05/0.3504, allocations: 35.69 kB / 437.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003992/0.3508, allocations: 163.8 kB / 437.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002509/0.3534, allocations: 1.853 MB / 439.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.369, allocations: 8.336 MB / 448 MB, free: 5.516 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04249/0.4116, allocations: 39.22 MB / 487.3 MB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009797/0.4214, allocations: 4.004 MB / 491.3 MB, free: 9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.4234, allocations: 1.421 MB / 492.7 MB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.4338, allocations: 7.596 MB / 0.4885 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.4339, allocations: 51.5 kB / 0.4886 GB, free: 15.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 3.697e-06/0.4339, allocations: 0 / 0.4886 GB, free: 15.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03066/0.4646, allocations: 12.43 MB / 0.5007 GB, free: 2.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001257/0.4658, allocations: 1.691 MB / 0.5024 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004918/0.4708, allocations: 3.829 MB / 0.5061 GB, free: 13.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003035/0.4711, allocations: 53.64 kB / 0.5062 GB, free: 13.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/0.4731, allocations: 3.114 MB / 0.5092 GB, free: 9.902 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006279/0.4737, allocations: 0.6482 MB / 0.5098 GB, free: 9.246 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/0.4751, allocations: 1.261 MB / 0.5111 GB, free: 7.973 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.4752, allocations: 301.1 kB / 0.5114 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002677/0.4779, allocations: 2.003 MB / 0.5133 GB, free: 5.668 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004979/0.4829, allocations: 5.938 MB / 0.5191 GB, free: 13.76 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00855/0.4914, allocations: 8.576 MB / 0.5275 GB, free: 3.223 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.942e-05/0.4915, allocations: 40 kB / 0.5275 GB, free: 3.184 MB / 462.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01568/0.5072, allocations: 8.756 MB / 0.5361 GB, free: 10.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.742e-05/0.5074, allocations: 72 kB / 0.5362 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005932/0.5133, allocations: 2.793 MB / 0.5389 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004957/0.5183, allocations: 1.538 MB / 0.5404 GB, free: 5.969 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/0.5224, allocations: 1.372 MB / 0.5417 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1903/0.7127, allocations: 5.786 MB / 0.5474 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004328/0.7171, allocations: 397.6 kB / 0.5477 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008831/0.718, allocations: 387.4 kB / 0.5481 GB, free: 132.6 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.003273/0.7213, allocations: 2.013 MB / 0.5501 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005586/0.7218, allocations: 330.3 kB / 0.5504 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006693/0.7285, allocations: 3.128 MB / 0.5535 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005708/0.7343, allocations: 2.678 MB / 0.5561 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.7343, allocations: 2.375 kB / 0.5561 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/0.7343, allocations: 12.36 kB / 0.5561 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/0.7492, allocations: 8.562 MB / 0.5644 GB, free: 129.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.7493, allocations: 4 kB / 0.5644 GB, free: 129.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000849/0.7501, allocations: 185.5 kB / 0.5646 GB, free: 129.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00402/0.7542, allocations: 1.443 MB / 0.566 GB, free: 129 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/0.7544, allocations: 39.34 kB / 0.5661 GB, free: 128.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005119/0.7595, allocations: 6 MB / 0.5719 GB, free: 125 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006726/0.7602, allocations: 1.541 MB / 0.5734 GB, free: 123.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007298/0.7675, allocations: 5.315 MB / 0.5786 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000835/0.7684, allocations: 376.7 kB / 0.579 GB, free: 121.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003769/0.7688, allocations: 33.56 kB / 0.579 GB, free: 121.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.7699, allocations: 123.3 kB / 0.5791 GB, free: 121.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/0.7702, allocations: 88.89 kB / 0.5792 GB, free: 121.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.48e-05/0.7703, allocations: 42.95 kB / 0.5793 GB, free: 121.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002988/0.7733, allocations: 2.353 MB / 0.5816 GB, free: 120.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.7733, allocations: 0 / 0.5816 GB, free: 120.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004744/0.778, allocations: 1.008 MB / 0.5825 GB, free: 120.6 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.006771/0.7848, allocations: 5.777 MB / 0.5882 GB, free: 117.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007499/0.7923, allocations: 5.445 MB / 0.5935 GB, free: 112.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.7924, allocations: 3.844 kB / 0.5935 GB, free: 112.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003085/0.7955, allocations: 2.028 MB / 0.5955 GB, free: 110.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.7978, allocations: 402 kB / 0.5959 GB, free: 110 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0525/0.8503, allocations: 45.29 MB / 0.6401 GB, free: 58.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003945/0.8543, allocations: 3.111 MB / 0.6431 GB, free: 55.81 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003832/0.8581, allocations: 1.8 MB / 0.6449 GB, free: 54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00198/0.8601, allocations: 1.772 MB / 0.6466 GB, free: 52.23 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/0.8602, allocations: 0 / 0.6466 GB, free: 52.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/0.9675, allocations: 67.26 MB / 0.7123 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.63/21.59, allocations: 4.062 kB / 0.7123 GB, free: 0.9062 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)