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.007315/0.007315, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.451/1.451, allocations: 222.9 MB / 239.4 MB, free: 4.578 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.001629/0.001629, allocations: 192.5 kB / 289.7 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03379/0.03379, allocations: 8.794 MB / 348.6 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 75.88 kB / 463.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1221, allocations: 51.57 MB / 0.5034 GB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.003853/0.1261, allocations: 1.201 MB / 0.5045 GB, free: 8.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003674/0.1265, allocations: 59.77 kB / 0.5046 GB, free: 8.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.1266, allocations: 0 / 0.5046 GB, free: 8.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.1268, allocations: 4 kB / 0.5046 GB, free: 8.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.127, allocations: 7.938 kB / 0.5046 GB, free: 8.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.086e-05/0.1271, allocations: 0 / 0.5046 GB, free: 8.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.1272, allocations: 31.84 kB / 0.5046 GB, free: 8.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.354e-05/0.1273, allocations: 0 / 0.5046 GB, free: 8.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.036e-05/0.1274, allocations: 4 kB / 0.5046 GB, free: 8.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.092e-05/0.1275, allocations: 11.92 kB / 0.5047 GB, free: 8.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.1275, allocations: 8 kB / 0.5047 GB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.1275, allocations: 0 / 0.5047 GB, free: 8.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.1276, allocations: 0 / 0.5047 GB, free: 8.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.1276, allocations: 4 kB / 0.5047 GB, free: 8.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1278, allocations: 23.84 kB / 0.5047 GB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1278, allocations: 0 / 0.5047 GB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1278, allocations: 0 / 0.5047 GB, free: 8.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.1278, allocations: 0 / 0.5047 GB, free: 8.188 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.0006948/0.1285, allocations: 319.5 kB / 0.505 GB, free: 7.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.1286, allocations: 8.031 kB / 0.505 GB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/0.1286, allocations: 8.938 kB / 0.505 GB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.1289, allocations: 168.3 kB / 0.5052 GB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.129, allocations: 384 / 0.5052 GB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.129, allocations: 4.375 kB / 0.5052 GB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1292, allocations: 47.97 kB / 0.5052 GB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1292, allocations: 192 / 0.5052 GB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.1292, allocations: 3.938 kB / 0.5052 GB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1292, allocations: 4 kB / 0.5052 GB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/0.1293, allocations: 7.938 kB / 0.5052 GB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.1298, allocations: 162.6 kB / 0.5054 GB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.128e-05/0.1299, allocations: 37.19 kB / 0.5054 GB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.407e-05/0.13, allocations: 17.7 kB / 0.5054 GB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.13, allocations: 8 kB / 0.5055 GB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.13, allocations: 34.56 kB / 0.5055 GB, free: 7.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.13, allocations: 0 / 0.5055 GB, free: 7.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002316/0.1303, allocations: 49.48 kB / 0.5055 GB, free: 7.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.1304, allocations: 89.03 kB / 0.5056 GB, free: 7.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1305, allocations: 97.86 kB / 0.5057 GB, free: 6.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1305, allocations: 25.7 kB / 0.5057 GB, free: 6.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.1306, allocations: 88.39 kB / 0.5058 GB, free: 6.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1306, allocations: 7.891 kB / 0.5058 GB, free: 6.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.1307, allocations: 17.72 kB / 0.5058 GB, free: 6.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1308, allocations: 310.8 kB / 0.5061 GB, free: 6.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.1309, allocations: 8 kB / 0.5062 GB, free: 6.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.1309, allocations: 31.55 kB / 0.5062 GB, free: 6.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.913e-05/0.131, allocations: 39.44 kB / 0.5062 GB, free: 6.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.131, allocations: 0 / 0.5062 GB, free: 6.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001057/0.1311, allocations: 61.66 kB / 0.5063 GB, free: 6.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1311, allocations: 4 kB / 0.5063 GB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1311, allocations: 8.047 kB / 0.5063 GB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1311, allocations: 8 kB / 0.5063 GB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.528e-05/0.1312, allocations: 8 kB / 0.5063 GB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1312, allocations: 4 kB / 0.5063 GB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.507e-05/0.1313, allocations: 0 / 0.5063 GB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1313, allocations: 0 / 0.5063 GB, free: 6.258 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 8.309e-05/0.1314, allocations: 113.8 kB / 0.5064 GB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.1314, allocations: 3.906 kB / 0.5064 GB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.1314, allocations: 19.05 kB / 0.5064 GB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1314, allocations: 3.938 kB / 0.5064 GB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1314, allocations: 4 kB / 0.5064 GB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1314, allocations: 0 / 0.5064 GB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.1316, allocations: 153.7 kB / 0.5066 GB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1316, allocations: 0 / 0.5066 GB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.1317, allocations: 8 kB / 0.5066 GB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1317, allocations: 0 / 0.5066 GB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1317, allocations: 7.938 kB / 0.5066 GB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1317, allocations: 3.984 kB / 0.5066 GB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1317, allocations: 0 / 0.5066 GB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.1319, allocations: 73.94 kB / 0.5067 GB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.1319, allocations: 81.09 kB / 0.5068 GB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1319, allocations: 11.97 kB / 0.5068 GB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.722e-05/0.132, allocations: 0 / 0.5068 GB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.132, allocations: 3.938 kB / 0.5068 GB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.132, allocations: 4 kB / 0.5068 GB, free: 5.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.018e-05/0.1321, allocations: 83.28 kB / 0.5069 GB, free: 5.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1321, allocations: 4.094 kB / 0.5069 GB, free: 5.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.1323, allocations: 4 kB / 0.5069 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.0001111/0.1324, allocations: 95.23 kB / 0.507 GB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.1325, allocations: 19.88 kB / 0.507 GB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1325, allocations: 0 / 0.507 GB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-06/0.1325, allocations: 4 kB / 0.507 GB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.1327, allocations: 8.375 kB / 0.507 GB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.1331, allocations: 139.4 kB / 0.5071 GB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1334, allocations: 0.6805 MB / 0.5078 GB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.407e-05/0.1334, allocations: 3.938 kB / 0.5078 GB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.1335, allocations: 11.44 kB / 0.5078 GB, free: 4.562 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1335, allocations: 0 / 0.5078 GB, free: 4.562 MB / 350.1 MB Notification: Performance of Templates: time 0.002647/0.1361, allocations: 288.7 kB / 0.5081 GB, free: 4.285 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)