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.001122/0.001121, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.353/1.353, allocations: 222.9 MB / 240 MB, free: 4.547 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.001472/0.001472, allocations: 192.5 kB / 290.3 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03523/0.03523, allocations: 8.796 MB / 349.3 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 80.34 kB / 412.5 MB, free: 41.69 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.09223, allocations: 51.56 MB / 464.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.00222/0.09448, allocations: 1.196 MB / 465.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001841/0.09468, allocations: 59.77 kB / 465.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.09473, allocations: 8 kB / 465.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.001e-05/0.09482, allocations: 3.938 kB / 465.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.708e-05/0.09492, allocations: 4 kB / 465.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.067e-05/0.09496, allocations: 15.91 kB / 465.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.365e-05/0.09502, allocations: 12 kB / 465.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.09506, allocations: 3.938 kB / 465.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.993e-05/0.09509, allocations: 7.984 kB / 465.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.09514, allocations: 11.94 kB / 465.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.09516, allocations: 0 / 465.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-06/0.09517, allocations: 0 / 465.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.09519, allocations: 7.938 kB / 465.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.09522, allocations: 7.984 kB / 465.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.855e-05/0.09528, allocations: 15.92 kB / 465.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09529, allocations: 0 / 465.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.0953, allocations: 0 / 465.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.09531, allocations: 0 / 465.4 MB, free: 12.21 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.0003206/0.09564, allocations: 319.5 kB / 465.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.09567, allocations: 8.031 kB / 465.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.09571, allocations: 0.9375 kB / 465.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.09584, allocations: 176.3 kB / 465.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.09586, allocations: 4.359 kB / 465.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.09589, allocations: 384 / 465.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.542e-05/0.09597, allocations: 39.98 kB / 466 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.09599, allocations: 8.125 kB / 466 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.096, allocations: 3.938 kB / 466 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.09601, allocations: 3.938 kB / 466 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.09603, allocations: 4 kB / 466 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.0963, allocations: 174.5 kB / 466.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.353e-05/0.09636, allocations: 37.12 kB / 466.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.09639, allocations: 17.84 kB / 466.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.0964, allocations: 3.984 kB / 466.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.09643, allocations: 34.56 kB / 466.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.09643, allocations: 0 / 466.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001206/0.09656, allocations: 49.56 kB / 466.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.0966, allocations: 85.05 kB / 466.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.09669, allocations: 93.86 kB / 466.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.0967, allocations: 25.7 kB / 466.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.09674, allocations: 92.12 kB / 466.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.09676, allocations: 4.156 kB / 466.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.09681, allocations: 21.72 kB / 466.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.09691, allocations: 310.8 kB / 466.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.09693, allocations: 11.98 kB / 466.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.392e-05/0.09696, allocations: 27.38 kB / 467 MB, free: 10.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/0.09701, allocations: 43.38 kB / 467 MB, free: 10.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.09702, allocations: 0 / 467 MB, free: 10.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.715e-05/0.09711, allocations: 57.62 kB / 467.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.09713, allocations: 4 kB / 467.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.09714, allocations: 7.938 kB / 467.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.09716, allocations: 0 / 467.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.61e-05/0.0972, allocations: 8.125 kB / 467.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.09721, allocations: 8 kB / 467.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.09725, allocations: 4 kB / 467.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.09726, allocations: 7.984 kB / 467.1 MB, free: 10.27 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.18e-05/0.09733, allocations: 117.7 kB / 467.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.09735, allocations: 7.906 kB / 467.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.09737, allocations: 11.06 kB / 467.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.09738, allocations: 0 / 467.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.09738, allocations: 0 / 467.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.09739, allocations: 0 / 467.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.09754, allocations: 157.7 kB / 467.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.09755, allocations: 0 / 467.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.09759, allocations: 7.984 kB / 467.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.0976, allocations: 0 / 467.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.09762, allocations: 7.938 kB / 467.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.09762, allocations: 0 / 467.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.09763, allocations: 0 / 467.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.09774, allocations: 81.92 kB / 467.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.09778, allocations: 85.08 kB / 467.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.0978, allocations: 3.938 kB / 467.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.637e-05/0.09783, allocations: 0 / 467.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.09785, allocations: 3.938 kB / 467.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.09786, allocations: 4 kB / 467.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.485e-05/0.09791, allocations: 87.27 kB / 467.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09791, allocations: 0 / 467.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001901/0.09811, allocations: 4 kB / 467.7 MB, free: 9.605 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.417e-05/0.09819, allocations: 95.34 kB / 467.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.651e-05/0.09827, allocations: 19.94 kB / 467.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.09828, allocations: 0 / 467.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.0983, allocations: 7.984 kB / 467.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.09844, allocations: 6.188 kB / 467.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.0987, allocations: 151.9 kB / 467.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.09894, allocations: 0.6768 MB / 468.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.986e-05/0.09896, allocations: 4 kB / 468.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.09898, allocations: 7.438 kB / 468.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09899, allocations: 0 / 468.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of Templates: time 0.001958/0.101, allocations: 293.4 kB / 468.9 MB, free: 8.293 MB / 302.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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1)