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.001246/0.001246, allocations: 117.5 kB / 16.63 MB, free: 6.812 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.001201/0.001201, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.331/1.331, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009749/0.0009749, allocations: 44.3 kB / 300.2 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08414, allocations: 49.45 MB / 349.7 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.1813/0.2655, allocations: 42.19 MB / 391.9 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0179/0.2834, allocations: 9.071 MB / 400.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008396/0.2919, allocations: 177.8 kB / 401.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00512/0.2971, allocations: 2.479 MB / 403.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004634/0.3017, allocations: 1.64 MB / 405.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.3032, allocations: 0.6378 MB / 405.9 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003958/0.3072, allocations: 3.722 MB / 409.6 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003818/0.311, allocations: 3.756 MB / 413.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.3128, allocations: 1.507 MB / 414.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.3149, allocations: 2.165 MB / 417 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004065/0.3153, allocations: 316 kB / 417.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.317, allocations: 1.174 MB / 418.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.3183, allocations: 1.847 MB / 420.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001593/0.3199, allocations: 2.167 MB / 422.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005185/0.3251, allocations: 6.53 MB / 429.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3251, allocations: 0 / 429.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3251, allocations: 0 / 429.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.089e-05/0.3252, allocations: 0 / 429.1 MB, free: 5.254 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.00673/0.332, allocations: 4.583 MB / 433.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.332, allocations: 8.031 kB / 433.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000726/0.3328, allocations: 0.7198 MB / 434.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006124/0.3389, allocations: 1.89 MB / 436.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/0.3423, allocations: 2.298 MB / 438.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.3425, allocations: 242.2 kB / 438.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007404/0.3433, allocations: 395.7 kB / 439.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01642/0.3597, allocations: 10.07 MB / 449.2 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.3598, allocations: 39.59 kB / 449.3 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007439/0.3606, allocations: 155.9 kB / 449.4 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002519/0.3631, allocations: 1.857 MB / 451.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.3786, allocations: 8.324 MB / 459.6 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04418/0.4229, allocations: 39.36 MB / 499 MB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009436/0.4323, allocations: 4.005 MB / 0.4912 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.4341, allocations: 1.42 MB / 0.4926 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008766/0.4429, allocations: 7.599 MB / 0.5 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.4429, allocations: 55.5 kB / 0.5001 GB, free: 15.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 2.915e-06/0.4429, allocations: 0 / 0.5001 GB, free: 15.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.02872/0.4716, allocations: 12.37 MB / 0.5121 GB, free: 3.031 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00121/0.4729, allocations: 1.687 MB / 0.5138 GB, free: 1.164 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00488/0.4778, allocations: 3.817 MB / 0.5175 GB, free: 13.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001886/0.478, allocations: 49.7 kB / 0.5176 GB, free: 13.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00176/0.4797, allocations: 3.114 MB / 0.5206 GB, free: 10.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005926/0.4803, allocations: 0.6404 MB / 0.5212 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001409/0.4818, allocations: 1.257 MB / 0.5225 GB, free: 8.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.4819, allocations: 301.1 kB / 0.5227 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/0.4845, allocations: 2.003 MB / 0.5247 GB, free: 5.922 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1603/0.6448, allocations: 5.938 MB / 0.5305 GB, free: 145.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00879/0.6536, allocations: 8.567 MB / 0.5389 GB, free: 139.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/0.6537, allocations: 39.62 kB / 0.5389 GB, free: 139.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01683/0.6706, allocations: 8.775 MB / 0.5475 GB, free: 136.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.6707, allocations: 70.58 kB / 0.5475 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005473/0.6762, allocations: 2.8 MB / 0.5503 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004457/0.6806, allocations: 1.541 MB / 0.5518 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003186/0.6838, allocations: 1.361 MB / 0.5531 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004392/0.6882, allocations: 5.797 MB / 0.5588 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003768/0.692, allocations: 393.8 kB / 0.5591 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005206/0.6925, allocations: 388.8 kB / 0.5595 GB, free: 131 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.003072/0.6956, allocations: 2.015 MB / 0.5615 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/0.6962, allocations: 326.2 kB / 0.5618 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00562/0.7018, allocations: 3.127 MB / 0.5648 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004791/0.7066, allocations: 2.689 MB / 0.5675 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.7066, allocations: 7.938 kB / 0.5675 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.7066, allocations: 7.969 kB / 0.5675 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.7185, allocations: 8.565 MB / 0.5759 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.7185, allocations: 4 kB / 0.5759 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/0.7193, allocations: 191.7 kB / 0.576 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003983/0.7233, allocations: 1.441 MB / 0.5774 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.7234, allocations: 31.98 kB / 0.5775 GB, free: 117.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004603/0.728, allocations: 6.016 MB / 0.5834 GB, free: 110.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006704/0.7287, allocations: 1.538 MB / 0.5849 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007089/0.7358, allocations: 5.308 MB / 0.59 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006745/0.7365, allocations: 372.7 kB / 0.5904 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.7368, allocations: 28 kB / 0.5904 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.738, allocations: 119.8 kB / 0.5905 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.7383, allocations: 92.78 kB / 0.5906 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.741e-05/0.7384, allocations: 56.8 kB / 0.5907 GB, free: 103.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002535/0.7409, allocations: 2.341 MB / 0.593 GB, free: 101 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7409, allocations: 0 / 0.593 GB, free: 101 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003845/0.7448, allocations: 1.002 MB / 0.5939 GB, free: 99.98 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.00642/0.7512, allocations: 5.777 MB / 0.5996 GB, free: 94.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008272/0.7595, allocations: 5.929 MB / 0.6054 GB, free: 88.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.7595, allocations: 4 kB / 0.6054 GB, free: 88.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003093/0.7626, allocations: 2.028 MB / 0.6074 GB, free: 86.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.7648, allocations: 398.8 kB / 0.6077 GB, free: 85.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05668/0.8215, allocations: 52.09 MB / 0.6586 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/0.8241, allocations: 3.107 MB / 0.6616 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003628/0.8277, allocations: 1.807 MB / 0.6634 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/0.8294, allocations: 1.765 MB / 0.6651 GB, free: 19 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.8294, allocations: 0 / 0.6651 GB, free: 19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7782/1.608, allocations: 69.67 MB / 0.7332 GB, free: 144.7 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/1.608, allocations: 254.9 kB / 0.7334 GB, free: 144.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.776/5.384, allocations: 4 kB / 0.7334 GB, free: 144.4 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)