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.000932/0.0009314, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.403/1.403, allocations: 223.2 MB / 238.9 MB, free: 5.488 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.00117/0.00117, allocations: 185 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03577/0.03577, allocations: 8.802 MB / 350.1 MB, free: 4.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004187, allocations: 10.69 kB / 413.1 MB, free: 43.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1078, allocations: 52.57 MB / 465.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.001508/0.1093, allocations: 0.9198 MB / 466.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002/0.1096, allocations: 43.91 kB / 466.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.1096, allocations: 0 / 466.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.05e-05/0.1097, allocations: 7.938 kB / 466.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.1098, allocations: 15.91 kB / 466.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.609e-05/0.1098, allocations: 0 / 466.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.063e-05/0.1099, allocations: 11.98 kB / 466.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.1099, allocations: 4 kB / 466.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.354e-05/0.11, allocations: 4 kB / 466.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.11, allocations: 11.92 kB / 466.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.11, allocations: 0 / 466.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-06/0.1101, allocations: 0 / 466.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.1101, allocations: 4 kB / 466.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.1101, allocations: 29.7 kB / 466.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 3.773e-05/0.1101, allocations: 7.984 kB / 466.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1102, allocations: 0 / 466.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1102, allocations: 7.938 kB / 466.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.1102, allocations: 0 / 466.7 MB, free: 12.49 MB / 302.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.0003476/0.1105, allocations: 323.5 kB / 467 MB, free: 12.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1106, allocations: 8.031 kB / 467 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.1106, allocations: 7.953 kB / 467 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1108, allocations: 167.1 kB / 467.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1108, allocations: 3.938 kB / 467.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1108, allocations: 4 kB / 467.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.508e-05/0.1109, allocations: 43.41 kB / 467.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1109, allocations: 4 kB / 467.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.1109, allocations: 0 / 467.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1109, allocations: 0 / 467.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.138e-05/0.111, allocations: 11.89 kB / 467.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.1113, allocations: 162.6 kB / 467.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.1114, allocations: 37.19 kB / 467.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.1114, allocations: 4 kB / 467.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1114, allocations: 42.62 kB / 467.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1114, allocations: 0 / 467.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001278/0.1115, allocations: 37.69 kB / 467.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.1116, allocations: 84.98 kB / 467.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.1117, allocations: 105.8 kB / 467.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1117, allocations: 25.95 kB / 467.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.1118, allocations: 88.14 kB / 467.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1118, allocations: 7.812 kB / 467.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.1118, allocations: 4 kB / 467.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1119, allocations: 318.8 kB / 468.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.1119, allocations: 8 kB / 468.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.112, allocations: 27.44 kB / 468.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.337e-05/0.112, allocations: 8 kB / 468.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.112, allocations: 0 / 468.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.226e-05/0.1121, allocations: 61.56 kB / 468.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1121, allocations: 8 kB / 468.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1121, allocations: 0 / 468.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1121, allocations: 0 / 468.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.806e-05/0.1122, allocations: 8.125 kB / 468.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1122, allocations: 7.984 kB / 468.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/0.1122, allocations: 4 kB / 468.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1123, allocations: 0 / 468.3 MB, free: 10.65 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.201e-05/0.1123, allocations: 117.8 kB / 468.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.1124, allocations: 0 / 468.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.1124, allocations: 3.406 kB / 468.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1124, allocations: 8 kB / 468.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1124, allocations: 3.938 kB / 468.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1124, allocations: 3.984 kB / 468.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.1126, allocations: 169.6 kB / 468.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.1126, allocations: 0 / 468.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.1126, allocations: 7.938 kB / 468.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1126, allocations: 0 / 468.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1126, allocations: 0 / 468.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1127, allocations: 0 / 468.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1127, allocations: 4 kB / 468.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.1128, allocations: 95.56 kB / 468.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.1128, allocations: 81.05 kB / 468.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1129, allocations: 4.031 kB / 468.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.613e-05/0.1129, allocations: 0 / 468.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.1129, allocations: 7.922 kB / 468.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.1129, allocations: 3.938 kB / 468.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.761e-05/0.113, allocations: 83.28 kB / 468.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.113, allocations: 0 / 468.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001882/0.1132, allocations: 8.094 kB / 468.9 MB, free: 9.957 MB / 302.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 (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 7.545e-05/0.1133, allocations: 95.73 kB / 469 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.386e-05/0.1133, allocations: 23.92 kB / 469 MB, free: 9.828 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1134, allocations: 0 / 469 MB, free: 9.828 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.1134, allocations: 4 kB / 469 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.599e-05/0.1135, allocations: 0 / 469 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.1137, allocations: 146.1 kB / 469.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.114, allocations: 0.6848 MB / 469.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.781e-05/0.114, allocations: 0 / 469.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.114, allocations: 7.438 kB / 469.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.114, allocations: 0 / 469.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of Templates: time 0.001868/0.1159, allocations: 270.3 kB / 470.1 MB, free: 8.672 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Classes.TestVector2D.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: