Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004924/0.004928, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.001181/0.001181, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.522/1.522, allocations: 205.1 MB / 222.6 MB, free: 4.547 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.001162/0.001162, allocations: 54.52 kB / 326.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1023, allocations: 46.62 MB / 373.2 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003432/0.1058, allocations: 2.393 MB / 375.5 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004505/0.1062, allocations: 251 kB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1064, allocations: 4 kB / 375.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.1065, allocations: 39.58 kB / 375.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.1067, allocations: 87.27 kB / 375.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.1069, allocations: 59.86 kB / 376 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.1072, allocations: 286.7 kB / 376.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.1074, allocations: 105.7 kB / 376.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.987e-05/0.1075, allocations: 111.6 kB / 376.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1076, allocations: 119.5 kB / 376.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.1077, allocations: 20 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.473e-05/0.1077, allocations: 24 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.1078, allocations: 55.77 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.1079, allocations: 131.3 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.1082, allocations: 291 kB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1082, allocations: 7.938 kB / 377.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1083, allocations: 4 kB / 377.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1083, allocations: 0 / 377.1 MB, free: 13.38 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007181/0.109, allocations: 0.5303 MB / 377.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.109, allocations: 12.03 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.1091, allocations: 28.56 kB / 377.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.1094, allocations: 256.5 kB / 377.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1094, allocations: 24.94 kB / 378 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.1095, allocations: 28.28 kB / 378 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.1099, allocations: 243.9 kB / 378.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1099, allocations: 192 / 378.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.1099, allocations: 15.94 kB / 378.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.1099, allocations: 4 kB / 378.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.1102, allocations: 163.8 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000989/0.1112, allocations: 0.7851 MB / 379.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.1117, allocations: 299.6 kB / 379.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.112, allocations: 130.5 kB / 379.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.112, allocations: 4 kB / 379.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.112, allocations: 38.56 kB / 379.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.112, allocations: 0 / 379.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002542/0.1146, allocations: 1.96 MB / 381.6 MB, free: 8.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.1147, allocations: 110.8 kB / 381.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.1149, allocations: 187.2 kB / 381.9 MB, free: 8.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.1149, allocations: 29.7 kB / 381.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.115, allocations: 144.7 kB / 382.1 MB, free: 7.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.1152, allocations: 161.6 kB / 382.2 MB, free: 7.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1153, allocations: 78.12 kB / 382.3 MB, free: 7.648 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1154, allocations: 334.8 kB / 382.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.1156, allocations: 92.83 kB / 382.7 MB, free: 7.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.1158, allocations: 154.3 kB / 382.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.1162, allocations: 281.8 kB / 383.1 MB, free: 6.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1162, allocations: 0 / 383.1 MB, free: 6.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004583/0.1166, allocations: 337.1 kB / 383.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1167, allocations: 7.938 kB / 383.5 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1167, allocations: 8.094 kB / 383.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1167, allocations: 4 kB / 383.5 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.117, allocations: 91.89 kB / 383.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.117, allocations: 7.938 kB / 383.6 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1172, allocations: 8 kB / 383.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.1172, allocations: 16 kB / 383.6 MB, free: 6.273 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001286/0.1173, allocations: 149.7 kB / 383.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.408e-05/0.1174, allocations: 31.66 kB / 383.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.982e-05/0.1175, allocations: 41.86 kB / 383.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1175, allocations: 4 kB / 383.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1175, allocations: 0 / 383.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.1175, allocations: 4 kB / 383.8 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.1188, allocations: 1.069 MB / 384.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1188, allocations: 4 kB / 384.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.1192, allocations: 87.91 kB / 385 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1192, allocations: 7.938 kB / 385 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.1192, allocations: 8.281 kB / 385 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.465e-06/0.1192, allocations: 19.92 kB / 385 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1192, allocations: 4.469 kB / 385 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.12, allocations: 0.7132 MB / 385.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.1201, allocations: 112.8 kB / 385.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.1201, allocations: 11.94 kB / 385.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.1203, allocations: 12 kB / 385.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1204, allocations: 39.84 kB / 385.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1204, allocations: 12 kB / 385.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1205, allocations: 144.2 kB / 386.1 MB, free: 3.648 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1205, allocations: 0 / 386.1 MB, free: 3.648 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004009/0.1209, allocations: 72 kB / 386.1 MB, free: 3.578 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.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 (45): * Single equations (assignments): 45 * 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.0001111/0.121, allocations: 107.2 kB / 386.3 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004018/0.1214, allocations: 275.6 kB / 386.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1214, allocations: 0 / 386.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.1216, allocations: 139.8 kB / 386.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.1223, allocations: 69.7 kB / 386.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.1235, allocations: 0.9046 MB / 387.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1238, allocations: 0.7683 MB / 388.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.124, allocations: 30.97 kB / 388.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.124, allocations: 31.44 kB / 388.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.124, allocations: 0 / 388.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of Templates: time 0.00629/0.1303, allocations: 3.059 MB / 391.5 MB, free: 14.11 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)