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.001594/0.001594, allocations: 112 kB / 17.06 MB, free: 5.973 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.001574/0.001574, allocations: 200 kB / 18.01 MB, free: 5.047 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.404/1.404, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 47.91 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2987, allocations: 49.44 MB / 400.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01333/0.3121, allocations: 10.74 MB / 411 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008583/0.3208, allocations: 3.927 MB / 414.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.3227, allocations: 63.81 kB / 415 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005356/0.3281, allocations: 2.585 MB / 417.6 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005314/0.3334, allocations: 1.749 MB / 419.3 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.3353, allocations: 0.6902 MB / 420 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005834/0.3411, allocations: 3.687 MB / 423.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005294/0.3465, allocations: 3.553 MB / 427.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.3495, allocations: 1.48 MB / 428.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003551/0.3531, allocations: 1.954 MB / 430.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.3543, allocations: 316 kB / 431 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.3575, allocations: 1.17 MB / 432.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002928/0.3604, allocations: 1.816 MB / 434 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004357/0.3648, allocations: 2.144 MB / 436.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.376, allocations: 6.734 MB / 442.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.376, allocations: 0 / 442.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.376, allocations: 0 / 442.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002892/0.3763, allocations: 0 / 442.8 MB, free: 14.02 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.0115/0.3878, allocations: 4.706 MB / 447.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.3879, allocations: 8.031 kB / 447.6 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001701/0.3896, allocations: 0.7236 MB / 448.3 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007362/0.397, allocations: 1.909 MB / 450.2 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004828/0.4019, allocations: 2.333 MB / 452.5 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/0.4022, allocations: 250.2 kB / 452.8 MB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/0.4035, allocations: 399.7 kB / 453.2 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.425, allocations: 10.06 MB / 463.2 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001681/0.4252, allocations: 47.58 kB / 463.3 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001092/0.4263, allocations: 155.9 kB / 463.4 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003175/0.4295, allocations: 1.849 MB / 465.3 MB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01972/0.4493, allocations: 8.331 MB / 473.6 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05307/0.5024, allocations: 39.28 MB / 0.5009 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.5133, allocations: 3.993 MB / 0.5048 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00222/0.5156, allocations: 1.435 MB / 0.5062 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.5267, allocations: 7.605 MB / 0.5136 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.5267, allocations: 55.48 kB / 0.5136 GB, free: 8.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.278e-06/0.5267, allocations: 0 / 0.5136 GB, free: 8.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03262/0.5594, allocations: 12.6 MB / 0.526 GB, free: 11.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001487/0.5609, allocations: 1.679 MB / 0.5276 GB, free: 9.598 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005508/0.5664, allocations: 3.833 MB / 0.5313 GB, free: 5.777 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002937/0.5667, allocations: 49.69 kB / 0.5314 GB, free: 5.723 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002573/0.5693, allocations: 3.246 MB / 0.5346 GB, free: 2.445 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009454/0.5703, allocations: 0.6747 MB / 0.5352 GB, free: 1.766 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001737/0.572, allocations: 1.262 MB / 0.5364 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5722, allocations: 301.1 kB / 0.5367 GB, free: 200 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2016/0.7737, allocations: 2.003 MB / 0.5387 GB, free: 131.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004326/0.7781, allocations: 5.944 MB / 0.5445 GB, free: 125.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006831/0.785, allocations: 8.569 MB / 0.5529 GB, free: 117.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.845e-05/0.7851, allocations: 42.25 kB / 0.5529 GB, free: 117.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01335/0.7985, allocations: 8.789 MB / 0.5615 GB, free: 113.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.7986, allocations: 66.19 kB / 0.5616 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004959/0.8035, allocations: 2.792 MB / 0.5643 GB, free: 111.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004339/0.8079, allocations: 1.529 MB / 0.5658 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/0.8113, allocations: 1.365 MB / 0.5671 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/0.8157, allocations: 5.806 MB / 0.5728 GB, free: 103.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005327/0.8211, allocations: 393 kB / 0.5731 GB, free: 102.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006443/0.8217, allocations: 392 kB / 0.5735 GB, free: 102.4 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.002648/0.8244, allocations: 2.011 MB / 0.5755 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005126/0.8249, allocations: 345 kB / 0.5758 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/0.8304, allocations: 3.121 MB / 0.5789 GB, free: 97.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004737/0.8352, allocations: 2.684 MB / 0.5815 GB, free: 94.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.8352, allocations: 11.88 kB / 0.5815 GB, free: 94.44 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.8352, allocations: 3.984 kB / 0.5815 GB, free: 94.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/0.8475, allocations: 8.556 MB / 0.5899 GB, free: 85.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.8475, allocations: 0 / 0.5899 GB, free: 85.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/0.8483, allocations: 195.7 kB / 0.59 GB, free: 85.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003951/0.8523, allocations: 1.428 MB / 0.5914 GB, free: 84.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.8524, allocations: 35.97 kB / 0.5915 GB, free: 84.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004744/0.8572, allocations: 6.012 MB / 0.5973 GB, free: 77.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006543/0.8578, allocations: 1.546 MB / 0.5989 GB, free: 76.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007426/0.8653, allocations: 5.311 MB / 0.604 GB, free: 71.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.8663, allocations: 394.6 kB / 0.6044 GB, free: 70.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004046/0.8667, allocations: 35.98 kB / 0.6044 GB, free: 70.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.868, allocations: 119 kB / 0.6046 GB, free: 70.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/0.8683, allocations: 92.78 kB / 0.6047 GB, free: 70.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.8684, allocations: 43.98 kB / 0.6047 GB, free: 70.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002783/0.8712, allocations: 2.349 MB / 0.607 GB, free: 67.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8712, allocations: 0 / 0.607 GB, free: 67.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004331/0.8755, allocations: 1.008 MB / 0.608 GB, free: 66.98 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.006512/0.8821, allocations: 5.803 MB / 0.6136 GB, free: 61.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007451/0.8895, allocations: 5.435 MB / 0.6189 GB, free: 55.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.8896, allocations: 4.062 kB / 0.619 GB, free: 55.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003273/0.8928, allocations: 2.049 MB / 0.621 GB, free: 53.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.895, allocations: 394.2 kB / 0.6213 GB, free: 53.17 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0519/0.9469, allocations: 45.39 MB / 0.6657 GB, free: 1.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003309/0.9502, allocations: 3.115 MB / 0.6687 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004132/0.9544, allocations: 1.8 MB / 0.6705 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002493/0.9569, allocations: 1.772 MB / 0.6722 GB, free: 10.86 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.9569, allocations: 3.938 kB / 0.6722 GB, free: 10.85 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3345/1.291, allocations: 66.08 MB / 0.7367 GB, free: 181.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.44/22.74, allocations: 0.625 kB / 0.7367 GB, free: 181.6 MB / 0.5137 GB (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)