Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 185.8 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.942/1.942, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001132, allocations: 88.44 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004057, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3227, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.4691, allocations: 92.94 MB / 467.5 MB, free: 3.809 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.4695, allocations: 91.95 kB / 467.6 MB, free: 3.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.589/1.059, allocations: 80.25 MB / 0.535 GB, free: 80.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.494e-06/1.059, allocations: 4 kB / 0.535 GB, free: 80.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002039/1.059, allocations: 80 kB / 0.5351 GB, free: 80.5 MB / 378.7 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.02152/1.08, allocations: 4.329 MB / 0.5393 GB, free: 76.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/1.08, allocations: 8.031 kB / 0.5393 GB, free: 76.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/1.098, allocations: 2.256 MB / 0.5415 GB, free: 73.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01651/1.114, allocations: 4.425 MB / 0.5458 GB, free: 69.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000366/1.115, allocations: 324.5 kB / 0.5461 GB, free: 69.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/1.117, allocations: 431.8 kB / 0.5465 GB, free: 68.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02974/1.147, allocations: 10.62 MB / 0.5569 GB, free: 56.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002184/1.147, allocations: 55.5 kB / 0.557 GB, free: 56.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001293/1.148, allocations: 215.9 kB / 0.5572 GB, free: 56.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002021/1.15, allocations: 1.025 MB / 0.5582 GB, free: 55.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02586/1.176, allocations: 8.47 MB / 0.5664 GB, free: 47.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06703/1.243, allocations: 49.12 MB / 0.6144 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/1.262, allocations: 3.976 MB / 0.6183 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01972/1.282, allocations: 7.678 MB / 0.6258 GB, free: 128 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.526e-05/1.282, allocations: 59.44 kB / 0.6258 GB, free: 60 kB / 394.7 MB Notification: Performance of pre-optimization done (n=152): time 5.801e-06/1.282, allocations: 4 kB / 0.6258 GB, free: 56 kB / 394.7 MB Notification: Performance of matching and sorting (n=159): time 0.05977/1.342, allocations: 12.49 MB / 0.638 GB, free: 3.312 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001806/1.344, allocations: 1.596 MB / 0.6396 GB, free: 1.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2956/1.639, allocations: 3.428 MB / 0.6429 GB, free: 104.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000422/1.64, allocations: 50.83 kB / 0.643 GB, free: 104.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002677/1.643, allocations: 3.075 MB / 0.646 GB, free: 103.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.644, allocations: 0.6439 MB / 0.6466 GB, free: 103.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009085/1.645, allocations: 125.3 kB / 0.6467 GB, free: 103.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005791/1.645, allocations: 0.5755 MB / 0.6473 GB, free: 102.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005974/1.651, allocations: 2.003 MB / 0.6493 GB, free: 102.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008976/1.66, allocations: 5.919 MB / 0.655 GB, free: 97.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009069/1.669, allocations: 3.356 MB / 0.6583 GB, free: 97.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002947/1.67, allocations: 40.66 kB / 0.6584 GB, free: 97.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02787/1.698, allocations: 8.678 MB / 0.6668 GB, free: 96.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/1.698, allocations: 67.81 kB / 0.6669 GB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01048/1.708, allocations: 2.774 MB / 0.6696 GB, free: 95.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008978/1.717, allocations: 1.538 MB / 0.6711 GB, free: 95.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008003/1.725, allocations: 1.374 MB / 0.6725 GB, free: 94.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008587/1.734, allocations: 5.595 MB / 0.6779 GB, free: 91.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007634/1.742, allocations: 437.4 kB / 0.6783 GB, free: 90.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/1.743, allocations: 389.5 kB / 0.6787 GB, free: 90.93 MB / 410.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.005993/1.749, allocations: 2.01 MB / 0.6807 GB, free: 89.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009198/1.75, allocations: 336.9 kB / 0.681 GB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/1.762, allocations: 3.115 MB / 0.684 GB, free: 88.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01014/1.772, allocations: 2.671 MB / 0.6866 GB, free: 87.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/1.772, allocations: 3.344 kB / 0.6866 GB, free: 87.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.71e-05/1.773, allocations: 6.938 kB / 0.6866 GB, free: 87.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02772/1.8, allocations: 8.577 MB / 0.695 GB, free: 83.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/1.8, allocations: 0 / 0.695 GB, free: 83.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/1.802, allocations: 196.4 kB / 0.6952 GB, free: 83.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008358/1.811, allocations: 1.433 MB / 0.6966 GB, free: 82.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004289/1.811, allocations: 39.59 kB / 0.6966 GB, free: 82.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009082/1.82, allocations: 5.792 MB / 0.7023 GB, free: 76.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001177/1.821, allocations: 1.463 MB / 0.7037 GB, free: 75.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/1.836, allocations: 5.357 MB / 0.709 GB, free: 70.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.838, allocations: 386.5 kB / 0.7093 GB, free: 70.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001177/1.839, allocations: 32.17 kB / 0.7094 GB, free: 70.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003185/1.842, allocations: 139.2 kB / 0.7095 GB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005655/1.843, allocations: 97.58 kB / 0.7096 GB, free: 70.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.843, allocations: 48.33 kB / 0.7096 GB, free: 70.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006108/1.849, allocations: 2.356 MB / 0.7119 GB, free: 68.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.42e-07/1.849, allocations: 0 / 0.7119 GB, free: 68.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006846/1.856, allocations: 1.014 MB / 0.7129 GB, free: 67.36 MB / 410.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007113/1.857, allocations: 172.9 kB / 0.7131 GB, free: 67.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01399/1.871, allocations: 5.379 MB / 0.7183 GB, free: 62.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.871, allocations: 0 / 0.7183 GB, free: 62.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006572/1.877, allocations: 2.026 MB / 0.7203 GB, free: 60.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/1.88, allocations: 355.6 kB / 0.7207 GB, free: 60.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02427/1.905, allocations: 11.06 MB / 0.7315 GB, free: 50.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006666/1.911, allocations: 3.197 MB / 0.7346 GB, free: 47.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.913, allocations: 267.4 kB / 0.7348 GB, free: 47.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/1.913, allocations: 0 / 0.7348 GB, free: 47.12 MB / 410.7 MB Notification: Performance of Templates: time 0.526/2.439, allocations: 134.8 MB / 0.8665 GB, free: 71.87 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)