Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_3_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.001106/0.001106, allocations: 101.5 kB / 17.72 MB, free: 5.371 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.001181/0.001181, allocations: 192 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 51.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1138, allocations: 46.63 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2643/0.3782, allocations: 10.74 MB / 385.4 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009512/0.3877, allocations: 3.93 MB / 389.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.39, allocations: 61.81 kB / 389.4 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005261/0.3953, allocations: 2.583 MB / 392 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.401, allocations: 1.748 MB / 393.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.403, allocations: 0.6844 MB / 394.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006736/0.4098, allocations: 3.694 MB / 398.1 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005274/0.4151, allocations: 3.571 MB / 401.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003607/0.4187, allocations: 1.482 MB / 403.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004417/0.4231, allocations: 1.956 MB / 405.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.4242, allocations: 315.2 kB / 405.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.4271, allocations: 1.151 MB / 406.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00227/0.4294, allocations: 1.845 MB / 408.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002743/0.4321, allocations: 2.143 MB / 410.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009023/0.4412, allocations: 6.716 MB / 417.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4412, allocations: 4 kB / 417.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4412, allocations: 0 / 417.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001614/0.4414, allocations: 0 / 417.3 MB, free: 5.129 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.009474/0.4508, allocations: 4.593 MB / 421.9 MB, free: 480 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.4509, allocations: 8.031 kB / 421.9 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00101/0.4519, allocations: 0.7197 MB / 422.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006802/0.4587, allocations: 1.89 MB / 424.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005142/0.4639, allocations: 2.471 MB / 427 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.4641, allocations: 246.2 kB / 427.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000814/0.465, allocations: 395.6 kB / 427.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01744/0.4824, allocations: 10.07 MB / 437.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/0.4826, allocations: 39.69 kB / 437.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005191/0.4831, allocations: 151.9 kB / 437.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0029/0.486, allocations: 1.868 MB / 439.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01819/0.5042, allocations: 8.324 MB / 448 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05425/0.5585, allocations: 39.22 MB / 487.2 MB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.5695, allocations: 3.996 MB / 491.2 MB, free: 9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/0.5717, allocations: 1.429 MB / 492.7 MB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01229/0.584, allocations: 7.592 MB / 0.4885 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/0.5841, allocations: 51.5 kB / 0.4886 GB, free: 15.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 5.22e-06/0.5841, allocations: 4 kB / 0.4886 GB, free: 15.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03639/0.6205, allocations: 12.44 MB / 0.5007 GB, free: 2.789 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001631/0.6222, allocations: 1.683 MB / 0.5024 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008902/0.6311, allocations: 3.833 MB / 0.5061 GB, free: 13.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003481/0.6315, allocations: 45.7 kB / 0.5062 GB, free: 13.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003059/0.6346, allocations: 3.122 MB / 0.5092 GB, free: 9.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.6356, allocations: 0.6443 MB / 0.5098 GB, free: 9.234 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003019/0.6386, allocations: 1.253 MB / 0.5111 GB, free: 7.969 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6388, allocations: 309.2 kB / 0.5114 GB, free: 7.664 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003796/0.6426, allocations: 2.007 MB / 0.5133 GB, free: 5.652 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006984/0.6496, allocations: 5.934 MB / 0.5191 GB, free: 13.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.6602, allocations: 8.572 MB / 0.5275 GB, free: 3.215 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001394/0.6604, allocations: 40 kB / 0.5275 GB, free: 3.176 MB / 462.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01826/0.6786, allocations: 8.775 MB / 0.5361 GB, free: 10.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.6789, allocations: 64.19 kB / 0.5362 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006441/0.6853, allocations: 2.786 MB / 0.5389 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005218/0.6906, allocations: 1.541 MB / 0.5404 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004301/0.6949, allocations: 1.357 MB / 0.5417 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2703/0.9652, allocations: 5.799 MB / 0.5474 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005528/0.9708, allocations: 393.3 kB / 0.5477 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/0.9722, allocations: 386.5 kB / 0.5481 GB, free: 132.6 MB / 478.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.004609/0.9768, allocations: 2.016 MB / 0.5501 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000878/0.9777, allocations: 330.1 kB / 0.5504 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007772/0.9855, allocations: 3.128 MB / 0.5535 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006698/0.9923, allocations: 2.686 MB / 0.5561 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/0.9923, allocations: 3.875 kB / 0.5561 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.914e-05/0.9924, allocations: 11.81 kB / 0.5561 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/1.012, allocations: 8.561 MB / 0.5645 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/1.012, allocations: 1.25 kB / 0.5645 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.013, allocations: 188.2 kB / 0.5646 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004617/1.017, allocations: 1.436 MB / 0.566 GB, free: 129 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000278/1.018, allocations: 39.75 kB / 0.5661 GB, free: 129 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006459/1.024, allocations: 5.993 MB / 0.5719 GB, free: 125.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007978/1.025, allocations: 1.55 MB / 0.5734 GB, free: 123.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008702/1.034, allocations: 5.31 MB / 0.5786 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.035, allocations: 375.9 kB / 0.579 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008727/1.036, allocations: 31.28 kB / 0.579 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/1.038, allocations: 121.8 kB / 0.5791 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003303/1.038, allocations: 91.72 kB / 0.5792 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/1.038, allocations: 47.31 kB / 0.5793 GB, free: 121.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004359/1.043, allocations: 2.353 MB / 0.5816 GB, free: 120.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.693e-06/1.043, allocations: 0 / 0.5816 GB, free: 120.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006456/1.049, allocations: 1.005 MB / 0.5825 GB, free: 120.7 MB / 478.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.008261/1.058, allocations: 5.783 MB / 0.5882 GB, free: 117.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009403/1.067, allocations: 5.436 MB / 0.5935 GB, free: 112.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.067, allocations: 8 kB / 0.5935 GB, free: 112.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003928/1.071, allocations: 2.03 MB / 0.5955 GB, free: 110.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/1.075, allocations: 397.1 kB / 0.5959 GB, free: 110.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07461/1.15, allocations: 45.3 MB / 0.6401 GB, free: 59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004494/1.154, allocations: 3.107 MB / 0.6431 GB, free: 55.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004021/1.158, allocations: 1.803 MB / 0.6449 GB, free: 54.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002387/1.161, allocations: 1.772 MB / 0.6466 GB, free: 52.27 MB / 478.1 MB Notification: Performance of SimCode: time 2.044e-06/1.161, allocations: 0 / 0.6466 GB, free: 52.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/1.276, allocations: 67.27 MB / 0.7123 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.16/22.44, allocations: 3.938 kB / 0.7123 GB, free: 0.9492 MB / 494.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)