Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 102.7 kB / 16.51 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009685/0.0009685, allocations: 45.45 kB / 300.1 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08415/0.08513, allocations: 49.44 MB / 349.5 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2065/0.2917, allocations: 42.2 MB / 391.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02007/0.3118, allocations: 9.166 MB / 400.9 MB, free: 13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008066/0.3199, allocations: 179.3 kB / 401 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005033/0.325, allocations: 2.572 MB / 403.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004665/0.3297, allocations: 1.629 MB / 405.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.3313, allocations: 0.6306 MB / 405.9 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005567/0.3369, allocations: 5.327 MB / 411.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004235/0.3412, allocations: 3.537 MB / 414.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.3434, allocations: 1.316 MB / 416.1 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002791/0.3462, allocations: 2.083 MB / 418.1 MB, free: 180 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007933/0.347, allocations: 228 kB / 418.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.3494, allocations: 1.143 MB / 419.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.3512, allocations: 1.761 MB / 421.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.3532, allocations: 2.077 MB / 423.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005872/0.3591, allocations: 6.409 MB / 429.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3591, allocations: 0 / 429.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3591, allocations: 3.938 kB / 429.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000123/0.3593, allocations: 0 / 429.8 MB, free: 4.516 MB / 334.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.007564/0.3668, allocations: 4.591 MB / 434.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3669, allocations: 8.031 kB / 434.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007705/0.3677, allocations: 0.7236 MB / 435.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006405/0.3741, allocations: 1.883 MB / 437 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004211/0.3783, allocations: 2.294 MB / 439.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.3785, allocations: 254.2 kB / 439.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009/0.3794, allocations: 395.7 kB / 439.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01794/0.3974, allocations: 10.07 MB / 450 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001718/0.3976, allocations: 43.53 kB / 450 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009729/0.3985, allocations: 159.9 kB / 450.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00275/0.4013, allocations: 1.853 MB / 452 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.4191, allocations: 8.324 MB / 460.3 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04981/0.4689, allocations: 39.35 MB / 499.7 MB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.4793, allocations: 3.996 MB / 0.4919 GB, free: 8.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.4814, allocations: 1.424 MB / 0.4933 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.4925, allocations: 7.599 MB / 0.5007 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.4925, allocations: 55.48 kB / 0.5007 GB, free: 14.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 4.97e-06/0.4926, allocations: 8 kB / 0.5007 GB, free: 14.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03063/0.5232, allocations: 12.37 MB / 0.5128 GB, free: 2.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001127/0.5244, allocations: 1.592 MB / 0.5144 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00551/0.5299, allocations: 3.817 MB / 0.5181 GB, free: 12.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.53, allocations: 45.7 kB / 0.5182 GB, free: 12.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002159/0.5322, allocations: 3.114 MB / 0.5212 GB, free: 9.508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007277/0.5329, allocations: 0.6482 MB / 0.5218 GB, free: 8.852 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00195/0.5349, allocations: 1.253 MB / 0.5231 GB, free: 7.586 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.22e-05/0.535, allocations: 305.1 kB / 0.5233 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/0.5379, allocations: 2.007 MB / 0.5253 GB, free: 5.273 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1787/0.7166, allocations: 5.934 MB / 0.5311 GB, free: 145.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008032/0.7247, allocations: 8.565 MB / 0.5395 GB, free: 139.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001363/0.7249, allocations: 40.69 kB / 0.5395 GB, free: 139.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01452/0.7394, allocations: 8.783 MB / 0.5481 GB, free: 136.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.368e-05/0.7395, allocations: 67.55 kB / 0.5481 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005173/0.7447, allocations: 2.799 MB / 0.5509 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004397/0.7491, allocations: 1.532 MB / 0.5524 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/0.7525, allocations: 1.362 MB / 0.5537 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004284/0.7568, allocations: 5.523 MB / 0.5591 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003882/0.7607, allocations: 392.9 kB / 0.5595 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004943/0.7612, allocations: 392.4 kB / 0.5598 GB, free: 131.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.002627/0.7639, allocations: 2.007 MB / 0.5618 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004556/0.7643, allocations: 328.2 kB / 0.5621 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005336/0.7697, allocations: 3.136 MB / 0.5652 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004575/0.7743, allocations: 2.679 MB / 0.5678 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.7743, allocations: 4 kB / 0.5678 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.7743, allocations: 6.703 kB / 0.5678 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.7859, allocations: 8.567 MB / 0.5762 GB, free: 119.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.7859, allocations: 0 / 0.5762 GB, free: 119.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/0.7867, allocations: 195.5 kB / 0.5764 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00388/0.7905, allocations: 1.446 MB / 0.5778 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.731e-05/0.7907, allocations: 43.91 kB / 0.5778 GB, free: 117.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004533/0.7952, allocations: 5.689 MB / 0.5834 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006393/0.7958, allocations: 1.452 MB / 0.5848 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007048/0.8029, allocations: 5.308 MB / 0.59 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000781/0.8037, allocations: 376.7 kB / 0.5903 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/0.804, allocations: 28 kB / 0.5904 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.8052, allocations: 119.8 kB / 0.5905 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/0.8054, allocations: 96.84 kB / 0.5906 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.8056, allocations: 43.92 kB / 0.5906 GB, free: 104 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00295/0.8085, allocations: 2.345 MB / 0.5929 GB, free: 101.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.8085, allocations: 4 kB / 0.5929 GB, free: 101.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004776/0.8133, allocations: 0.9994 MB / 0.5939 GB, free: 100.7 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.006391/0.8197, allocations: 5.779 MB / 0.5995 GB, free: 94.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007301/0.827, allocations: 5.421 MB / 0.6048 GB, free: 89.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.827, allocations: 0 / 0.6048 GB, free: 89.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002879/0.8299, allocations: 2.014 MB / 0.6068 GB, free: 87.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.8318, allocations: 383.3 kB / 0.6071 GB, free: 86.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05403/0.8859, allocations: 52.07 MB / 0.658 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002985/0.8889, allocations: 3.107 MB / 0.661 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003538/0.8925, allocations: 1.807 MB / 0.6628 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/0.8942, allocations: 1.765 MB / 0.6645 GB, free: 20.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.8942, allocations: 0 / 0.6645 GB, free: 20.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9478/1.842, allocations: 68.14 MB / 0.7311 GB, free: 144.8 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/1.842, allocations: 249.5 kB / 0.7313 GB, free: 144.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.591/5.433, allocations: 3.625 kB / 0.7313 GB, free: 144.6 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)