Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.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.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008756/0.0008756, allocations: 90.66 kB / 16.3 MB, free: 6.133 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.001048/0.001048, allocations: 183.2 kB / 17.2 MB, free: 6.016 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.545/1.545, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.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.0004787/0.0004788, allocations: 15.98 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1044, allocations: 47.59 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00252/0.107, allocations: 1.676 MB / 329.4 MB, free: 2.402 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005623/0.1076, allocations: 171.4 kB / 329.5 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.1077, allocations: 4 kB / 329.5 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.84e-05/0.1078, allocations: 19.84 kB / 329.6 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.108, allocations: 63.8 kB / 329.6 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.1082, allocations: 23.98 kB / 329.7 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.1086, allocations: 127.7 kB / 329.8 MB, free: 2 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.1088, allocations: 49.97 kB / 329.8 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.1089, allocations: 51.8 kB / 329.9 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.109, allocations: 63.69 kB / 329.9 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.1091, allocations: 11.94 kB / 330 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.756e-05/0.1091, allocations: 8 kB / 330 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.1091, allocations: 23.92 kB / 330 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.189e-05/0.1092, allocations: 57.58 kB / 330 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1094, allocations: 127.9 kB / 330.2 MB, free: 1.605 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.1094, allocations: 0 / 330.2 MB, free: 1.605 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1094, allocations: 0 / 330.2 MB, free: 1.605 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1094, allocations: 0 / 330.2 MB, free: 1.605 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006324/0.11, allocations: 442.5 kB / 330.6 MB, free: 1.125 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1101, allocations: 11.97 kB / 330.6 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.1101, allocations: 19.81 kB / 330.6 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1104, allocations: 222.3 kB / 330.8 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.1104, allocations: 12 kB / 330.9 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.1105, allocations: 16 kB / 330.9 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.1108, allocations: 185.6 kB / 331.1 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1108, allocations: 4 kB / 331.1 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1108, allocations: 4 kB / 331.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.1109, allocations: 4 kB / 331.1 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.111, allocations: 103.9 kB / 331.2 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.1124, allocations: 0.9546 MB / 332.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.1125, allocations: 107.8 kB / 332.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.1126, allocations: 0 / 332.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1126, allocations: 34.56 kB / 332.3 MB, free: 15.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.1126, allocations: 4 kB / 332.3 MB, free: 15.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003009/0.1129, allocations: 125.4 kB / 332.4 MB, free: 15.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.113, allocations: 110.8 kB / 332.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.1132, allocations: 207.7 kB / 332.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1132, allocations: 29.7 kB / 332.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1134, allocations: 143.8 kB / 332.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.1134, allocations: 47.36 kB / 332.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.1134, allocations: 4 kB / 332.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1136, allocations: 330.8 kB / 333.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.1137, allocations: 36.45 kB / 333.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.1138, allocations: 146.6 kB / 333.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.1139, allocations: 59.98 kB / 333.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1139, allocations: 0 / 333.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003558/0.1143, allocations: 213.7 kB / 333.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1143, allocations: 8.406 kB / 333.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1144, allocations: 4 kB / 333.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.1144, allocations: 8 kB / 333.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.1146, allocations: 51.91 kB / 333.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.1146, allocations: 4 kB / 333.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.1148, allocations: 31.62 kB / 333.8 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.1148, allocations: 15.95 kB / 333.8 MB, free: 13.62 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (28): * Single equations (assignments): 28 * 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.0001269/0.1149, allocations: 133.7 kB / 333.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.115, allocations: 19.75 kB / 334 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.1151, allocations: 24.97 kB / 334 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1151, allocations: 11.98 kB / 334 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1151, allocations: 3.938 kB / 334 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1151, allocations: 0 / 334 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.1156, allocations: 245.4 kB / 334.2 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1156, allocations: 0 / 334.2 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.1158, allocations: 27.98 kB / 334.3 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.1158, allocations: 4 kB / 334.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1158, allocations: 4 kB / 334.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1158, allocations: 3.984 kB / 334.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1158, allocations: 4 kB / 334.3 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.1162, allocations: 409.2 kB / 334.7 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.1162, allocations: 96.77 kB / 334.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.1163, allocations: 8.062 kB / 334.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.1164, allocations: 3.938 kB / 334.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.1165, allocations: 19.94 kB / 334.8 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1165, allocations: 4 kB / 334.8 MB, free: 12.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1166, allocations: 145.5 kB / 334.9 MB, free: 12.36 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1166, allocations: 0 / 334.9 MB, free: 12.36 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003799/0.117, allocations: 36 kB / 335 MB, free: 12.33 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (12): * Single equations (assignments): 12 * 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.0001142/0.1171, allocations: 99.19 kB / 335.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.1173, allocations: 108.3 kB / 335.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1174, allocations: 0 / 335.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.024e-05/0.1174, allocations: 35.92 kB / 335.2 MB, free: 12.08 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1178, allocations: 23.98 kB / 335.2 MB, free: 12.06 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1189, allocations: 0.7623 MB / 336 MB, free: 11.26 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.1192, allocations: 0.7322 MB / 336.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.711e-05/0.1193, allocations: 17.95 kB / 336.8 MB, free: 10.49 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.1193, allocations: 15.44 kB / 336.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1193, allocations: 4 kB / 336.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of Templates: time 0.00377/0.1231, allocations: 1.219 MB / 338 MB, free: 9.25 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) Environment - environmentSimulation: