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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03928/0.03928, allocations: 8.794 MB / 25.53 MB, free: 3.754 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 251.3 MB, free: 7.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 100.7 kB / 303.6 MB, free: 14.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 366 MB, free: 176 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.191, allocations: 51.55 MB / 417.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.001957/0.193, allocations: 1.267 MB / 418.8 MB, free: 19.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001658/0.1931, allocations: 55.83 kB / 418.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/0.1932, allocations: 0 / 418.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.793e-05/0.1933, allocations: 7.938 kB / 418.9 MB, free: 19.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.1934, allocations: 8 kB / 418.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.226e-05/0.1934, allocations: 3.984 kB / 418.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.501e-05/0.1935, allocations: 11.94 kB / 418.9 MB, free: 19.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.1935, allocations: 8 kB / 418.9 MB, free: 19.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.1935, allocations: 7.938 kB / 418.9 MB, free: 19.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.207e-05/0.1936, allocations: 7.969 kB / 418.9 MB, free: 19.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1936, allocations: 4 kB / 418.9 MB, free: 19.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-06/0.1936, allocations: 0 / 418.9 MB, free: 19.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.1936, allocations: 0 / 418.9 MB, free: 19.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.1936, allocations: 11.94 kB / 418.9 MB, free: 19.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.816e-05/0.1937, allocations: 7.922 kB / 418.9 MB, free: 19.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1937, allocations: 0 / 418.9 MB, free: 19.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1937, allocations: 4 kB / 418.9 MB, free: 19.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.1937, allocations: 3.938 kB / 418.9 MB, free: 19.5 MB / 298.7 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.0002534/0.194, allocations: 333.6 kB / 419.3 MB, free: 19.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.194, allocations: 12.03 kB / 419.3 MB, free: 19.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.194, allocations: 0.9375 kB / 419.3 MB, free: 19.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.995e-05/0.1941, allocations: 164.4 kB / 419.4 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1941, allocations: 384 / 419.4 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.1942, allocations: 384 / 419.4 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.814e-05/0.1942, allocations: 47.97 kB / 419.5 MB, free: 18.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1942, allocations: 4.188 kB / 419.5 MB, free: 18.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.1943, allocations: 3.938 kB / 419.5 MB, free: 18.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1943, allocations: 0 / 419.5 MB, free: 18.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.453e-05/0.1943, allocations: 7.938 kB / 419.5 MB, free: 18.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.1945, allocations: 162.6 kB / 419.7 MB, free: 18.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.563e-05/0.1945, allocations: 37.22 kB / 419.7 MB, free: 18.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.1946, allocations: 17.66 kB / 419.7 MB, free: 18.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.1946, allocations: 3.984 kB / 419.7 MB, free: 18.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.094e-05/0.1946, allocations: 34.62 kB / 419.7 MB, free: 18.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.1946, allocations: 0 / 419.7 MB, free: 18.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001017/0.1947, allocations: 53.47 kB / 419.8 MB, free: 18.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.1947, allocations: 85.09 kB / 419.9 MB, free: 18.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.181e-05/0.1948, allocations: 102.1 kB / 420 MB, free: 18.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.651e-06/0.1948, allocations: 25.7 kB / 420 MB, free: 18.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.55e-05/0.1948, allocations: 84.12 kB / 420.1 MB, free: 18.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.1948, allocations: 15.84 kB / 420.1 MB, free: 18.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.1949, allocations: 13.7 kB / 420.1 MB, free: 18.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.838e-05/0.1949, allocations: 318.8 kB / 420.4 MB, free: 17.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.1949, allocations: 7.938 kB / 420.4 MB, free: 17.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.195, allocations: 35.42 kB / 420.5 MB, free: 17.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.195, allocations: 35.38 kB / 420.5 MB, free: 17.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.195, allocations: 0 / 420.5 MB, free: 17.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.514e-05/0.1951, allocations: 65.62 kB / 420.6 MB, free: 17.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.1951, allocations: 8 kB / 420.6 MB, free: 17.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1951, allocations: 3.938 kB / 420.6 MB, free: 17.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1951, allocations: 0 / 420.6 MB, free: 17.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.296e-05/0.1951, allocations: 8 kB / 420.6 MB, free: 17.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1952, allocations: 3.984 kB / 420.6 MB, free: 17.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.1952, allocations: 4 kB / 420.6 MB, free: 17.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.1952, allocations: 0 / 420.6 MB, free: 17.57 MB / 298.7 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 4.065e-05/0.1952, allocations: 118.3 kB / 420.7 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.1953, allocations: 7.969 kB / 420.7 MB, free: 17.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.562e-05/0.1953, allocations: 11.05 kB / 420.7 MB, free: 17.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1953, allocations: 8 kB / 420.7 MB, free: 17.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1953, allocations: 0 / 420.7 MB, free: 17.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1953, allocations: 3.938 kB / 420.7 MB, free: 17.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.987e-05/0.1954, allocations: 161.6 kB / 420.9 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1954, allocations: 0 / 420.9 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.1955, allocations: 4 kB / 420.9 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1955, allocations: 0 / 420.9 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1955, allocations: 3.938 kB / 420.9 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1955, allocations: 0 / 420.9 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1955, allocations: 11.98 kB / 420.9 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.196, allocations: 0.8926 MB / 421.8 MB, free: 16.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.196, allocations: 85.03 kB / 421.9 MB, free: 16.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-06/0.196, allocations: 4.031 kB / 421.9 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.196, allocations: 0 / 421.9 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.1961, allocations: 0 / 421.9 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-06/0.1961, allocations: 288 / 421.9 MB, free: 16.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.197e-05/0.1961, allocations: 87.27 kB / 422 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1961, allocations: 4 kB / 422 MB, free: 15.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.1963, allocations: 4 kB / 422 MB, free: 15.95 MB / 298.7 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 6.899e-05/0.1964, allocations: 103.3 kB / 422.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.68e-05/0.1965, allocations: 19.94 kB / 422.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1965, allocations: 3.938 kB / 422.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.396e-06/0.1965, allocations: 4 kB / 422.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.1966, allocations: 8.797 kB / 422.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.1969, allocations: 256.4 kB / 422.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.033e-05/0.197, allocations: 0.677 MB / 423.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.197, allocations: 0 / 423.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.197, allocations: 11.44 kB / 423.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.197, allocations: 0 / 423.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of Templates: time 0.001678/0.1987, allocations: 309 kB / 423.4 MB, free: 14.5 MB / 298.7 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)