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.001675/0.001675, allocations: 105.4 kB / 16.41 MB, free: 6.52 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.334/1.334, allocations: 222.9 MB / 240.1 MB, free: 4.336 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.001325/0.001325, allocations: 192.5 kB / 290.4 MB, free: 2.059 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0335/0.03351, allocations: 8.795 MB / 349.3 MB, free: 4.523 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 83.88 kB / 464.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09227/0.09373, allocations: 51.56 MB / 0.504 GB, free: 9.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002169/0.09594, allocations: 1.215 MB / 0.5052 GB, free: 8.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001944/0.09616, allocations: 55.78 kB / 0.5053 GB, free: 8.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.0962, allocations: 4 kB / 0.5053 GB, free: 8.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.765e-05/0.09629, allocations: 4 kB / 0.5053 GB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.09642, allocations: 11.92 kB / 0.5053 GB, free: 8.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.866e-05/0.09645, allocations: 4 kB / 0.5053 GB, free: 8.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.09651, allocations: 19.88 kB / 0.5053 GB, free: 8.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.09656, allocations: 3.984 kB / 0.5053 GB, free: 8.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.496e-05/0.09659, allocations: 8 kB / 0.5053 GB, free: 8.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.881e-05/0.09665, allocations: 11.92 kB / 0.5053 GB, free: 8.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.09667, allocations: 0 / 0.5053 GB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-06/0.09668, allocations: 0 / 0.5053 GB, free: 8.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.0967, allocations: 0 / 0.5053 GB, free: 8.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.09672, allocations: 11.94 kB / 0.5053 GB, free: 8.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.889e-05/0.09679, allocations: 11.98 kB / 0.5054 GB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.0968, allocations: 0 / 0.5054 GB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.09681, allocations: 0 / 0.5054 GB, free: 8.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.09682, allocations: 0 / 0.5054 GB, free: 8.016 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.0003467/0.09717, allocations: 323.5 kB / 0.5057 GB, free: 7.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.09721, allocations: 8.031 kB / 0.5057 GB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.09724, allocations: 4.938 kB / 0.5057 GB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.09738, allocations: 172.2 kB / 0.5058 GB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.09739, allocations: 384 / 0.5058 GB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.09742, allocations: 8.375 kB / 0.5059 GB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.052e-05/0.0975, allocations: 43.98 kB / 0.5059 GB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.09752, allocations: 192 / 0.5059 GB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.09753, allocations: 3.938 kB / 0.5059 GB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.09754, allocations: 0 / 0.5059 GB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.09756, allocations: 3.938 kB / 0.5059 GB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.09782, allocations: 170.5 kB / 0.5061 GB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.146e-05/0.09788, allocations: 37.19 kB / 0.5061 GB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.09792, allocations: 17.78 kB / 0.5061 GB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.09794, allocations: 3.984 kB / 0.5061 GB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.09796, allocations: 34.5 kB / 0.5062 GB, free: 7.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.09797, allocations: 0 / 0.5062 GB, free: 7.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001342/0.09811, allocations: 65.41 kB / 0.5062 GB, free: 6.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.09816, allocations: 77.11 kB / 0.5063 GB, free: 6.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.09825, allocations: 101.8 kB / 0.5064 GB, free: 6.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.09827, allocations: 29.7 kB / 0.5064 GB, free: 6.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.0983, allocations: 80.14 kB / 0.5065 GB, free: 6.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.09833, allocations: 11.89 kB / 0.5065 GB, free: 6.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.09837, allocations: 13.72 kB / 0.5065 GB, free: 6.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.09849, allocations: 323.1 kB / 0.5068 GB, free: 6.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.09851, allocations: 4 kB / 0.5068 GB, free: 6.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.09854, allocations: 27.44 kB / 0.5069 GB, free: 6.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.007e-05/0.09859, allocations: 39.38 kB / 0.5069 GB, free: 6.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.0986, allocations: 4 kB / 0.5069 GB, free: 6.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.736e-05/0.0987, allocations: 61.56 kB / 0.507 GB, free: 6.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.09873, allocations: 6.031 kB / 0.507 GB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.09874, allocations: 7.938 kB / 0.507 GB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.09875, allocations: 0 / 0.507 GB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.733e-05/0.0988, allocations: 7.984 kB / 0.507 GB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.09881, allocations: 4 kB / 0.507 GB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.09884, allocations: 4.125 kB / 0.507 GB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.09886, allocations: 4 kB / 0.507 GB, free: 6.074 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 6.494e-05/0.09893, allocations: 113.8 kB / 0.5071 GB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.09894, allocations: 11.91 kB / 0.5071 GB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.941e-05/0.09897, allocations: 7.062 kB / 0.5071 GB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.09898, allocations: 0 / 0.5071 GB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.09898, allocations: 0 / 0.5071 GB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.09899, allocations: 4 kB / 0.5071 GB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.09914, allocations: 157.7 kB / 0.5073 GB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.09915, allocations: 4 kB / 0.5073 GB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.09919, allocations: 4 kB / 0.5073 GB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.09921, allocations: 4 kB / 0.5073 GB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.09922, allocations: 7.875 kB / 0.5073 GB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.09923, allocations: 0 / 0.5073 GB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.09924, allocations: 3.938 kB / 0.5073 GB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.09936, allocations: 73.98 kB / 0.5074 GB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.0994, allocations: 85.23 kB / 0.5074 GB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.09942, allocations: 3.938 kB / 0.5074 GB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.408e-05/0.09945, allocations: 0 / 0.5074 GB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.09947, allocations: 7.984 kB / 0.5075 GB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.09948, allocations: 0 / 0.5075 GB, free: 5.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.09953, allocations: 79.28 kB / 0.5075 GB, free: 5.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.09953, allocations: 0 / 0.5075 GB, free: 5.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002027/0.09974, allocations: 8 kB / 0.5075 GB, free: 5.41 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 8.897e-05/0.09984, allocations: 103.1 kB / 0.5076 GB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.978e-05/0.09993, allocations: 19.98 kB / 0.5077 GB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.09994, allocations: 0 / 0.5077 GB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.09996, allocations: 7.938 kB / 0.5077 GB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.1001, allocations: 0 / 0.5077 GB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.1004, allocations: 161.5 kB / 0.5078 GB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.1007, allocations: 0.6844 MB / 0.5085 GB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.1007, allocations: 11.44 kB / 0.5085 GB, free: 4.355 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1007, allocations: 0 / 0.5085 GB, free: 4.355 MB / 350.1 MB Notification: Performance of Templates: time 0.00175/0.1025, allocations: 0.5164 MB / 0.509 GB, free: 3.836 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)