Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001665/0.001665, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.653/1.653, allocations: 194.3 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001678/0.001678, allocations: 120.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.754e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09273/0.09279, allocations: 44.49 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3216/0.4145, allocations: 71.69 MB / 421.1 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.4147, allocations: 68.16 kB / 421.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01072/0.4254, allocations: 4.451 MB / 425.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4255, allocations: 192 / 425.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.4255, allocations: 11.34 kB / 425.7 MB, free: 10.18 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005767/0.4261, allocations: 497 kB / 426.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4261, allocations: 9.094 kB / 426.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.4262, allocations: 33.84 kB / 426.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.4265, allocations: 238.4 kB / 426.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.4265, allocations: 19 kB / 426.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.4265, allocations: 29.31 kB / 426.5 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.4269, allocations: 249 kB / 426.7 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.427, allocations: 7.469 kB / 426.7 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.427, allocations: 6.938 kB / 426.7 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.427, allocations: 11.59 kB / 426.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.4273, allocations: 171.2 kB / 426.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.4282, allocations: 0.7541 MB / 427.7 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.4286, allocations: 260.7 kB / 427.9 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.4287, allocations: 123.6 kB / 428 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.4288, allocations: 7.844 kB / 428 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.4288, allocations: 34 kB / 428.1 MB, free: 8.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.834e-06/0.4288, allocations: 1.312 kB / 428.1 MB, free: 8.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001993/0.4308, allocations: 1.628 MB / 429.7 MB, free: 7.699 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.4308, allocations: 80.95 kB / 429.8 MB, free: 7.605 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.431, allocations: 165.3 kB / 429.9 MB, free: 7.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.431, allocations: 32.83 kB / 430 MB, free: 7.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.4311, allocations: 138.7 kB / 430.1 MB, free: 7.355 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.4311, allocations: 172.2 kB / 430.3 MB, free: 7.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.4312, allocations: 10.78 kB / 430.3 MB, free: 7.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.4312, allocations: 340.3 kB / 430.6 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.4314, allocations: 98.88 kB / 430.7 MB, free: 6.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.4316, allocations: 152.7 kB / 430.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.4317, allocations: 126.1 kB / 431 MB, free: 6.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4317, allocations: 1.641 kB / 431 MB, free: 6.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003955/0.4321, allocations: 351.9 kB / 431.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4322, allocations: 7.688 kB / 431.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4322, allocations: 0 / 431.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.4322, allocations: 3.875 kB / 431.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.4326, allocations: 104 kB / 431.4 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.619e-06/0.4326, allocations: 7.781 kB / 431.5 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.4327, allocations: 9.938 kB / 431.5 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.4327, allocations: 15.34 kB / 431.5 MB, free: 6.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/0.4328, allocations: 123.8 kB / 431.6 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.4328, allocations: 31.23 kB / 431.6 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.399e-05/0.4329, allocations: 36.97 kB / 431.7 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.433, allocations: 11.72 kB / 431.7 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.433, allocations: 0 / 431.7 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-06/0.433, allocations: 7.984 kB / 431.7 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009491/0.4339, allocations: 0.9484 MB / 432.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4339, allocations: 3.875 kB / 432.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.4343, allocations: 100.2 kB / 432.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.4343, allocations: 3.984 kB / 432.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.4344, allocations: 10.66 kB / 432.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.4344, allocations: 3.719 kB / 432.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4344, allocations: 3.938 kB / 432.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.435, allocations: 0.6678 MB / 433.4 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.435, allocations: 100.4 kB / 433.5 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.4351, allocations: 15.02 kB / 433.5 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.4352, allocations: 7.562 kB / 433.5 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.4353, allocations: 34.48 kB / 433.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.4353, allocations: 11.59 kB / 433.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.44e-05/0.4354, allocations: 124.5 kB / 433.7 MB, free: 5.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4354, allocations: 0 / 433.7 MB, free: 5.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003266/0.4357, allocations: 87.48 kB / 433.8 MB, free: 5.469 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001362/0.4359, allocations: 102.5 kB / 433.9 MB, free: 5.375 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003623/0.4362, allocations: 288.4 kB / 434.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4362, allocations: 0 / 434.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.4364, allocations: 146.6 kB / 434.3 MB, free: 5.336 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.4368, allocations: 54.58 kB / 434.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.4379, allocations: 0.8868 MB / 435.3 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.4381, allocations: 0.7864 MB / 436 MB, free: 3.941 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.4382, allocations: 38.34 kB / 436.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.4383, allocations: 30.59 kB / 436.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4383, allocations: 0 / 436.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of Templates: time 0.005043/0.4433, allocations: 2.766 MB / 438.9 MB, free: 2.562 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)