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.00927/0.00927, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.407/1.407, allocations: 222.9 MB / 239.4 MB, free: 4.391 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.001633/0.001633, allocations: 188.5 kB / 289.7 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03442/0.03442, allocations: 8.804 MB / 348.7 MB, free: 4.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 83.88 kB / 463.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1097, allocations: 51.57 MB / 0.5034 GB, free: 9.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.00216/0.1119, allocations: 1.194 MB / 0.5045 GB, free: 8.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001988/0.1121, allocations: 55.77 kB / 0.5046 GB, free: 8.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.1122, allocations: 0 / 0.5046 GB, free: 8.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.398e-05/0.1123, allocations: 4 kB / 0.5046 GB, free: 8.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.1124, allocations: 7.938 kB / 0.5046 GB, free: 8.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.241e-05/0.1125, allocations: 7.984 kB / 0.5046 GB, free: 8.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.519e-05/0.1125, allocations: 15.88 kB / 0.5046 GB, free: 8.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.1126, allocations: 15.92 kB / 0.5046 GB, free: 8.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.732e-05/0.1126, allocations: 11.98 kB / 0.5047 GB, free: 8.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.1127, allocations: 3.938 kB / 0.5047 GB, free: 8.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1127, allocations: 4 kB / 0.5047 GB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-06/0.1127, allocations: 0 / 0.5047 GB, free: 8.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.1127, allocations: 0 / 0.5047 GB, free: 8.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.1128, allocations: 8 kB / 0.5047 GB, free: 8.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.54e-05/0.1128, allocations: 19.84 kB / 0.5047 GB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1129, allocations: 0 / 0.5047 GB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1129, allocations: 3.938 kB / 0.5047 GB, free: 8.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1129, allocations: 4 kB / 0.5047 GB, free: 8.066 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.0004161/0.1133, allocations: 327.5 kB / 0.505 GB, free: 7.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1133, allocations: 8.031 kB / 0.505 GB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.1134, allocations: 0.9375 kB / 0.505 GB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.1135, allocations: 172.3 kB / 0.5052 GB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1135, allocations: 384 / 0.5052 GB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1136, allocations: 384 / 0.5052 GB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.885e-05/0.1137, allocations: 47.98 kB / 0.5052 GB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1137, allocations: 4.172 kB / 0.5052 GB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1137, allocations: 3.938 kB / 0.5052 GB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1137, allocations: 4 kB / 0.5052 GB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.792e-05/0.1137, allocations: 3.938 kB / 0.5053 GB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.114, allocations: 166.5 kB / 0.5054 GB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.173e-05/0.1141, allocations: 45.19 kB / 0.5055 GB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.1141, allocations: 9.719 kB / 0.5055 GB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1141, allocations: 8 kB / 0.5055 GB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1142, allocations: 30.56 kB / 0.5055 GB, free: 7.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.1142, allocations: 0 / 0.5055 GB, free: 7.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001443/0.1143, allocations: 49.56 kB / 0.5055 GB, free: 7.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.1144, allocations: 85.36 kB / 0.5056 GB, free: 6.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.876e-05/0.1145, allocations: 101.8 kB / 0.5057 GB, free: 6.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1145, allocations: 25.7 kB / 0.5057 GB, free: 6.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.1145, allocations: 84.14 kB / 0.5058 GB, free: 6.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.1146, allocations: 7.953 kB / 0.5058 GB, free: 6.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.1146, allocations: 13.72 kB / 0.5058 GB, free: 6.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1147, allocations: 314.8 kB / 0.5061 GB, free: 6.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.1148, allocations: 7.984 kB / 0.5062 GB, free: 6.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.801e-05/0.1148, allocations: 31.44 kB / 0.5062 GB, free: 6.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.905e-05/0.1149, allocations: 35.38 kB / 0.5062 GB, free: 6.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1149, allocations: 4 kB / 0.5062 GB, free: 6.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.614e-05/0.115, allocations: 73.52 kB / 0.5063 GB, free: 6.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.824e-05/0.115, allocations: 5.875 kB / 0.5063 GB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.115, allocations: 7.875 kB / 0.5063 GB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1151, allocations: 4 kB / 0.5063 GB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.71e-05/0.1151, allocations: 4 kB / 0.5063 GB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1151, allocations: 4 kB / 0.5063 GB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.1152, allocations: 7.922 kB / 0.5063 GB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1152, allocations: 0 / 0.5063 GB, free: 6.129 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 7.119e-05/0.1152, allocations: 121.9 kB / 0.5064 GB, free: 6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.1153, allocations: 0 / 0.5064 GB, free: 6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.1153, allocations: 11.06 kB / 0.5065 GB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1153, allocations: 0 / 0.5065 GB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1153, allocations: 0 / 0.5065 GB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1153, allocations: 3.938 kB / 0.5065 GB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.1155, allocations: 157.7 kB / 0.5066 GB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1155, allocations: 3.984 kB / 0.5066 GB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.1155, allocations: 4 kB / 0.5066 GB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1155, allocations: 0 / 0.5066 GB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1155, allocations: 11.94 kB / 0.5066 GB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1155, allocations: 0 / 0.5066 GB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1155, allocations: 0 / 0.5066 GB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.1157, allocations: 81.88 kB / 0.5067 GB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.1157, allocations: 77.11 kB / 0.5068 GB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.1157, allocations: 7.969 kB / 0.5068 GB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.327e-05/0.1158, allocations: 96 / 0.5068 GB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.1158, allocations: 7.938 kB / 0.5068 GB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1158, allocations: 4 kB / 0.5068 GB, free: 5.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.435e-05/0.1158, allocations: 87.53 kB / 0.5069 GB, free: 5.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1158, allocations: 0 / 0.5069 GB, free: 5.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001908/0.116, allocations: 8 kB / 0.5069 GB, free: 5.453 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 9.098e-05/0.1161, allocations: 91.25 kB / 0.507 GB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.915e-05/0.1162, allocations: 20.06 kB / 0.507 GB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1162, allocations: 0 / 0.507 GB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.1163, allocations: 7.984 kB / 0.507 GB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.1164, allocations: 7.938 kB / 0.507 GB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.1167, allocations: 127.5 kB / 0.5071 GB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.117, allocations: 0.6805 MB / 0.5078 GB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.006e-05/0.117, allocations: 256 / 0.5078 GB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.117, allocations: 15.44 kB / 0.5078 GB, free: 4.441 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.117, allocations: 3.938 kB / 0.5078 GB, free: 4.438 MB / 350.1 MB Notification: Performance of Templates: time 0.002156/0.1192, allocations: 293 kB / 0.5081 GB, free: 4.152 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)