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.001454/0.001454, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2696, allocations: 50.55 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01068/0.2803, allocations: 10.7 MB / 419.5 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007699/0.288, allocations: 3.951 MB / 423.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.2896, allocations: 67.75 kB / 423.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004274/0.294, allocations: 2.558 MB / 426 MB, free: 208 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004207/0.2982, allocations: 1.738 MB / 427.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.2997, allocations: 0.6785 MB / 428.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00466/0.3043, allocations: 3.713 MB / 432.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0036/0.308, allocations: 3.556 MB / 435.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.3101, allocations: 1.468 MB / 437.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.3126, allocations: 1.951 MB / 439.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006043/0.3133, allocations: 316 kB / 439.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.3153, allocations: 1.147 MB / 440.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001563/0.3169, allocations: 1.808 MB / 442.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.3189, allocations: 2.124 MB / 444.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0069/0.3258, allocations: 6.653 MB / 451.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3258, allocations: 0 / 451.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3258, allocations: 0 / 451.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001905/0.326, allocations: 0 / 451.2 MB, free: 6.926 MB / 366.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.008245/0.3343, allocations: 4.554 MB / 455.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3344, allocations: 12.03 kB / 455.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009074/0.3353, allocations: 0.7236 MB / 456.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006621/0.3419, allocations: 1.937 MB / 458.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004343/0.3463, allocations: 2.215 MB / 460.6 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.3465, allocations: 254.2 kB / 460.9 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009462/0.3474, allocations: 391.8 kB / 461.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01772/0.3652, allocations: 10.11 MB / 471.4 MB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/0.3653, allocations: 43.67 kB / 471.4 MB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004672/0.3658, allocations: 155.9 kB / 471.6 MB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002938/0.3688, allocations: 1.857 MB / 473.4 MB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01739/0.3862, allocations: 8.363 MB / 481.8 MB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04674/0.433, allocations: 39.2 MB / 0.5088 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.4432, allocations: 4.035 MB / 0.5127 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/0.4453, allocations: 1.423 MB / 0.5141 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.4557, allocations: 7.686 MB / 0.5216 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.4558, allocations: 55.56 kB / 0.5217 GB, free: 1.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.4e-06/0.4558, allocations: 0 / 0.5217 GB, free: 1.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03091/0.4867, allocations: 12.51 MB / 0.5339 GB, free: 4.543 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00125/0.488, allocations: 1.672 MB / 0.5355 GB, free: 2.691 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1994/0.6874, allocations: 3.812 MB / 0.5392 GB, free: 124.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003208/0.6878, allocations: 46.77 kB / 0.5393 GB, free: 124.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002076/0.6898, allocations: 3.116 MB / 0.5423 GB, free: 122.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007358/0.6906, allocations: 0.6482 MB / 0.5429 GB, free: 122 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/0.6922, allocations: 1.249 MB / 0.5442 GB, free: 121.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.6923, allocations: 302.2 kB / 0.5445 GB, free: 121.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/0.6946, allocations: 2.02 MB / 0.5464 GB, free: 120.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003628/0.6982, allocations: 5.958 MB / 0.5522 GB, free: 114.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00648/0.7047, allocations: 8.598 MB / 0.5606 GB, free: 107.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/0.7049, allocations: 46.47 kB / 0.5607 GB, free: 107.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01401/0.7189, allocations: 8.815 MB / 0.5693 GB, free: 101.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-05/0.719, allocations: 67.94 kB / 0.5694 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005241/0.7242, allocations: 2.85 MB / 0.5721 GB, free: 99.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004428/0.7287, allocations: 1.552 MB / 0.5737 GB, free: 97.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00367/0.7324, allocations: 1.368 MB / 0.575 GB, free: 96.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00971/0.7421, allocations: 9.62 MB / 0.5844 GB, free: 86.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/0.7469, allocations: 399.4 kB / 0.5848 GB, free: 85.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007463/0.7476, allocations: 391.4 kB / 0.5851 GB, free: 85.32 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.002529/0.7502, allocations: 2.006 MB / 0.5871 GB, free: 83.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005043/0.7507, allocations: 331.8 kB / 0.5874 GB, free: 82.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005458/0.7512, allocations: 428.5 kB / 0.5878 GB, free: 82.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004964/0.7562, allocations: 2.738 MB / 0.5905 GB, free: 79.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.7562, allocations: 7.938 kB / 0.5905 GB, free: 79.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.7563, allocations: 7.969 kB / 0.5905 GB, free: 79.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.7694, allocations: 8.605 MB / 0.5989 GB, free: 71.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.7694, allocations: 7.938 kB / 0.5989 GB, free: 71.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008257/0.7703, allocations: 196.6 kB / 0.5991 GB, free: 70.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004075/0.7744, allocations: 1.448 MB / 0.6005 GB, free: 69.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/0.7745, allocations: 35.97 kB / 0.6006 GB, free: 69.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009761/0.7843, allocations: 9.813 MB / 0.6101 GB, free: 59.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006521/0.785, allocations: 1.552 MB / 0.6117 GB, free: 57.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007741/0.7928, allocations: 5.37 MB / 0.6169 GB, free: 52.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000933/0.7937, allocations: 372.7 kB / 0.6173 GB, free: 51.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003891/0.7941, allocations: 35.77 kB / 0.6173 GB, free: 51.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.7954, allocations: 131.8 kB / 0.6174 GB, free: 51.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/0.7957, allocations: 104.8 kB / 0.6175 GB, free: 51.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.7958, allocations: 43.98 kB / 0.6176 GB, free: 51.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002638/0.7984, allocations: 2.341 MB / 0.6199 GB, free: 49.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7984, allocations: 0 / 0.6199 GB, free: 49.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004847/0.8033, allocations: 1.042 MB / 0.6209 GB, free: 48.04 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.008043/0.8114, allocations: 6.022 MB / 0.6267 GB, free: 41.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008296/0.8197, allocations: 5.734 MB / 0.6323 GB, free: 36.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8197, allocations: 4.188 kB / 0.6324 GB, free: 36.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003461/0.8232, allocations: 2.326 MB / 0.6346 GB, free: 33.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.8256, allocations: 403.8 kB / 0.635 GB, free: 33.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05901/0.8846, allocations: 45.34 MB / 0.6793 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003414/0.8881, allocations: 3.127 MB / 0.6823 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003737/0.8918, allocations: 1.807 MB / 0.6841 GB, free: 8.922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002173/0.894, allocations: 1.757 MB / 0.6858 GB, free: 7.164 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/0.894, allocations: 0 / 0.6858 GB, free: 7.164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3232/1.217, allocations: 70.85 MB / 0.755 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.21/22.42, allocations: 10.98 kB / 0.755 GB, free: 187.3 MB / 0.5294 GB (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)