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.001072/0.001072, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 66.7 kB / 307.1 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1443, allocations: 50.52 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01486/0.1592, allocations: 10.7 MB / 368.3 MB, free: 3.258 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2999/0.4592, allocations: 3.954 MB / 372.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/0.4617, allocations: 62.91 kB / 372.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006257/0.468, allocations: 2.566 MB / 374.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005916/0.474, allocations: 1.73 MB / 376.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.4761, allocations: 0.6819 MB / 377.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008437/0.4846, allocations: 3.718 MB / 381 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006551/0.4912, allocations: 3.558 MB / 384.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003396/0.4946, allocations: 1.472 MB / 386 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004014/0.4986, allocations: 1.943 MB / 388 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001535/0.5002, allocations: 318.2 kB / 388.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.5034, allocations: 1.147 MB / 389.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002143/0.5056, allocations: 1.794 MB / 391.2 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003054/0.5087, allocations: 2.13 MB / 393.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009288/0.518, allocations: 6.413 MB / 399.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.518, allocations: 0 / 399.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.518, allocations: 0 / 399.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002748/0.5183, allocations: 0 / 399.8 MB, free: 14.36 MB / 318.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.01113/0.5294, allocations: 4.556 MB / 404.3 MB, free: 9.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.5295, allocations: 8.031 kB / 404.3 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001215/0.5307, allocations: 0.7168 MB / 405 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007435/0.5382, allocations: 1.947 MB / 407 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005331/0.5435, allocations: 2.181 MB / 409.2 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.5438, allocations: 252.4 kB / 409.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/0.545, allocations: 396 kB / 409.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01994/0.565, allocations: 10.11 MB / 419.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.5651, allocations: 43.56 kB / 420 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004619/0.5656, allocations: 156.7 kB / 420.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002717/0.5683, allocations: 1.852 MB / 422 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01733/0.5857, allocations: 8.365 MB / 430.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05049/0.6362, allocations: 39.36 MB / 469.7 MB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.6472, allocations: 4.041 MB / 473.7 MB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002305/0.6495, allocations: 1.423 MB / 475.1 MB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01277/0.6623, allocations: 7.682 MB / 482.8 MB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/0.6624, allocations: 51.56 kB / 482.9 MB, free: 9.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 4.478e-06/0.6624, allocations: 3.938 kB / 482.9 MB, free: 9.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03558/0.698, allocations: 12.5 MB / 495.4 MB, free: 12.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001511/0.6996, allocations: 1.68 MB / 497.1 MB, free: 10.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008317/0.7079, allocations: 3.812 MB / 0.4891 GB, free: 7.016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004878/0.7084, allocations: 52.05 kB / 0.4892 GB, free: 6.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0032/0.7116, allocations: 3.113 MB / 0.4922 GB, free: 3.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001264/0.7129, allocations: 0.6453 MB / 0.4929 GB, free: 3.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003631/0.7166, allocations: 1.253 MB / 0.4941 GB, free: 1.949 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.7168, allocations: 301.1 kB / 0.4944 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003631/0.7204, allocations: 2.023 MB / 0.4963 GB, free: 15.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007202/0.7276, allocations: 5.949 MB / 0.5022 GB, free: 7.707 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/0.7395, allocations: 8.583 MB / 0.5105 GB, free: 13.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001713/0.7397, allocations: 44 kB / 0.5106 GB, free: 13.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.0211/0.7608, allocations: 8.829 MB / 0.5192 GB, free: 4.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.761, allocations: 67.94 kB / 0.5193 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006559/0.7676, allocations: 2.84 MB / 0.522 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2494/1.017, allocations: 1.563 MB / 0.5236 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005436/1.022, allocations: 1.36 MB / 0.5249 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/1.037, allocations: 9.651 MB / 0.5343 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006/1.043, allocations: 397 kB / 0.5347 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/1.044, allocations: 386.7 kB / 0.5351 GB, free: 132.2 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.004589/1.048, allocations: 2.023 MB / 0.537 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000892/1.049, allocations: 326.6 kB / 0.5373 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009186/1.05, allocations: 431.2 kB / 0.5378 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00694/1.057, allocations: 2.742 MB / 0.5404 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/1.057, allocations: 4.281 kB / 0.5404 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.366e-05/1.057, allocations: 7.453 kB / 0.5404 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/1.074, allocations: 8.622 MB / 0.5489 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.074, allocations: 0 / 0.5489 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008678/1.075, allocations: 194.9 kB / 0.5491 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004427/1.079, allocations: 1.461 MB / 0.5505 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002421/1.079, allocations: 34.66 kB / 0.5505 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/1.091, allocations: 9.824 MB / 0.5601 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007846/1.092, allocations: 1.547 MB / 0.5616 GB, free: 119.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009115/1.101, allocations: 5.37 MB / 0.5669 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.102, allocations: 367.3 kB / 0.5672 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003823/1.103, allocations: 35.48 kB / 0.5672 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.104, allocations: 125.3 kB / 0.5674 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003252/1.104, allocations: 112.8 kB / 0.5675 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-05/1.105, allocations: 46.78 kB / 0.5675 GB, free: 116.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002835/1.107, allocations: 2.34 MB / 0.5698 GB, free: 114.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.107, allocations: 2.547 kB / 0.5698 GB, free: 114.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005407/1.113, allocations: 1.049 MB / 0.5708 GB, free: 113.6 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.008066/1.121, allocations: 6.026 MB / 0.5767 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009143/1.13, allocations: 6.2 MB / 0.5828 GB, free: 101.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.13, allocations: 0 / 0.5828 GB, free: 101.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003791/1.134, allocations: 2.328 MB / 0.585 GB, free: 98.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.137, allocations: 392.5 kB / 0.5854 GB, free: 98.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04994/1.186, allocations: 50.4 MB / 0.6346 GB, free: 40.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00303/1.19, allocations: 3.123 MB / 0.6377 GB, free: 37.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003911/1.194, allocations: 1.807 MB / 0.6395 GB, free: 35.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001763/1.195, allocations: 1.764 MB / 0.6412 GB, free: 33.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.923e-06/1.195, allocations: 0 / 0.6412 GB, free: 33.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4426/1.638, allocations: 73.22 MB / 0.7127 GB, free: 143 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/18.35, allocations: 6.5 kB / 0.7127 GB, free: 143 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)