Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007534/0.007534, allocations: 165 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.291/1.291, allocations: 170.8 MB / 186.6 MB, free: 1.148 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002025/0.002025, allocations: 111.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.00043, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2065, allocations: 38.76 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07781/0.2844, allocations: 66.47 MB / 379.3 MB, free: 8.066 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.2846, allocations: 63.97 kB / 379.4 MB, free: 8.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01158/0.2962, allocations: 4.455 MB / 383.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2963, allocations: 0 / 383.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.2963, allocations: 8 kB / 383.9 MB, free: 3.527 MB / 282.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.0007406/0.297, allocations: 0.5224 MB / 384.4 MB, free: 2.953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.2971, allocations: 8.031 kB / 384.4 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.2972, allocations: 27.72 kB / 384.4 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.2975, allocations: 235.3 kB / 384.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.2975, allocations: 20.56 kB / 384.7 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.2975, allocations: 35.89 kB / 384.7 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.298, allocations: 250.6 kB / 385 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.245e-05/0.298, allocations: 4 kB / 385 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.2981, allocations: 8 kB / 385 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.2981, allocations: 8 kB / 385 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.2984, allocations: 175.9 kB / 385.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.2995, allocations: 0.7613 MB / 385.9 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.2999, allocations: 261 kB / 386.2 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2999, allocations: 11.94 kB / 386.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.3, allocations: 34.56 kB / 386.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.743e-06/0.3, allocations: 4 kB / 386.2 MB, free: 1 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.002588/0.3026, allocations: 1.717 MB / 387.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.3026, allocations: 81.11 kB / 388 MB, free: 15.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.3028, allocations: 157.6 kB / 388.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.3028, allocations: 33.7 kB / 388.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.3029, allocations: 144.6 kB / 388.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.3031, allocations: 177.4 kB / 388.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.3031, allocations: 7.938 kB / 388.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3032, allocations: 346.8 kB / 388.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.3034, allocations: 97.09 kB / 389 MB, free: 14.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.3036, allocations: 149.5 kB / 389.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.3038, allocations: 134.3 kB / 389.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3038, allocations: 0 / 389.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004665/0.3043, allocations: 358.2 kB / 389.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3043, allocations: 7.984 kB / 389.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3043, allocations: 4 kB / 389.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3044, allocations: 4 kB / 389.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.3047, allocations: 95.91 kB / 389.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3047, allocations: 7.984 kB / 389.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3049, allocations: 8 kB / 389.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.3049, allocations: 19.94 kB / 389.7 MB, free: 13.25 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.305, allocations: 149.8 kB / 389.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.3051, allocations: 35.58 kB / 389.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.121e-05/0.3052, allocations: 37.88 kB / 389.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3052, allocations: 4 kB / 390 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3052, allocations: 3.984 kB / 390 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.3053, allocations: 4 kB / 390 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.3065, allocations: 0.9481 MB / 390.9 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3065, allocations: 4 kB / 390.9 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.307, allocations: 103.9 kB / 391 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.307, allocations: 0 / 391 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.307, allocations: 8 kB / 391 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.307, allocations: 7.953 kB / 391 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.307, allocations: 0 / 391 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008288/0.3078, allocations: 0.6752 MB / 391.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.3079, allocations: 100.7 kB / 391.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.308, allocations: 19.94 kB / 391.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.3082, allocations: 11.98 kB / 391.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.3082, allocations: 23.97 kB / 391.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.3083, allocations: 15.94 kB / 391.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000136/0.3084, allocations: 142.1 kB / 392 MB, free: 10.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3084, allocations: 0 / 392 MB, free: 10.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003928/0.3088, allocations: 80 kB / 392.1 MB, free: 10.76 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 () * 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 (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.0001666/0.309, allocations: 107.2 kB / 392.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.3094, allocations: 295.1 kB / 392.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3094, allocations: 0 / 392.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.3097, allocations: 152 kB / 392.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.3101, allocations: 65 kB / 392.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3118, allocations: 1.213 MB / 393.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3122, allocations: 0.7806 MB / 394.7 MB, free: 8.082 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000136/0.3123, allocations: 34.94 kB / 394.7 MB, free: 8.047 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.3124, allocations: 27.44 kB / 394.7 MB, free: 8.02 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3124, allocations: 0 / 394.7 MB, free: 8.02 MB / 298.7 MB Notification: Performance of Templates: time 0.005896/0.3183, allocations: 2.756 MB / 397.5 MB, free: 5.285 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)