Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001225, allocations: 111.7 kB / 16.41 MB, free: 6.031 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.417/1.417, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001627/0.001627, allocations: 184.5 kB / 290.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03398/0.03398, allocations: 8.798 MB / 349.3 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 80.11 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1266, allocations: 51.56 MB / 0.504 GB, free: 9.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001891/0.1286, allocations: 0.5294 MB / 0.5046 GB, free: 8.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.1306, allocations: 1.127 MB / 0.5057 GB, free: 7.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.328e-05/0.1307, allocations: 0 / 0.5057 GB, free: 7.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.131, allocations: 11.86 kB / 0.5057 GB, free: 7.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.1312, allocations: 19.92 kB / 0.5057 GB, free: 7.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.1313, allocations: 11.94 kB / 0.5057 GB, free: 7.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.1315, allocations: 35.89 kB / 0.5057 GB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.323e-05/0.1316, allocations: 3.984 kB / 0.5057 GB, free: 7.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.1318, allocations: 27.86 kB / 0.5058 GB, free: 7.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.132, allocations: 39.89 kB / 0.5058 GB, free: 7.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.132, allocations: 0 / 0.5058 GB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.132, allocations: 8 kB / 0.5058 GB, free: 7.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1322, allocations: 35.89 kB / 0.5058 GB, free: 7.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.1322, allocations: 27.73 kB / 0.5059 GB, free: 7.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.1323, allocations: 51.77 kB / 0.5059 GB, free: 7.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1323, allocations: 0 / 0.5059 GB, free: 7.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1323, allocations: 0 / 0.5059 GB, free: 7.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1324, allocations: 0 / 0.5059 GB, free: 7.578 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006221/0.133, allocations: 406.9 kB / 0.5063 GB, free: 7.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.133, allocations: 8.031 kB / 0.5063 GB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.1331, allocations: 8.844 kB / 0.5063 GB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1333, allocations: 224 kB / 0.5065 GB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1334, allocations: 8.312 kB / 0.5065 GB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1334, allocations: 4.375 kB / 0.5066 GB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.1335, allocations: 42 kB / 0.5066 GB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1335, allocations: 4 kB / 0.5066 GB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1335, allocations: 0 / 0.5066 GB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1335, allocations: 0 / 0.5066 GB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.1336, allocations: 11.98 kB / 0.5066 GB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.1338, allocations: 193.6 kB / 0.5068 GB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.986e-05/0.1339, allocations: 34.52 kB / 0.5068 GB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.1339, allocations: 16.94 kB / 0.5068 GB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.134, allocations: 3.984 kB / 0.5068 GB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.134, allocations: 42.44 kB / 0.5069 GB, free: 6.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.134, allocations: 0 / 0.5069 GB, free: 6.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000205/0.1342, allocations: 65.58 kB / 0.5069 GB, free: 6.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.1343, allocations: 55.41 kB / 0.507 GB, free: 6.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.1345, allocations: 210.3 kB / 0.5072 GB, free: 6.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1346, allocations: 25.7 kB / 0.5072 GB, free: 6.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.1346, allocations: 104.1 kB / 0.5073 GB, free: 5.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.1347, allocations: 11.81 kB / 0.5073 GB, free: 5.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1347, allocations: 25.59 kB / 0.5074 GB, free: 5.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1349, allocations: 322.8 kB / 0.5077 GB, free: 5.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.1349, allocations: 4 kB / 0.5077 GB, free: 5.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.1349, allocations: 11.98 kB / 0.5077 GB, free: 5.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.851e-05/0.135, allocations: 24.84 kB / 0.5077 GB, free: 5.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.135, allocations: 0 / 0.5077 GB, free: 5.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.963e-05/0.1351, allocations: 53.59 kB / 0.5078 GB, free: 5.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1351, allocations: 11.94 kB / 0.5078 GB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1351, allocations: 0 / 0.5078 GB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1351, allocations: 4 kB / 0.5078 GB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.724e-05/0.1352, allocations: 7.938 kB / 0.5078 GB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.1353, allocations: 0 / 0.5078 GB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.1353, allocations: 7.984 kB / 0.5078 GB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1353, allocations: 0 / 0.5078 GB, free: 5.441 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 (3): * Single equations (assignments): 3 * 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.00012/0.1355, allocations: 126.8 kB / 0.5079 GB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.1355, allocations: 15.75 kB / 0.5079 GB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.1356, allocations: 66.61 kB / 0.508 GB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.1357, allocations: 4 kB / 0.508 GB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1357, allocations: 0 / 0.508 GB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1357, allocations: 0 / 0.508 GB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.1358, allocations: 177.6 kB / 0.5082 GB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1358, allocations: 0 / 0.5082 GB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.1359, allocations: 11.98 kB / 0.5082 GB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.1359, allocations: 3.938 kB / 0.5082 GB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1359, allocations: 7.938 kB / 0.5082 GB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1359, allocations: 0 / 0.5082 GB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1359, allocations: 0 / 0.5082 GB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.1361, allocations: 81.41 kB / 0.5083 GB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.552e-05/0.1362, allocations: 104.8 kB / 0.5084 GB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1362, allocations: 4 kB / 0.5084 GB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.144e-05/0.1363, allocations: 8 kB / 0.5084 GB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.1363, allocations: 3.984 kB / 0.5084 GB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1363, allocations: 4 kB / 0.5084 GB, free: 4.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1365, allocations: 159.2 kB / 0.5085 GB, free: 4.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1365, allocations: 0 / 0.5085 GB, free: 4.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000219/0.1367, allocations: 12 kB / 0.5085 GB, free: 4.559 MB / 350.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 (3): * Single equations (assignments): 3 * 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.000101/0.1368, allocations: 91.25 kB / 0.5086 GB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.1369, allocations: 23.92 kB / 0.5087 GB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1369, allocations: 0 / 0.5087 GB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.153e-05/0.137, allocations: 15.98 kB / 0.5087 GB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.1372, allocations: 9.562 kB / 0.5087 GB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.1376, allocations: 215.1 kB / 0.5089 GB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1379, allocations: 0.7156 MB / 0.5096 GB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.138, allocations: 7.438 kB / 0.5096 GB, free: 3.418 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.138, allocations: 4 kB / 0.5096 GB, free: 3.414 MB / 350.1 MB Notification: Performance of Templates: time 0.002768/0.1408, allocations: 0.9292 MB / 0.5105 GB, free: 2.48 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1)