Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0008871/0.0008871, allocations: 95.94 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009742/0.0009741, allocations: 202.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 227.8 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001986/0.0001987, allocations: 8 kB / 307.8 MB, free: 0.6914 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07756/0.07777, allocations: 51.52 MB / 359.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.172/0.2498, allocations: 40.77 MB / 400.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01764/0.2675, allocations: 9.004 MB / 409.1 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006451/0.2739, allocations: 176.6 kB / 409.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.2752, allocations: 419.7 kB / 409.7 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004055/0.2793, allocations: 1.632 MB / 411.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.2806, allocations: 0.6165 MB / 412 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005154/0.2857, allocations: 5.358 MB / 417.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005222/0.291, allocations: 4.815 MB / 422.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.2923, allocations: 1.105 MB / 423.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.2941, allocations: 1.814 MB / 425.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.2944, allocations: 136 kB / 425.2 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.2959, allocations: 1.026 MB / 426.2 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.297, allocations: 1.624 MB / 427.8 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.2983, allocations: 1.919 MB / 429.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004399/0.3027, allocations: 6.185 MB / 435.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3027, allocations: 0 / 435.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3027, allocations: 4 kB / 435.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.541e-05/0.3028, allocations: 0 / 435.9 MB, free: 14.08 MB / 350.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.005211/0.308, allocations: 3.708 MB / 439.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.308, allocations: 8.031 kB / 439.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007115/0.3088, allocations: 0.7314 MB / 440.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006226/0.315, allocations: 1.988 MB / 442.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.3178, allocations: 2.184 MB / 444.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.318, allocations: 250.2 kB / 444.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006902/0.3187, allocations: 391.7 kB / 445.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.3318, allocations: 10.14 MB / 455.3 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.69e-05/0.3319, allocations: 35.69 kB / 455.4 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000342/0.3322, allocations: 155.9 kB / 455.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.3346, allocations: 1.864 MB / 457.4 MB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/0.348, allocations: 8.394 MB / 465.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03345/0.3814, allocations: 39.34 MB / 0.4933 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009551/0.391, allocations: 4.051 MB / 0.4972 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.3927, allocations: 1.427 MB / 0.4986 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008134/0.4008, allocations: 7.69 MB / 0.5061 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.4009, allocations: 51.5 kB / 0.5062 GB, free: 9.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 3.036e-06/0.4009, allocations: 0 / 0.5062 GB, free: 9.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.02924/0.4302, allocations: 12.58 MB / 0.5185 GB, free: 12.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001042/0.4312, allocations: 1.604 MB / 0.52 GB, free: 10.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004465/0.4357, allocations: 3.816 MB / 0.5238 GB, free: 6.648 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.4358, allocations: 49.7 kB / 0.5238 GB, free: 6.594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.4376, allocations: 3.107 MB / 0.5268 GB, free: 3.441 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005005/0.4381, allocations: 0.6482 MB / 0.5275 GB, free: 2.785 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005574/0.4386, allocations: 0.5271 MB / 0.528 GB, free: 2.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.4387, allocations: 301.1 kB / 0.5283 GB, free: 1.953 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1507/0.5894, allocations: 2.021 MB / 0.5303 GB, free: 144.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004849/0.5943, allocations: 5.96 MB / 0.5361 GB, free: 139.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007089/0.6014, allocations: 8.605 MB / 0.5445 GB, free: 132.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/0.6015, allocations: 40.78 kB / 0.5445 GB, free: 132.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01645/0.618, allocations: 8.857 MB / 0.5532 GB, free: 129.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.523e-05/0.6181, allocations: 66.22 kB / 0.5532 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005326/0.6235, allocations: 2.876 MB / 0.556 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004271/0.6277, allocations: 1.568 MB / 0.5576 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/0.6307, allocations: 1.361 MB / 0.5589 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008695/0.6394, allocations: 8.988 MB / 0.5677 GB, free: 122.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/0.6427, allocations: 409.3 kB / 0.5681 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/0.6431, allocations: 385.5 kB / 0.5684 GB, free: 122.6 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.001988/0.6451, allocations: 2.016 MB / 0.5704 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.6454, allocations: 325.2 kB / 0.5707 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006105/0.646, allocations: 433.7 kB / 0.5711 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004878/0.6509, allocations: 2.772 MB / 0.5738 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6509, allocations: 4 kB / 0.5738 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.6509, allocations: 7.922 kB / 0.5738 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.6618, allocations: 8.645 MB / 0.5823 GB, free: 109.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.6618, allocations: 4 kB / 0.5823 GB, free: 109.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007396/0.6626, allocations: 187.7 kB / 0.5825 GB, free: 109.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003983/0.6666, allocations: 1.465 MB / 0.5839 GB, free: 108 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.402e-05/0.6667, allocations: 39.97 kB / 0.5839 GB, free: 107.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00891/0.6756, allocations: 9.154 MB / 0.5929 GB, free: 98.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006105/0.6762, allocations: 1.461 MB / 0.5943 GB, free: 96.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0071/0.6833, allocations: 5.401 MB / 0.5996 GB, free: 91.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/0.6838, allocations: 376.7 kB / 0.5999 GB, free: 91.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.6841, allocations: 36.92 kB / 0.6 GB, free: 91.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.6852, allocations: 134.5 kB / 0.6001 GB, free: 90.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.6855, allocations: 108.8 kB / 0.6002 GB, free: 90.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-05/0.6856, allocations: 47.97 kB / 0.6002 GB, free: 90.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002348/0.6879, allocations: 2.341 MB / 0.6025 GB, free: 88.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6879, allocations: 0 / 0.6025 GB, free: 88.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003895/0.6918, allocations: 1.047 MB / 0.6036 GB, free: 87.41 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.007206/0.6991, allocations: 6.068 MB / 0.6095 GB, free: 81.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006839/0.7059, allocations: 5.698 MB / 0.615 GB, free: 75.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7059, allocations: 0 / 0.615 GB, free: 75.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00322/0.7091, allocations: 2.322 MB / 0.6173 GB, free: 73.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.711, allocations: 379.9 kB / 0.6177 GB, free: 72.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04882/0.7599, allocations: 52.4 MB / 0.6689 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/0.7622, allocations: 3.127 MB / 0.6719 GB, free: 9.336 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003333/0.7655, allocations: 1.803 MB / 0.6737 GB, free: 7.523 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/0.7669, allocations: 1.761 MB / 0.6754 GB, free: 5.762 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.767, allocations: 0 / 0.6754 GB, free: 5.762 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.225/0.992, allocations: 70.75 MB / 0.7445 GB, free: 121.1 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/0.9921, allocations: 250.4 kB / 0.7447 GB, free: 120.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.162/4.154, allocations: 2.625 kB / 0.7447 GB, free: 120.9 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)