Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.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 3.2.3+maint.om/package.mo", uses=false) 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 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: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001387/0.001387, allocations: 191.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 55.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2766, allocations: 46.63 MB / 324.8 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003284/0.2799, allocations: 2.517 MB / 327.4 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004948/0.2804, allocations: 256.4 kB / 327.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.2806, allocations: 7.5 kB / 327.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.2808, allocations: 27.27 kB / 327.6 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.2809, allocations: 85.97 kB / 327.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.2811, allocations: 59.41 kB / 327.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.2815, allocations: 311.6 kB / 328.1 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.2818, allocations: 99.98 kB / 328.2 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.2819, allocations: 116.8 kB / 328.3 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.2821, allocations: 127.3 kB / 328.4 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.2822, allocations: 24.34 kB / 328.4 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.758e-05/0.2822, allocations: 25.47 kB / 328.5 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.2823, allocations: 63.09 kB / 328.5 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.2825, allocations: 141.5 kB / 328.7 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.2829, allocations: 312.1 kB / 329 MB, free: 14.83 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2829, allocations: 7.938 kB / 329 MB, free: 14.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2829, allocations: 0 / 329 MB, free: 14.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.2829, allocations: 1.625 kB / 329 MB, free: 14.82 MB / 270.1 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.0009402/0.2839, allocations: 0.5663 MB / 329.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2839, allocations: 12.91 kB / 329.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/0.284, allocations: 33.47 kB / 329.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.2843, allocations: 245.7 kB / 329.8 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.2843, allocations: 19.88 kB / 329.9 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.2844, allocations: 33.03 kB / 329.9 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.2849, allocations: 255.2 kB / 330.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.2849, allocations: 6.25 kB / 330.1 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.2849, allocations: 14.44 kB / 330.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.2849, allocations: 6.844 kB / 330.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.2852, allocations: 177.2 kB / 330.3 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.2863, allocations: 0.7502 MB / 331.1 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.2868, allocations: 278.2 kB / 331.4 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.287, allocations: 123.4 kB / 331.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.287, allocations: 3.25 kB / 331.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.2871, allocations: 36.81 kB / 331.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/0.2871, allocations: 0 / 331.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.002832/0.2899, allocations: 1.706 MB / 333.2 MB, free: 11.36 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.29, allocations: 85.11 kB / 333.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.2902, allocations: 182.2 kB / 333.5 MB, free: 11.06 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.2902, allocations: 37.7 kB / 333.5 MB, free: 11.02 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.321e-05/0.2903, allocations: 132.8 kB / 333.7 MB, free: 10.88 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.2904, allocations: 177.4 kB / 333.8 MB, free: 10.71 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2906, allocations: 78.19 kB / 333.9 MB, free: 10.62 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2907, allocations: 338.8 kB / 334.2 MB, free: 10.29 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.2909, allocations: 109.1 kB / 334.3 MB, free: 10.18 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.2911, allocations: 153.5 kB / 334.5 MB, free: 10.01 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.2914, allocations: 282.1 kB / 334.8 MB, free: 9.727 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2915, allocations: 0 / 334.8 MB, free: 9.727 MB / 270.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004847/0.2919, allocations: 377.8 kB / 335.1 MB, free: 9.352 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.292, allocations: 4 kB / 335.1 MB, free: 9.348 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.292, allocations: 4 kB / 335.1 MB, free: 9.344 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.292, allocations: 0 / 335.1 MB, free: 9.344 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.2924, allocations: 111.8 kB / 335.3 MB, free: 9.234 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.2924, allocations: 0 / 335.3 MB, free: 9.234 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.2925, allocations: 12 kB / 335.3 MB, free: 9.223 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.2925, allocations: 16 kB / 335.3 MB, free: 9.207 MB / 270.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.2927, allocations: 145.8 kB / 335.4 MB, free: 9.055 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.2928, allocations: 35.69 kB / 335.5 MB, free: 9.02 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.809e-05/0.2929, allocations: 37.86 kB / 335.5 MB, free: 8.984 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2929, allocations: 7.938 kB / 335.5 MB, free: 8.977 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2929, allocations: 0 / 335.5 MB, free: 8.977 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.2929, allocations: 7.984 kB / 335.5 MB, free: 8.969 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.2941, allocations: 0.9556 MB / 336.5 MB, free: 7.949 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.2941, allocations: 3.938 kB / 336.5 MB, free: 7.945 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.2945, allocations: 91.89 kB / 336.6 MB, free: 7.855 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.2945, allocations: 4 kB / 336.6 MB, free: 7.852 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.2945, allocations: 12 kB / 336.6 MB, free: 7.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.2945, allocations: 4 kB / 336.6 MB, free: 7.836 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2945, allocations: 4.062 kB / 336.6 MB, free: 7.832 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.2953, allocations: 0.6434 MB / 337.2 MB, free: 7.16 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.2953, allocations: 96.83 kB / 337.3 MB, free: 7.047 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.2954, allocations: 12 kB / 337.3 MB, free: 7.035 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.2956, allocations: 8 kB / 337.3 MB, free: 7.027 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.2956, allocations: 31.83 kB / 337.4 MB, free: 6.996 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.2956, allocations: 15.98 kB / 337.4 MB, free: 6.98 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.2957, allocations: 133.5 kB / 337.5 MB, free: 6.852 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2957, allocations: 0 / 337.5 MB, free: 6.852 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003388/0.2961, allocations: 80 kB / 337.6 MB, free: 6.773 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.2962, allocations: 107.2 kB / 337.7 MB, free: 6.66 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005252/0.2968, allocations: 319.6 kB / 338 MB, free: 6.348 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2968, allocations: 0 / 338 MB, free: 6.348 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.297, allocations: 160.4 kB / 338.2 MB, free: 6.191 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.2976, allocations: 67.89 kB / 338.2 MB, free: 6.125 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.2992, allocations: 1.119 MB / 339.4 MB, free: 4.973 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2996, allocations: 0.7764 MB / 340.1 MB, free: 4.168 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.2997, allocations: 38.91 kB / 340.2 MB, free: 4.133 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.2998, allocations: 27.44 kB / 340.2 MB, free: 4.109 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2998, allocations: 3.938 kB / 340.2 MB, free: 4.105 MB / 270.1 MB Notification: Performance of Templates: time 0.006374/0.3062, allocations: 3.039 MB / 343.2 MB, free: 1.066 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)