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.001288/0.001288, allocations: 105.2 kB / 16.41 MB, free: 6.488 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.429/1.429, allocations: 222.9 MB / 240.1 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.001504/0.001504, allocations: 192.4 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03453/0.03453, allocations: 8.795 MB / 349.3 MB, free: 4.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 83.86 kB / 464.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1202, allocations: 51.56 MB / 0.504 GB, free: 9.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.002104/0.1224, allocations: 0.5161 MB / 0.5045 GB, free: 9.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.1242, allocations: 1.085 MB / 0.5056 GB, free: 7.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.1242, allocations: 0 / 0.5056 GB, free: 7.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.1246, allocations: 19.91 kB / 0.5056 GB, free: 7.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.362e-05/0.1247, allocations: 23.92 kB / 0.5056 GB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.2e-06/0.1247, allocations: 0 / 0.5056 GB, free: 7.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.063e-05/0.1248, allocations: 35.84 kB / 0.5057 GB, free: 7.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.681e-05/0.1249, allocations: 4 kB / 0.5057 GB, free: 7.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.125, allocations: 15.98 kB / 0.5057 GB, free: 7.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1252, allocations: 31.83 kB / 0.5057 GB, free: 7.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.1252, allocations: 4 kB / 0.5057 GB, free: 7.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.1252, allocations: 0 / 0.5057 GB, free: 7.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.1254, allocations: 63.86 kB / 0.5058 GB, free: 7.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.1255, allocations: 27.69 kB / 0.5058 GB, free: 7.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.09e-05/0.1256, allocations: 47.78 kB / 0.5059 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1256, allocations: 0 / 0.5059 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1256, allocations: 0 / 0.5059 GB, free: 7.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1256, allocations: 0 / 0.5059 GB, free: 7.695 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.0006294/0.1262, allocations: 406.8 kB / 0.5063 GB, free: 7.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1263, allocations: 16.02 kB / 0.5063 GB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.1264, allocations: 88.03 kB / 0.5064 GB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.1266, allocations: 288.2 kB / 0.5066 GB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/0.1267, allocations: 154.9 kB / 0.5068 GB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.936e-05/0.1268, allocations: 150.9 kB / 0.5069 GB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.794e-05/0.1269, allocations: 109.2 kB / 0.507 GB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/0.1269, allocations: 79.28 kB / 0.5071 GB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.127, allocations: 150.6 kB / 0.5072 GB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.638e-05/0.1271, allocations: 154.5 kB / 0.5074 GB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.498e-05/0.1271, allocations: 154.6 kB / 0.5075 GB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.1276, allocations: 481.9 kB / 0.508 GB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.901e-05/0.1277, allocations: 177.1 kB / 0.5082 GB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.1277, allocations: 80.14 kB / 0.5082 GB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.1277, allocations: 75.28 kB / 0.5083 GB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.1278, allocations: 109.8 kB / 0.5084 GB, free: 4.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.1278, allocations: 0 / 0.5084 GB, free: 4.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.318e-05/0.1279, allocations: 45.52 kB / 0.5085 GB, free: 4.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.128, allocations: 126.7 kB / 0.5086 GB, free: 4.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.1283, allocations: 235.8 kB / 0.5088 GB, free: 4.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1283, allocations: 25.7 kB / 0.5088 GB, free: 4.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.1284, allocations: 116.1 kB / 0.5089 GB, free: 4.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.1284, allocations: 3.938 kB / 0.5089 GB, free: 4.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1284, allocations: 13.66 kB / 0.509 GB, free: 4.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1286, allocations: 322.8 kB / 0.5093 GB, free: 3.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-06/0.1286, allocations: 8 kB / 0.5093 GB, free: 3.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.1286, allocations: 3.984 kB / 0.5093 GB, free: 3.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.1287, allocations: 79.28 kB / 0.5094 GB, free: 3.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.801e-05/0.1287, allocations: 75.28 kB / 0.5094 GB, free: 3.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.939e-05/0.1288, allocations: 37.61 kB / 0.5095 GB, free: 3.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.1288, allocations: 83.22 kB / 0.5095 GB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/0.1289, allocations: 79.22 kB / 0.5096 GB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.791e-05/0.1289, allocations: 154.6 kB / 0.5098 GB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.1e-05/0.129, allocations: 79.28 kB / 0.5098 GB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.02e-05/0.1291, allocations: 154.5 kB / 0.51 GB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.1292, allocations: 79.42 kB / 0.5101 GB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.1292, allocations: 91.28 kB / 0.5102 GB, free: 3.059 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.000167/0.1294, allocations: 284.4 kB / 0.5104 GB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.1295, allocations: 124.7 kB / 0.5105 GB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.859e-05/0.1295, allocations: 117.5 kB / 0.5107 GB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.69e-05/0.1296, allocations: 184.2 kB / 0.5108 GB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-05/0.1297, allocations: 180.2 kB / 0.511 GB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.83e-05/0.1298, allocations: 180.2 kB / 0.5112 GB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.1301, allocations: 441.2 kB / 0.5116 GB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.043e-05/0.1302, allocations: 105 kB / 0.5117 GB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.1303, allocations: 112.8 kB / 0.5118 GB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.147e-05/0.1303, allocations: 180.2 kB / 0.512 GB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.539e-05/0.1304, allocations: 184.2 kB / 0.5121 GB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-05/0.1305, allocations: 180.3 kB / 0.5123 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.442e-05/0.1306, allocations: 184.2 kB / 0.5125 GB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.1308, allocations: 315.6 kB / 0.5128 GB, free: 176 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.131, allocations: 193.9 kB / 0.513 GB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.1311, allocations: 184.3 kB / 0.5132 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.1313, allocations: 112.9 kB / 0.5133 GB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.1314, allocations: 176.3 kB / 0.5134 GB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.1314, allocations: 101 kB / 0.5135 GB, free: 15.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.1316, allocations: 176.2 kB / 0.5137 GB, free: 15.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1316, allocations: 0 / 0.5137 GB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.1319, allocations: 4 kB / 0.5137 GB, free: 15.19 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 0.0001481/0.1321, allocations: 180.8 kB / 0.5139 GB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.137e-05/0.1321, allocations: 0 / 0.5139 GB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1322, allocations: 0 / 0.5139 GB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.1322, allocations: 0 / 0.5139 GB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.1326, allocations: 459.7 kB / 0.5143 GB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.1331, allocations: 334.7 kB / 0.5146 GB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1335, allocations: 0.7158 MB / 0.5153 GB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.1336, allocations: 7.438 kB / 0.5153 GB, free: 13.44 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1336, allocations: 0 / 0.5153 GB, free: 13.44 MB / 366.1 MB Notification: Performance of Templates: time 0.002653/0.1362, allocations: 0.7306 MB / 0.5161 GB, free: 12.71 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)