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.001272/0.001272, allocations: 113.3 kB / 16.41 MB, free: 6.457 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.406/1.406, allocations: 222.9 MB / 240.1 MB, free: 4.523 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.001727/0.001727, allocations: 184.5 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03389/0.03389, allocations: 8.795 MB / 349.3 MB, free: 4.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 83.88 kB / 464.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1353, allocations: 51.57 MB / 0.504 GB, free: 9.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002763/0.1381, allocations: 1.2 MB / 0.5052 GB, free: 8.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002757/0.1384, allocations: 59.77 kB / 0.5053 GB, free: 8.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.1385, allocations: 8 kB / 0.5053 GB, free: 8.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.1386, allocations: 7.938 kB / 0.5053 GB, free: 8.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.1387, allocations: 7.938 kB / 0.5053 GB, free: 8.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.625e-05/0.1388, allocations: 3.984 kB / 0.5053 GB, free: 8.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.1388, allocations: 23.86 kB / 0.5053 GB, free: 8.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.1389, allocations: 0 / 0.5053 GB, free: 8.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.805e-05/0.1389, allocations: 8 kB / 0.5053 GB, free: 8.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.139, allocations: 11.92 kB / 0.5053 GB, free: 8.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.139, allocations: 0 / 0.5053 GB, free: 8.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.139, allocations: 0 / 0.5053 GB, free: 8.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.1391, allocations: 4 kB / 0.5053 GB, free: 8.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.1391, allocations: 11.94 kB / 0.5054 GB, free: 8.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.498e-05/0.1392, allocations: 11.97 kB / 0.5054 GB, free: 8.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1392, allocations: 0 / 0.5054 GB, free: 8.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1392, allocations: 0 / 0.5054 GB, free: 8.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1392, allocations: 0 / 0.5054 GB, free: 8.184 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.0004401/0.1396, allocations: 323.5 kB / 0.5057 GB, free: 7.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1397, allocations: 8.031 kB / 0.5057 GB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.1397, allocations: 4.938 kB / 0.5057 GB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.1399, allocations: 168.3 kB / 0.5058 GB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1399, allocations: 384 / 0.5058 GB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.14, allocations: 4.375 kB / 0.5058 GB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1401, allocations: 51.91 kB / 0.5059 GB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1401, allocations: 192 / 0.5059 GB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1401, allocations: 7.922 kB / 0.5059 GB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1401, allocations: 0 / 0.5059 GB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.1401, allocations: 4 kB / 0.5059 GB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.1405, allocations: 162.6 kB / 0.5061 GB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.129e-05/0.1406, allocations: 41.12 kB / 0.5061 GB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.1406, allocations: 17.78 kB / 0.5061 GB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.1406, allocations: 3.984 kB / 0.5061 GB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1406, allocations: 38.5 kB / 0.5062 GB, free: 7.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.1406, allocations: 0 / 0.5062 GB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.00015/0.1408, allocations: 49.55 kB / 0.5062 GB, free: 7.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.1409, allocations: 81.05 kB / 0.5063 GB, free: 7.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.141, allocations: 105.8 kB / 0.5064 GB, free: 6.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.141, allocations: 25.7 kB / 0.5064 GB, free: 6.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.141, allocations: 80.14 kB / 0.5065 GB, free: 6.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1411, allocations: 12.09 kB / 0.5065 GB, free: 6.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.1411, allocations: 21.7 kB / 0.5065 GB, free: 6.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1412, allocations: 314.8 kB / 0.5068 GB, free: 6.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.1413, allocations: 4 kB / 0.5068 GB, free: 6.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.1413, allocations: 31.42 kB / 0.5069 GB, free: 6.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/0.1414, allocations: 43.38 kB / 0.5069 GB, free: 6.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1414, allocations: 4 kB / 0.5069 GB, free: 6.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.833e-05/0.1415, allocations: 57.62 kB / 0.507 GB, free: 6.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1415, allocations: 5.562 kB / 0.507 GB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.1415, allocations: 7.938 kB / 0.507 GB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1415, allocations: 0 / 0.507 GB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.222e-05/0.1416, allocations: 12.06 kB / 0.507 GB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.1416, allocations: 4 kB / 0.507 GB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.1416, allocations: 0 / 0.507 GB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.1417, allocations: 4 kB / 0.507 GB, free: 6.246 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.871e-05/0.1417, allocations: 113.8 kB / 0.5071 GB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.1418, allocations: 7.906 kB / 0.5071 GB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.1418, allocations: 11.05 kB / 0.5071 GB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1418, allocations: 0 / 0.5071 GB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1418, allocations: 0 / 0.5071 GB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1418, allocations: 4 kB / 0.5071 GB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.142, allocations: 157.7 kB / 0.5073 GB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.142, allocations: 4 kB / 0.5073 GB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.142, allocations: 0 / 0.5073 GB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1421, allocations: 4 kB / 0.5073 GB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1421, allocations: 3.938 kB / 0.5073 GB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1421, allocations: 0 / 0.5073 GB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1421, allocations: 7.922 kB / 0.5073 GB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.1422, allocations: 81.97 kB / 0.5074 GB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.1423, allocations: 81.09 kB / 0.5074 GB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1423, allocations: 3.938 kB / 0.5074 GB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.342e-05/0.1423, allocations: 0 / 0.5074 GB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.1424, allocations: 4 kB / 0.5074 GB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.1424, allocations: 0 / 0.5074 GB, free: 5.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.89e-05/0.1424, allocations: 83.56 kB / 0.5075 GB, free: 5.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1424, allocations: 0 / 0.5075 GB, free: 5.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001931/0.1426, allocations: 4 kB / 0.5075 GB, free: 5.586 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 0.0001202/0.1428, allocations: 99.33 kB / 0.5076 GB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.1429, allocations: 19.94 kB / 0.5076 GB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1429, allocations: 0 / 0.5076 GB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.461e-05/0.1429, allocations: 7.938 kB / 0.5077 GB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.1431, allocations: 3.938 kB / 0.5077 GB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.1434, allocations: 169.5 kB / 0.5078 GB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1437, allocations: 0.6768 MB / 0.5085 GB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.1438, allocations: 11.44 kB / 0.5085 GB, free: 4.531 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1438, allocations: 0 / 0.5085 GB, free: 4.531 MB / 350.1 MB Notification: Performance of Templates: time 0.002193/0.146, allocations: 0.5238 MB / 0.509 GB, free: 4.004 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)