Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") translateModel(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004542/0.004542, allocations: 105.4 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 239.4 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 184.5 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03502/0.03502, allocations: 8.793 MB / 348.6 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 79.86 kB / 463.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1091, allocations: 51.57 MB / 0.5034 GB, free: 9.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002894/0.1121, allocations: 1.202 MB / 0.5045 GB, free: 8.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003058/0.1124, allocations: 55.77 kB / 0.5046 GB, free: 8.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.1125, allocations: 0 / 0.5046 GB, free: 8.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.958e-05/0.1126, allocations: 4 kB / 0.5046 GB, free: 8.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.1127, allocations: 11.94 kB / 0.5046 GB, free: 8.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.768e-05/0.1128, allocations: 7.922 kB / 0.5046 GB, free: 8.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.511e-05/0.1128, allocations: 19.94 kB / 0.5046 GB, free: 8.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.1129, allocations: 0 / 0.5046 GB, free: 8.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.905e-05/0.1129, allocations: 11.97 kB / 0.5047 GB, free: 8.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.113, allocations: 7.938 kB / 0.5047 GB, free: 8.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.113, allocations: 4 kB / 0.5047 GB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.113, allocations: 0 / 0.5047 GB, free: 8.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.1131, allocations: 0 / 0.5047 GB, free: 8.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.1131, allocations: 7.938 kB / 0.5047 GB, free: 8.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.493e-05/0.1132, allocations: 15.92 kB / 0.5047 GB, free: 8.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1132, allocations: 4 kB / 0.5047 GB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1132, allocations: 0 / 0.5047 GB, free: 8.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1132, allocations: 0 / 0.5047 GB, free: 8.188 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004608/0.1137, allocations: 319.5 kB / 0.505 GB, free: 7.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1137, allocations: 8.031 kB / 0.505 GB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.1138, allocations: 0.9375 kB / 0.505 GB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.1139, allocations: 180.3 kB / 0.5052 GB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.114, allocations: 384 / 0.5052 GB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.114, allocations: 8.312 kB / 0.5052 GB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1141, allocations: 39.98 kB / 0.5052 GB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1141, allocations: 192 / 0.5052 GB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1141, allocations: 7.938 kB / 0.5052 GB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1142, allocations: 4 kB / 0.5052 GB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.1142, allocations: 3.938 kB / 0.5052 GB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.1145, allocations: 166.5 kB / 0.5054 GB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.323e-05/0.1146, allocations: 41.19 kB / 0.5054 GB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.1146, allocations: 13.72 kB / 0.5055 GB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.1147, allocations: 8 kB / 0.5055 GB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1147, allocations: 30.56 kB / 0.5055 GB, free: 7.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1147, allocations: 0 / 0.5055 GB, free: 7.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001742/0.1149, allocations: 57.47 kB / 0.5055 GB, free: 7.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.1149, allocations: 81.11 kB / 0.5056 GB, free: 7.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.115, allocations: 97.84 kB / 0.5057 GB, free: 6.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1151, allocations: 29.7 kB / 0.5057 GB, free: 6.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.1151, allocations: 80.14 kB / 0.5058 GB, free: 6.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.1151, allocations: 7.906 kB / 0.5058 GB, free: 6.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.1152, allocations: 17.72 kB / 0.5058 GB, free: 6.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1153, allocations: 315.1 kB / 0.5061 GB, free: 6.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.1153, allocations: 11.98 kB / 0.5062 GB, free: 6.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.299e-05/0.1154, allocations: 27.38 kB / 0.5062 GB, free: 6.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.439e-05/0.1154, allocations: 39.44 kB / 0.5062 GB, free: 6.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1154, allocations: 0 / 0.5062 GB, free: 6.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.484e-05/0.1155, allocations: 61.84 kB / 0.5063 GB, free: 6.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1156, allocations: 4 kB / 0.5063 GB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1156, allocations: 3.938 kB / 0.5063 GB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1156, allocations: 4 kB / 0.5063 GB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.061e-05/0.1156, allocations: 4 kB / 0.5063 GB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.1156, allocations: 0 / 0.5063 GB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.1157, allocations: 16.09 kB / 0.5063 GB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.1157, allocations: 4 kB / 0.5063 GB, free: 6.254 MB / 350.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 (4): * Single equations (assignments): 4 * 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 8.092e-05/0.1158, allocations: 113.8 kB / 0.5064 GB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.1158, allocations: 3.906 kB / 0.5064 GB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.1158, allocations: 19 kB / 0.5064 GB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1159, allocations: 0 / 0.5064 GB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1159, allocations: 0 / 0.5064 GB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1159, allocations: 0 / 0.5064 GB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.116, allocations: 153.7 kB / 0.5066 GB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.116, allocations: 3.984 kB / 0.5066 GB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.1161, allocations: 8 kB / 0.5066 GB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1161, allocations: 0 / 0.5066 GB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1161, allocations: 15.88 kB / 0.5066 GB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1161, allocations: 4 kB / 0.5066 GB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1161, allocations: 0 / 0.5066 GB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.1163, allocations: 73.92 kB / 0.5067 GB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.1163, allocations: 81.2 kB / 0.5068 GB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1163, allocations: 7.969 kB / 0.5068 GB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.1164, allocations: 3.938 kB / 0.5068 GB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.1164, allocations: 0 / 0.5068 GB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1164, allocations: 4 kB / 0.5068 GB, free: 5.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.91e-05/0.1165, allocations: 87.27 kB / 0.5069 GB, free: 5.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1165, allocations: 0 / 0.5069 GB, free: 5.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001902/0.1167, allocations: 4 kB / 0.5069 GB, free: 5.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * 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 (2): * Single equations (assignments): 2 * 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.0001005/0.1168, allocations: 95.25 kB / 0.507 GB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.84e-05/0.1169, allocations: 15.94 kB / 0.507 GB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1169, allocations: 0 / 0.507 GB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.281e-05/0.1169, allocations: 7.984 kB / 0.507 GB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.1171, allocations: 8 kB / 0.507 GB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.1174, allocations: 131.8 kB / 0.5071 GB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1177, allocations: 0.6883 MB / 0.5078 GB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.516e-05/0.1177, allocations: 0 / 0.5078 GB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.1178, allocations: 11.44 kB / 0.5078 GB, free: 4.562 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1178, allocations: 0 / 0.5078 GB, free: 4.562 MB / 350.1 MB Notification: Performance of Templates: time 0.002308/0.1201, allocations: 288.9 kB / 0.5081 GB, free: 4.285 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.Classes.TestVector2D.makefile (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & ./HanserModelica_HanserModelica.Classes.TestVector2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1)