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.001734/0.001734, allocations: 104.1 kB / 16.35 MB, free: 6.289 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.509/1.509, allocations: 222.9 MB / 240 MB, free: 4.379 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.001253/0.001253, allocations: 192.4 kB / 290.3 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03419/0.03419, allocations: 8.804 MB / 349.3 MB, free: 4.578 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 75.69 kB / 412.5 MB, free: 41.68 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1182, allocations: 51.57 MB / 464.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.00257/0.1208, allocations: 1.196 MB / 465.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002291/0.121, allocations: 63.7 kB / 465.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.1211, allocations: 0 / 465.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.245e-05/0.1212, allocations: 8 kB / 465.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.1213, allocations: 7.938 kB / 465.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.014e-05/0.1214, allocations: 4 kB / 465.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.1214, allocations: 23.91 kB / 465.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.1215, allocations: 3.938 kB / 465.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.235e-05/0.1215, allocations: 4 kB / 465.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.1216, allocations: 7.984 kB / 465.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1216, allocations: 4 kB / 465.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.1216, allocations: 0 / 465.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.1216, allocations: 7.938 kB / 465.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.1217, allocations: 4 kB / 465.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.29e-05/0.1217, allocations: 15.91 kB / 465.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1217, allocations: 0 / 465.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1218, allocations: 0 / 465.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1218, allocations: 0 / 465.4 MB, free: 12.16 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.0003828/0.1221, allocations: 327.4 kB / 465.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1222, allocations: 12.03 kB / 465.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.1222, allocations: 0.9375 kB / 465.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1224, allocations: 168.3 kB / 465.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1224, allocations: 384 / 465.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.1224, allocations: 4.375 kB / 465.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.825e-05/0.1225, allocations: 43.97 kB / 466 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1225, allocations: 4.188 kB / 466 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1226, allocations: 3.938 kB / 466 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1226, allocations: 4 kB / 466 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.1226, allocations: 3.938 kB / 466 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.1229, allocations: 170.5 kB / 466.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.922e-05/0.1229, allocations: 33.19 kB / 466.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.123, allocations: 21.77 kB / 466.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.123, allocations: 4 kB / 466.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.123, allocations: 38.56 kB / 466.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.123, allocations: 0 / 466.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001483/0.1232, allocations: 45.58 kB / 466.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.1232, allocations: 85.03 kB / 466.4 MB, free: 11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.1233, allocations: 101.8 kB / 466.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1234, allocations: 25.95 kB / 466.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.1234, allocations: 92.14 kB / 466.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.1234, allocations: 7.891 kB / 466.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.1235, allocations: 17.72 kB / 466.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1236, allocations: 310.8 kB / 466.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.1236, allocations: 7.938 kB / 466.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/0.1237, allocations: 31.42 kB / 467 MB, free: 10.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.1237, allocations: 39.38 kB / 467 MB, free: 10.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1237, allocations: 0 / 467 MB, free: 10.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.928e-05/0.1238, allocations: 65.56 kB / 467.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.1239, allocations: 4 kB / 467.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.1239, allocations: 12.06 kB / 467.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1239, allocations: 0 / 467.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.988e-05/0.124, allocations: 4 kB / 467.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.124, allocations: 4 kB / 467.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.124, allocations: 0 / 467.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.124, allocations: 4 kB / 467.1 MB, free: 10.22 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 7.283e-05/0.1241, allocations: 117.8 kB / 467.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.1241, allocations: 7.906 kB / 467.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.1242, allocations: 11.05 kB / 467.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1242, allocations: 4 kB / 467.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1242, allocations: 0 / 467.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1242, allocations: 0 / 467.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1244, allocations: 157.7 kB / 467.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1244, allocations: 0 / 467.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.1244, allocations: 7.938 kB / 467.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1244, allocations: 0 / 467.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1245, allocations: 11.92 kB / 467.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1245, allocations: 0 / 467.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1245, allocations: 0 / 467.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.1246, allocations: 77.98 kB / 467.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.1247, allocations: 81.14 kB / 467.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.1247, allocations: 3.938 kB / 467.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.779e-05/0.1247, allocations: 0 / 467.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.1248, allocations: 3.938 kB / 467.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.1248, allocations: 7.938 kB / 467.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.356e-05/0.1248, allocations: 87.36 kB / 467.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1249, allocations: 4 kB / 467.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002013/0.1251, allocations: 4 kB / 467.7 MB, free: 9.543 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 9.74e-05/0.1252, allocations: 91.25 kB / 467.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.1253, allocations: 19.94 kB / 467.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1253, allocations: 0 / 467.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.128e-05/0.1253, allocations: 4 kB / 467.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.1255, allocations: 6.562 kB / 467.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.1258, allocations: 151.5 kB / 467.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1262, allocations: 0.6806 MB / 468.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.341e-05/0.1262, allocations: 4 kB / 468.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.1262, allocations: 7.438 kB / 468.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1262, allocations: 0 / 468.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of Templates: time 0.002573/0.1288, allocations: 293 kB / 468.9 MB, free: 8.234 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 cvode -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1)