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.008213/0.008213, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.365/1.365, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001379/0.001378, allocations: 184.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03382/0.03382, allocations: 8.787 MB / 348.6 MB, free: 4.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 75.88 kB / 463.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1138, allocations: 51.58 MB / 0.5034 GB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.002103/0.116, allocations: 0.5222 MB / 0.5039 GB, free: 8.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.1178, allocations: 1.127 MB / 0.505 GB, free: 7.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.1178, allocations: 0 / 0.505 GB, free: 7.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.118, allocations: 4 kB / 0.505 GB, free: 7.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.1183, allocations: 23.86 kB / 0.505 GB, free: 7.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.979e-05/0.1183, allocations: 7.984 kB / 0.505 GB, free: 7.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.967e-05/0.1184, allocations: 43.83 kB / 0.5051 GB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.773e-05/0.1185, allocations: 7.938 kB / 0.5051 GB, free: 7.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1186, allocations: 19.86 kB / 0.5051 GB, free: 7.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1188, allocations: 43.88 kB / 0.5051 GB, free: 7.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.1188, allocations: 4 kB / 0.5051 GB, free: 7.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.1188, allocations: 4 kB / 0.5052 GB, free: 7.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.119, allocations: 39.89 kB / 0.5052 GB, free: 7.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.119, allocations: 31.69 kB / 0.5052 GB, free: 7.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.1191, allocations: 47.69 kB / 0.5053 GB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1191, allocations: 0 / 0.5053 GB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1191, allocations: 0 / 0.5053 GB, free: 7.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1192, allocations: 0 / 0.5053 GB, free: 7.504 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.0006773/0.1198, allocations: 422.9 kB / 0.5057 GB, free: 7.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1199, allocations: 8.031 kB / 0.5057 GB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.1199, allocations: 8.891 kB / 0.5057 GB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1202, allocations: 220.1 kB / 0.5059 GB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1202, allocations: 4.375 kB / 0.5059 GB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1202, allocations: 384 / 0.5059 GB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.429e-05/0.1203, allocations: 38 kB / 0.5059 GB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1203, allocations: 4 kB / 0.5059 GB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1203, allocations: 4 kB / 0.5059 GB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1203, allocations: 0 / 0.5059 GB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.1204, allocations: 15.92 kB / 0.506 GB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.1206, allocations: 189.7 kB / 0.5061 GB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.032e-05/0.1207, allocations: 34.55 kB / 0.5062 GB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.1207, allocations: 8.859 kB / 0.5062 GB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1208, allocations: 8.078 kB / 0.5062 GB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.1208, allocations: 42.5 kB / 0.5062 GB, free: 6.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1208, allocations: 3.938 kB / 0.5062 GB, free: 6.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000178/0.121, allocations: 65.53 kB / 0.5063 GB, free: 6.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.121, allocations: 55.34 kB / 0.5063 GB, free: 6.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.1213, allocations: 210.3 kB / 0.5065 GB, free: 6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1213, allocations: 25.7 kB / 0.5066 GB, free: 5.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.1214, allocations: 108.1 kB / 0.5067 GB, free: 5.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1214, allocations: 7.953 kB / 0.5067 GB, free: 5.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.1214, allocations: 21.7 kB / 0.5067 GB, free: 5.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1216, allocations: 322.8 kB / 0.507 GB, free: 5.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.1216, allocations: 8 kB / 0.507 GB, free: 5.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.533e-05/0.1216, allocations: 4 kB / 0.507 GB, free: 5.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.1217, allocations: 28.84 kB / 0.5071 GB, free: 5.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1217, allocations: 0 / 0.5071 GB, free: 5.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001001/0.1218, allocations: 61.53 kB / 0.5071 GB, free: 5.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1218, allocations: 9.5 kB / 0.5071 GB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1218, allocations: 0 / 0.5071 GB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1218, allocations: 7.984 kB / 0.5071 GB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.1219, allocations: 12 kB / 0.5071 GB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1219, allocations: 0 / 0.5071 GB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.122, allocations: 0 / 0.5071 GB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.122, allocations: 7.984 kB / 0.5071 GB, free: 5.355 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 9.134e-05/0.1221, allocations: 122.8 kB / 0.5073 GB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.1221, allocations: 11.89 kB / 0.5073 GB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.1224, allocations: 70.48 kB / 0.5073 GB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1224, allocations: 4 kB / 0.5073 GB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1224, allocations: 4 kB / 0.5073 GB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1224, allocations: 0 / 0.5073 GB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.1227, allocations: 181.6 kB / 0.5075 GB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1227, allocations: 0 / 0.5075 GB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.1227, allocations: 4 kB / 0.5075 GB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1227, allocations: 3.938 kB / 0.5075 GB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1228, allocations: 0 / 0.5075 GB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.1228, allocations: 7.984 kB / 0.5075 GB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1228, allocations: 384 / 0.5075 GB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.1229, allocations: 89.02 kB / 0.5076 GB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.123, allocations: 93 kB / 0.5077 GB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.123, allocations: 7.922 kB / 0.5077 GB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.142e-05/0.1231, allocations: 4 kB / 0.5077 GB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.1231, allocations: 3.938 kB / 0.5077 GB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1231, allocations: 0 / 0.5077 GB, free: 4.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.1232, allocations: 167.2 kB / 0.5079 GB, free: 4.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1232, allocations: 0 / 0.5079 GB, free: 4.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.1235, allocations: 15.94 kB / 0.5079 GB, free: 4.473 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 8.576e-05/0.1236, allocations: 95.25 kB / 0.508 GB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.1237, allocations: 19.98 kB / 0.508 GB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1237, allocations: 0 / 0.508 GB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.313e-05/0.1237, allocations: 11.94 kB / 0.508 GB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.1239, allocations: 4 kB / 0.508 GB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.1244, allocations: 197.2 kB / 0.5082 GB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.1247, allocations: 0.7039 MB / 0.5089 GB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.492e-05/0.1248, allocations: 27.91 kB / 0.5089 GB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.1248, allocations: 7.438 kB / 0.5089 GB, free: 3.348 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1248, allocations: 0 / 0.5089 GB, free: 3.348 MB / 350.1 MB Notification: Performance of Templates: time 0.003/0.1278, allocations: 0.5827 MB / 0.5095 GB, free: 2.766 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)