Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006431/0.006431, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.398/1.398, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001678/0.001678, allocations: 180.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03508/0.03508, allocations: 8.793 MB / 348.6 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 79.88 kB / 463.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.124, allocations: 51.56 MB / 0.5034 GB, free: 9.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001675/0.1257, allocations: 0.5027 MB / 0.5039 GB, free: 9.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1273, allocations: 1.1 MB / 0.5049 GB, free: 7.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.1273, allocations: 0 / 0.5049 GB, free: 7.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.1276, allocations: 11.98 kB / 0.5049 GB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.421e-05/0.1277, allocations: 31.89 kB / 0.505 GB, free: 7.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.767e-06/0.1277, allocations: 0 / 0.505 GB, free: 7.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.1278, allocations: 27.86 kB / 0.505 GB, free: 7.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.1279, allocations: 4 kB / 0.505 GB, free: 7.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/0.128, allocations: 19.91 kB / 0.505 GB, free: 7.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1281, allocations: 23.92 kB / 0.5051 GB, free: 7.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1281, allocations: 0 / 0.5051 GB, free: 7.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.1281, allocations: 0 / 0.5051 GB, free: 7.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.1283, allocations: 75.83 kB / 0.5051 GB, free: 7.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.1283, allocations: 27.69 kB / 0.5052 GB, free: 7.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.646e-05/0.1284, allocations: 47.78 kB / 0.5052 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1284, allocations: 0 / 0.5052 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1284, allocations: 0 / 0.5052 GB, free: 7.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1284, allocations: 4 kB / 0.5052 GB, free: 7.641 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004463/0.1289, allocations: 402.8 kB / 0.5056 GB, free: 7.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1289, allocations: 11.97 kB / 0.5056 GB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.129, allocations: 96.03 kB / 0.5057 GB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1292, allocations: 284.2 kB / 0.506 GB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.1293, allocations: 150.9 kB / 0.5061 GB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.1293, allocations: 158.9 kB / 0.5063 GB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.593e-05/0.1294, allocations: 105.3 kB / 0.5064 GB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.1294, allocations: 75.28 kB / 0.5064 GB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/0.1295, allocations: 162.5 kB / 0.5066 GB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-05/0.1295, allocations: 150.6 kB / 0.5067 GB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.478e-05/0.1296, allocations: 150.6 kB / 0.5069 GB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.1299, allocations: 481.9 kB / 0.5073 GB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/0.13, allocations: 173.1 kB / 0.5075 GB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.13, allocations: 80.14 kB / 0.5076 GB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.13, allocations: 75.28 kB / 0.5076 GB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.1301, allocations: 117.8 kB / 0.5078 GB, free: 4.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.1301, allocations: 0 / 0.5078 GB, free: 4.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.832e-05/0.1302, allocations: 45.44 kB / 0.5078 GB, free: 4.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.1303, allocations: 126.7 kB / 0.5079 GB, free: 4.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.1305, allocations: 235.8 kB / 0.5081 GB, free: 4.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.1305, allocations: 25.7 kB / 0.5082 GB, free: 4.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.1306, allocations: 116.1 kB / 0.5083 GB, free: 4.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.1306, allocations: 4 kB / 0.5083 GB, free: 4.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.1307, allocations: 9.719 kB / 0.5083 GB, free: 4.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1308, allocations: 326.8 kB / 0.5086 GB, free: 3.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-06/0.1308, allocations: 0 / 0.5086 GB, free: 3.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-06/0.1308, allocations: 0 / 0.5086 GB, free: 3.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.67e-05/0.1308, allocations: 75.28 kB / 0.5087 GB, free: 3.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/0.1309, allocations: 75.28 kB / 0.5087 GB, free: 3.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.84e-05/0.1309, allocations: 41.61 kB / 0.5088 GB, free: 3.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.131, allocations: 88.62 kB / 0.5089 GB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.94e-05/0.131, allocations: 87.2 kB / 0.509 GB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.702e-05/0.1311, allocations: 150.6 kB / 0.5091 GB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.344e-05/0.1311, allocations: 79.22 kB / 0.5092 GB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.691e-05/0.1312, allocations: 154.6 kB / 0.5093 GB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1313, allocations: 79.44 kB / 0.5094 GB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.1313, allocations: 87.23 kB / 0.5095 GB, free: 3.012 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001506/0.1315, allocations: 288.4 kB / 0.5098 GB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.1316, allocations: 116.7 kB / 0.5099 GB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.1316, allocations: 129.5 kB / 0.51 GB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-05/0.1317, allocations: 176.3 kB / 0.5102 GB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.896e-05/0.1318, allocations: 184.2 kB / 0.5103 GB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-05/0.1318, allocations: 180.3 kB / 0.5105 GB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.1321, allocations: 441.1 kB / 0.5109 GB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.421e-05/0.1321, allocations: 108.9 kB / 0.511 GB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.1322, allocations: 101 kB / 0.5111 GB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.625e-05/0.1322, allocations: 184.1 kB / 0.5113 GB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/0.1323, allocations: 188.2 kB / 0.5115 GB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.342e-05/0.1324, allocations: 180.3 kB / 0.5117 GB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.561e-05/0.1325, allocations: 180.2 kB / 0.5118 GB, free: 468 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.1326, allocations: 323.6 kB / 0.5121 GB, free: 120 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.545e-05/0.1327, allocations: 201.9 kB / 0.5123 GB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.1328, allocations: 176.3 kB / 0.5125 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-05/0.1329, allocations: 104.9 kB / 0.5126 GB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.1329, allocations: 188.2 kB / 0.5128 GB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.133, allocations: 104.9 kB / 0.5129 GB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.1331, allocations: 172.2 kB / 0.513 GB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1331, allocations: 4 kB / 0.513 GB, free: 15.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1334, allocations: 4 kB / 0.513 GB, free: 15.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.77e-05/0.1335, allocations: 168.8 kB / 0.5132 GB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.406e-05/0.1336, allocations: 0 / 0.5132 GB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1336, allocations: 0 / 0.5132 GB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.1336, allocations: 0 / 0.5132 GB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1339, allocations: 467.7 kB / 0.5137 GB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.1343, allocations: 305 kB / 0.5139 GB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1345, allocations: 0.708 MB / 0.5146 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.712e-05/0.1346, allocations: 4 kB / 0.5146 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.1346, allocations: 7.438 kB / 0.5146 GB, free: 13.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1346, allocations: 0 / 0.5146 GB, free: 13.42 MB / 366.1 MB Notification: Performance of Templates: time 0.002027/0.1366, allocations: 288.9 kB / 0.5149 GB, free: 13.14 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)