Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001019/0.001019, allocations: 195.7 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007553/0.0007553, allocations: 94.91 kB / 297.4 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002127/0.0002128, allocations: 4 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2165, allocations: 51.3 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3221, allocations: 95.16 MB / 0.492 GB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.3225, allocations: 96.77 kB / 0.4921 GB, free: 12.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3818/0.7043, allocations: 80.64 MB / 0.5709 GB, free: 40.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.7043, allocations: 4 kB / 0.5709 GB, free: 40.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000172/0.7045, allocations: 80 kB / 0.5709 GB, free: 40.19 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.01646/0.721, allocations: 4.367 MB / 0.5752 GB, free: 35.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.721, allocations: 8.031 kB / 0.5752 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.7312, allocations: 2.285 MB / 0.5774 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007354/0.7386, allocations: 3.106 MB / 0.5805 GB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.7389, allocations: 328.9 kB / 0.5808 GB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.7406, allocations: 428.2 kB / 0.5812 GB, free: 29.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/0.7584, allocations: 10.53 MB / 0.5915 GB, free: 17.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.7586, allocations: 59.44 kB / 0.5915 GB, free: 17.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006663/0.7593, allocations: 211.9 kB / 0.5917 GB, free: 17.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001141/0.7604, allocations: 1.029 MB / 0.5927 GB, free: 16.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/0.7751, allocations: 8.326 MB / 0.6009 GB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05218/0.8273, allocations: 49.06 MB / 0.6488 GB, free: 5.633 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.8375, allocations: 3.953 MB / 0.6526 GB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.8399, allocations: 1.4 MB / 0.654 GB, free: 124 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01203/0.8519, allocations: 7.623 MB / 0.6614 GB, free: 8.012 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/0.852, allocations: 51.5 kB / 0.6615 GB, free: 7.953 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 7.384e-06/0.852, allocations: 8 kB / 0.6615 GB, free: 7.945 MB / 442.7 MB Notification: Performance of matching and sorting (n=159): time 0.2217/1.074, allocations: 12.21 MB / 0.6734 GB, free: 107.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009543/1.075, allocations: 1.584 MB / 0.675 GB, free: 106.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006037/1.081, allocations: 3.82 MB / 0.6787 GB, free: 106 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003366/1.081, allocations: 49.31 kB / 0.6788 GB, free: 105.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001876/1.083, allocations: 3.123 MB / 0.6818 GB, free: 104.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008473/1.084, allocations: 0.644 MB / 0.6824 GB, free: 104 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/1.084, allocations: 123 kB / 0.6825 GB, free: 104 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003045/1.085, allocations: 0.5669 MB / 0.6831 GB, free: 103.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003178/1.088, allocations: 2.008 MB / 0.6851 GB, free: 103.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00558/1.093, allocations: 5.939 MB / 0.6909 GB, free: 98.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00944/1.103, allocations: 8.572 MB / 0.6992 GB, free: 93.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001729/1.103, allocations: 43.34 kB / 0.6993 GB, free: 93.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01717/1.12, allocations: 8.765 MB / 0.7078 GB, free: 91.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-05/1.12, allocations: 62.25 kB / 0.7079 GB, free: 91.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005447/1.126, allocations: 2.776 MB / 0.7106 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004648/1.131, allocations: 1.528 MB / 0.7121 GB, free: 90.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004446/1.135, allocations: 1.38 MB / 0.7134 GB, free: 90.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00503/1.14, allocations: 5.513 MB / 0.7188 GB, free: 86.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00569/1.146, allocations: 438.3 kB / 0.7192 GB, free: 86.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/1.147, allocations: 389.2 kB / 0.7196 GB, free: 86.41 MB / 442.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.003957/1.151, allocations: 2.005 MB / 0.7216 GB, free: 85.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007733/1.152, allocations: 325.8 kB / 0.7219 GB, free: 85.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006151/1.158, allocations: 3.119 MB / 0.7249 GB, free: 84.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005887/1.164, allocations: 2.673 MB / 0.7275 GB, free: 83.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/1.164, allocations: 3.875 kB / 0.7275 GB, free: 83.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.799e-05/1.164, allocations: 6.562 kB / 0.7276 GB, free: 83.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02055/1.184, allocations: 8.594 MB / 0.7359 GB, free: 78.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/1.185, allocations: 11.83 kB / 0.736 GB, free: 78.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/1.186, allocations: 188.2 kB / 0.7361 GB, free: 78.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005494/1.191, allocations: 1.433 MB / 0.7375 GB, free: 77.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/1.191, allocations: 34 kB / 0.7376 GB, free: 77.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006483/1.198, allocations: 5.718 MB / 0.7432 GB, free: 72.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006852/1.199, allocations: 1.451 MB / 0.7446 GB, free: 70.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/1.209, allocations: 5.277 MB / 0.7497 GB, free: 66.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.211, allocations: 379 kB / 0.7501 GB, free: 66.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005566/1.211, allocations: 38.33 kB / 0.7501 GB, free: 65.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/1.213, allocations: 135.3 kB / 0.7503 GB, free: 65.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/1.213, allocations: 91.81 kB / 0.7503 GB, free: 65.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.214, allocations: 47.52 kB / 0.7504 GB, free: 65.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004717/1.218, allocations: 2.349 MB / 0.7527 GB, free: 63.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.218, allocations: 0 / 0.7527 GB, free: 63.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007086/1.225, allocations: 1.016 MB / 0.7537 GB, free: 62.89 MB / 442.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.0005724/1.226, allocations: 180 kB / 0.7538 GB, free: 62.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01076/1.237, allocations: 5.381 MB / 0.7591 GB, free: 58.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.237, allocations: 4 kB / 0.7591 GB, free: 58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004445/1.241, allocations: 2.022 MB / 0.7611 GB, free: 56.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/1.245, allocations: 375.6 kB / 0.7614 GB, free: 55.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.262, allocations: 11.09 MB / 0.7723 GB, free: 45.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003692/1.266, allocations: 3.113 MB / 0.7753 GB, free: 43.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009456/1.267, allocations: 266.1 kB / 0.7756 GB, free: 43.19 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/1.267, allocations: 0 / 0.7756 GB, free: 43.19 MB / 442.7 MB Notification: Performance of Templates: time 0.378/1.645, allocations: 141.8 MB / 0.914 GB, free: 72.05 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)