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.009328/0.009329, allocations: 100.5 kB / 15.87 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.32/2.32, allocations: 222.9 MB / 239.5 MB, free: 4.844 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.002046/0.002046, allocations: 188.5 kB / 289.8 MB, free: 2.582 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05891/0.05891, allocations: 8.793 MB / 348.7 MB, free: 4.984 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 77.19 kB / 411 MB, free: 42.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1521, allocations: 51.57 MB / 462.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.004335/0.1564, allocations: 1.259 MB / 463.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003385/0.1568, allocations: 59.78 kB / 463.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.1569, allocations: 0 / 463.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.1571, allocations: 4 kB / 463.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.1573, allocations: 15.92 kB / 464 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.603e-05/0.1574, allocations: 3.938 kB / 464 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.055e-05/0.1575, allocations: 11.83 kB / 464 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.1575, allocations: 4 kB / 464 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.1576, allocations: 4 kB / 464 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.269e-05/0.1577, allocations: 15.91 kB / 464 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1577, allocations: 0 / 464 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.1577, allocations: 0 / 464 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.1578, allocations: 0 / 464 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.1578, allocations: 15.88 kB / 464 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.023e-05/0.1579, allocations: 7.984 kB / 464 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1579, allocations: 4 kB / 464 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1579, allocations: 0 / 464 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1579, allocations: 0 / 464 MB, free: 13.64 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.0005946/0.1586, allocations: 327.5 kB / 464.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.1586, allocations: 8.031 kB / 464.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.1587, allocations: 0.9375 kB / 464.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.159, allocations: 168.6 kB / 464.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.159, allocations: 384 / 464.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.159, allocations: 384 / 464.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1592, allocations: 51.97 kB / 464.6 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1592, allocations: 192 / 464.6 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.1593, allocations: 7.938 kB / 464.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1593, allocations: 0 / 464.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.1593, allocations: 3.938 kB / 464.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.1598, allocations: 166.5 kB / 464.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.1599, allocations: 53.11 kB / 464.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.16, allocations: 9.844 kB / 464.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.16, allocations: 4 kB / 464.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.1601, allocations: 30.56 kB / 464.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 2.023e-06/0.1601, allocations: 0 / 464.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002515/0.1603, allocations: 57.56 kB / 464.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.1604, allocations: 77.11 kB / 465 MB, free: 12.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.1606, allocations: 97.86 kB / 465.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1606, allocations: 25.7 kB / 465.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.1607, allocations: 88.12 kB / 465.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.1608, allocations: 7.906 kB / 465.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.1608, allocations: 13.72 kB / 465.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.161, allocations: 319.1 kB / 465.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.1611, allocations: 4 kB / 465.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.085e-05/0.1612, allocations: 35.55 kB / 465.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.764e-05/0.1613, allocations: 35.44 kB / 465.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.1613, allocations: 11.88 kB / 465.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001802/0.1615, allocations: 65.66 kB / 465.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.1615, allocations: 4 kB / 465.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.1616, allocations: 7.922 kB / 465.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.1616, allocations: 4 kB / 465.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.1617, allocations: 4 kB / 465.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.1617, allocations: 4 kB / 465.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.692e-05/0.1618, allocations: 0 / 465.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1618, allocations: 4.125 kB / 465.7 MB, free: 11.71 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 0.0001362/0.162, allocations: 121.8 kB / 465.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.162, allocations: 7.844 kB / 465.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.162, allocations: 11.06 kB / 465.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1621, allocations: 0 / 465.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.1621, allocations: 0 / 465.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1621, allocations: 0 / 465.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.1624, allocations: 161.7 kB / 466 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1625, allocations: 0 / 466 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.949e-05/0.1626, allocations: 11.98 kB / 466 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1626, allocations: 0 / 466 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.1626, allocations: 7.938 kB / 466 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1626, allocations: 0 / 466 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1626, allocations: 0 / 466 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.1628, allocations: 73.98 kB / 466.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.1629, allocations: 81.14 kB / 466.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.163, allocations: 11.97 kB / 466.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.384e-05/0.163, allocations: 0 / 466.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.1631, allocations: 0 / 466.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1631, allocations: 4 kB / 466.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.911e-05/0.1632, allocations: 83.27 kB / 466.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1632, allocations: 0 / 466.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000373/0.1636, allocations: 8 kB / 466.3 MB, free: 11.04 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 0.0001367/0.1637, allocations: 91.25 kB / 466.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.1639, allocations: 19.94 kB / 466.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1639, allocations: 0 / 466.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.1639, allocations: 4 kB / 466.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.1642, allocations: 7.984 kB / 466.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.1648, allocations: 171.4 kB / 466.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.1653, allocations: 0.6809 MB / 467.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.1654, allocations: 11.38 kB / 467.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1654, allocations: 0 / 467.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of Templates: time 0.003005/0.1684, allocations: 0.5079 MB / 467.7 MB, free: 9.473 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 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1)