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.001267/0.001267, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 63.88 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3178, allocations: 50.55 MB / 408.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01262/0.3304, allocations: 10.7 MB / 419.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00915/0.3396, allocations: 3.947 MB / 423.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.3413, allocations: 59.88 kB / 423.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004838/0.3462, allocations: 2.577 MB / 426.1 MB, free: 140 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004365/0.3506, allocations: 1.723 MB / 427.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.3521, allocations: 0.6863 MB / 428.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004944/0.357, allocations: 3.708 MB / 432.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004027/0.3611, allocations: 3.561 MB / 435.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.3633, allocations: 1.464 MB / 437.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.3659, allocations: 1.954 MB / 439.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005831/0.3665, allocations: 312 kB / 439.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.3686, allocations: 1.143 MB / 440.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.3704, allocations: 1.796 MB / 442.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002244/0.3727, allocations: 2.132 MB / 444.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007008/0.3797, allocations: 6.672 MB / 451.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3797, allocations: 0 / 451.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3797, allocations: 0 / 451.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001081/0.3798, allocations: 0 / 451.3 MB, free: 6.855 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.007674/0.3875, allocations: 4.671 MB / 455.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3876, allocations: 8.031 kB / 455.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008091/0.3884, allocations: 0.7236 MB / 456.7 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006707/0.3951, allocations: 1.979 MB / 458.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004508/0.3996, allocations: 2.22 MB / 460.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.3999, allocations: 250.2 kB / 461.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009343/0.4008, allocations: 391.7 kB / 461.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/0.4203, allocations: 10.11 MB / 471.6 MB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.4205, allocations: 39.62 kB / 471.6 MB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004277/0.4209, allocations: 159.8 kB / 471.8 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00294/0.4239, allocations: 1.861 MB / 473.7 MB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/0.441, allocations: 8.367 MB / 482 MB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05044/0.4915, allocations: 39.27 MB / 0.5091 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.502, allocations: 4.039 MB / 0.513 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.504, allocations: 1.427 MB / 0.5144 GB, free: 9.195 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009827/0.5138, allocations: 7.7 MB / 0.5219 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.5139, allocations: 55.48 kB / 0.522 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.957e-06/0.5139, allocations: 0 / 0.522 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03125/0.5451, allocations: 12.72 MB / 0.5344 GB, free: 4.043 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001405/0.5466, allocations: 1.687 MB / 0.5361 GB, free: 2.176 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2213/0.7679, allocations: 3.822 MB / 0.5398 GB, free: 124.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003568/0.7683, allocations: 45.11 kB / 0.5398 GB, free: 124.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002121/0.7704, allocations: 3.24 MB / 0.543 GB, free: 122.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000783/0.7712, allocations: 0.6763 MB / 0.5437 GB, free: 122.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001486/0.7727, allocations: 1.262 MB / 0.5449 GB, free: 121.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.7728, allocations: 308.8 kB / 0.5452 GB, free: 121.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/0.7751, allocations: 2.019 MB / 0.5472 GB, free: 120.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003866/0.779, allocations: 5.953 MB / 0.553 GB, free: 114.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007041/0.7861, allocations: 8.599 MB / 0.5614 GB, free: 107.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.108e-05/0.7862, allocations: 38.19 kB / 0.5614 GB, free: 107.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01409/0.8003, allocations: 8.836 MB / 0.57 GB, free: 101.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.401e-05/0.8004, allocations: 73.28 kB / 0.5701 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005253/0.8057, allocations: 2.841 MB / 0.5729 GB, free: 98.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004435/0.8101, allocations: 1.557 MB / 0.5744 GB, free: 97.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003726/0.8139, allocations: 1.358 MB / 0.5757 GB, free: 95.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009941/0.8238, allocations: 9.633 MB / 0.5851 GB, free: 85.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004969/0.8288, allocations: 403.6 kB / 0.5855 GB, free: 85.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007978/0.8296, allocations: 394.8 kB / 0.5859 GB, free: 85.01 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.002797/0.8324, allocations: 2.017 MB / 0.5879 GB, free: 82.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006196/0.8331, allocations: 341.7 kB / 0.5882 GB, free: 82.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006805/0.8338, allocations: 436.5 kB / 0.5886 GB, free: 82.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00504/0.8388, allocations: 2.73 MB / 0.5913 GB, free: 79.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.8388, allocations: 7.938 kB / 0.5913 GB, free: 79.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.8388, allocations: 11.97 kB / 0.5913 GB, free: 79.44 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.8507, allocations: 8.607 MB / 0.5997 GB, free: 70.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.8508, allocations: 0 / 0.5997 GB, free: 70.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007444/0.8515, allocations: 191.7 kB / 0.5999 GB, free: 70.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003893/0.8554, allocations: 1.452 MB / 0.6013 GB, free: 69.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.966e-05/0.8555, allocations: 43.97 kB / 0.6013 GB, free: 69.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009263/0.8648, allocations: 9.815 MB / 0.6109 GB, free: 58.85 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006088/0.8654, allocations: 1.543 MB / 0.6124 GB, free: 57.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007339/0.8728, allocations: 5.394 MB / 0.6177 GB, free: 51.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.8738, allocations: 390.6 kB / 0.6181 GB, free: 51.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/0.8742, allocations: 31.94 kB / 0.6181 GB, free: 51.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.8754, allocations: 123.8 kB / 0.6182 GB, free: 51.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/0.8758, allocations: 112.8 kB / 0.6183 GB, free: 51.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/0.8759, allocations: 48 kB / 0.6184 GB, free: 51.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002624/0.8785, allocations: 2.349 MB / 0.6207 GB, free: 48.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8785, allocations: 0 / 0.6207 GB, free: 48.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004322/0.8829, allocations: 1.043 MB / 0.6217 GB, free: 47.65 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.007526/0.8904, allocations: 6.033 MB / 0.6276 GB, free: 41.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008396/0.8988, allocations: 5.738 MB / 0.6332 GB, free: 35.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.8989, allocations: 4 kB / 0.6332 GB, free: 35.78 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003535/0.9024, allocations: 2.331 MB / 0.6355 GB, free: 33.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.9047, allocations: 407.1 kB / 0.6358 GB, free: 32.97 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05948/0.9642, allocations: 45.51 MB / 0.6803 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003499/0.9677, allocations: 3.123 MB / 0.6833 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003761/0.9715, allocations: 1.807 MB / 0.6851 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/0.9737, allocations: 1.765 MB / 0.6868 GB, free: 6.555 MB / 494.1 MB Notification: Performance of SimCode: time 7.21e-07/0.9737, allocations: 0 / 0.6868 GB, free: 6.555 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.446/4.419, allocations: 69.66 MB / 0.7548 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.51/25.93, allocations: 6.875 kB / 0.7549 GB, free: 187.5 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)