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.001289/0.001289, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 227.4 MB / 246.4 MB, free: 9.152 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 64.52 kB / 306.6 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08003/0.08113, allocations: 50.53 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.1703/0.2515, allocations: 41.92 MB / 399 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01796/0.2695, allocations: 8.978 MB / 408 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006519/0.276, allocations: 177.2 kB / 408.2 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004249/0.2803, allocations: 2.475 MB / 410.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.2839, allocations: 1.606 MB / 412.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.2853, allocations: 0.629 MB / 412.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004088/0.2894, allocations: 3.76 MB / 416.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004248/0.2937, allocations: 3.743 MB / 420.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.2956, allocations: 1.487 MB / 421.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.2976, allocations: 2.161 MB / 424 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003999/0.298, allocations: 316 kB / 424.3 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.2996, allocations: 1.162 MB / 425.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.3009, allocations: 1.831 MB / 427.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0015/0.3024, allocations: 2.155 MB / 429.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004821/0.3072, allocations: 6.452 MB / 435.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3072, allocations: 4 kB / 435.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3072, allocations: 0 / 435.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.394e-05/0.3073, allocations: 3.938 kB / 435.9 MB, free: 12.49 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.006358/0.3137, allocations: 4.55 MB / 440.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3137, allocations: 15.97 kB / 440.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006921/0.3144, allocations: 0.7197 MB / 441.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006117/0.3205, allocations: 1.941 MB / 443.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/0.3239, allocations: 2.195 MB / 445.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.324, allocations: 246.2 kB / 445.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007735/0.3248, allocations: 391.7 kB / 446 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/0.3394, allocations: 10.11 MB / 456.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-05/0.3396, allocations: 43.53 kB / 456.1 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004978/0.3401, allocations: 163.9 kB / 456.3 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002346/0.3424, allocations: 1.853 MB / 458.1 MB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/0.357, allocations: 8.363 MB / 466.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03941/0.3964, allocations: 39.35 MB / 0.494 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009507/0.4059, allocations: 4.035 MB / 0.4979 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.4077, allocations: 1.42 MB / 0.4993 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009286/0.4171, allocations: 7.686 MB / 0.5068 GB, free: 6.766 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.4171, allocations: 59.5 kB / 0.5069 GB, free: 6.699 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 3.426e-06/0.4171, allocations: 0 / 0.5069 GB, free: 6.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.02969/0.4468, allocations: 12.49 MB / 0.5191 GB, free: 10.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001123/0.448, allocations: 1.687 MB / 0.5207 GB, free: 8.137 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004984/0.453, allocations: 3.816 MB / 0.5245 GB, free: 4.332 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001949/0.4532, allocations: 49.69 kB / 0.5245 GB, free: 4.277 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001809/0.455, allocations: 3.103 MB / 0.5275 GB, free: 1.129 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006325/0.4556, allocations: 0.6482 MB / 0.5282 GB, free: 484 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1386/0.5942, allocations: 1.244 MB / 0.5294 GB, free: 146 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.562e-05/0.5943, allocations: 306.1 kB / 0.5297 GB, free: 145.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003007/0.5973, allocations: 2.02 MB / 0.5317 GB, free: 145.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003949/0.6013, allocations: 5.96 MB / 0.5375 GB, free: 139.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007145/0.6084, allocations: 8.587 MB / 0.5459 GB, free: 132.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/0.6086, allocations: 39.44 kB / 0.5459 GB, free: 132.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01475/0.6233, allocations: 8.833 MB / 0.5545 GB, free: 129.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.6235, allocations: 63.53 kB / 0.5546 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005355/0.6289, allocations: 2.847 MB / 0.5574 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004509/0.6334, allocations: 1.566 MB / 0.5589 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/0.6369, allocations: 1.365 MB / 0.5602 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.647, allocations: 9.651 MB / 0.5697 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004187/0.6513, allocations: 403.1 kB / 0.57 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008311/0.6521, allocations: 394.1 kB / 0.5704 GB, free: 120.7 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.002878/0.655, allocations: 2.008 MB / 0.5724 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005028/0.6555, allocations: 324.9 kB / 0.5727 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007624/0.6563, allocations: 439 kB / 0.5731 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004907/0.6612, allocations: 2.734 MB / 0.5758 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.6612, allocations: 4 kB / 0.5758 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.6612, allocations: 7.984 kB / 0.5758 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.6737, allocations: 8.612 MB / 0.5842 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.6738, allocations: 3.984 kB / 0.5842 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000739/0.6745, allocations: 187.7 kB / 0.5844 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00386/0.6784, allocations: 1.471 MB / 0.5858 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.6785, allocations: 39.97 kB / 0.5859 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009383/0.6879, allocations: 9.807 MB / 0.5954 GB, free: 95.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006312/0.6885, allocations: 1.55 MB / 0.5969 GB, free: 93.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007181/0.6957, allocations: 5.369 MB / 0.6022 GB, free: 88.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007184/0.6965, allocations: 368.7 kB / 0.6025 GB, free: 87.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005153/0.697, allocations: 31.98 kB / 0.6026 GB, free: 87.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.6984, allocations: 131.7 kB / 0.6027 GB, free: 87.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/0.6987, allocations: 108.8 kB / 0.6028 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.6988, allocations: 52.97 kB / 0.6028 GB, free: 87.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00296/0.7018, allocations: 2.337 MB / 0.6051 GB, free: 85.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7018, allocations: 3.938 kB / 0.6051 GB, free: 85.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004177/0.706, allocations: 1.046 MB / 0.6062 GB, free: 84.05 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.007248/0.7132, allocations: 6.032 MB / 0.612 GB, free: 77.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007934/0.7212, allocations: 6.202 MB / 0.6181 GB, free: 71.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.7212, allocations: 0 / 0.6181 GB, free: 71.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00322/0.7244, allocations: 2.33 MB / 0.6204 GB, free: 69.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.7263, allocations: 389.7 kB / 0.6207 GB, free: 68.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05663/0.7829, allocations: 52.17 MB / 0.6717 GB, free: 8.902 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003173/0.7861, allocations: 3.135 MB / 0.6748 GB, free: 5.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003457/0.7896, allocations: 1.8 MB / 0.6765 GB, free: 3.922 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/0.7912, allocations: 1.761 MB / 0.6782 GB, free: 2.16 MB / 446.1 MB Notification: Performance of SimCode: time 6.82e-07/0.7912, allocations: 0 / 0.6782 GB, free: 2.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.287/5.078, allocations: 73.22 MB / 0.7497 GB, free: 117.4 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/5.079, allocations: 255.5 kB / 0.75 GB, free: 117.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.152/9.23, allocations: 0 / 0.75 GB, free: 117.1 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)