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.001173/0.001173, allocations: 108.8 kB / 16.41 MB, free: 6.355 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.305/1.305, allocations: 222.9 MB / 240.1 MB, free: 4.496 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.001324/0.001324, allocations: 184.4 kB / 290.4 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03584/0.03584, allocations: 8.796 MB / 349.3 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 79.88 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1036, allocations: 51.56 MB / 0.504 GB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001471/0.1052, allocations: 0.5316 MB / 0.5046 GB, free: 8.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1065, allocations: 1.123 MB / 0.5057 GB, free: 7.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.1066, allocations: 0 / 0.5057 GB, free: 7.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.1067, allocations: 11.98 kB / 0.5057 GB, free: 7.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.1069, allocations: 27.84 kB / 0.5057 GB, free: 7.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.241e-05/0.1069, allocations: 8 kB / 0.5057 GB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.272e-05/0.107, allocations: 35.84 kB / 0.5057 GB, free: 7.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.1071, allocations: 4 kB / 0.5057 GB, free: 7.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1072, allocations: 31.83 kB / 0.5058 GB, free: 7.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.1073, allocations: 31.91 kB / 0.5058 GB, free: 7.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.1074, allocations: 4 kB / 0.5058 GB, free: 7.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.1074, allocations: 4 kB / 0.5058 GB, free: 7.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.055e-05/0.1075, allocations: 35.89 kB / 0.5058 GB, free: 7.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.1075, allocations: 39.72 kB / 0.5059 GB, free: 7.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.276e-05/0.1076, allocations: 39.78 kB / 0.5059 GB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1076, allocations: 0 / 0.5059 GB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1076, allocations: 0 / 0.5059 GB, free: 7.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1076, allocations: 0 / 0.5059 GB, free: 7.547 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.0005285/0.1082, allocations: 406.9 kB / 0.5063 GB, free: 7.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1082, allocations: 12.03 kB / 0.5063 GB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.1082, allocations: 16.78 kB / 0.5063 GB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.1085, allocations: 224 kB / 0.5065 GB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1085, allocations: 384 / 0.5065 GB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1085, allocations: 384 / 0.5065 GB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.813e-05/0.1086, allocations: 42 kB / 0.5066 GB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1086, allocations: 0 / 0.5066 GB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1086, allocations: 7.938 kB / 0.5066 GB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1086, allocations: 0 / 0.5066 GB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.1087, allocations: 7.984 kB / 0.5066 GB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.1089, allocations: 197.6 kB / 0.5068 GB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.121e-05/0.1089, allocations: 38.5 kB / 0.5068 GB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.109, allocations: 16.94 kB / 0.5068 GB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.109, allocations: 4 kB / 0.5069 GB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.109, allocations: 34.5 kB / 0.5069 GB, free: 6.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.109, allocations: 0 / 0.5069 GB, free: 6.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001673/0.1092, allocations: 57.59 kB / 0.5069 GB, free: 6.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.1093, allocations: 63.33 kB / 0.507 GB, free: 6.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.1095, allocations: 214.3 kB / 0.5072 GB, free: 6.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.1095, allocations: 25.7 kB / 0.5072 GB, free: 6.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.1096, allocations: 112.1 kB / 0.5073 GB, free: 5.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.1096, allocations: 7.812 kB / 0.5073 GB, free: 5.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.1096, allocations: 17.72 kB / 0.5074 GB, free: 5.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1098, allocations: 322.8 kB / 0.5077 GB, free: 5.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.1098, allocations: 4 kB / 0.5077 GB, free: 5.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.1098, allocations: 7.984 kB / 0.5077 GB, free: 5.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/0.1099, allocations: 24.86 kB / 0.5077 GB, free: 5.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1099, allocations: 4 kB / 0.5077 GB, free: 5.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.02e-05/0.1099, allocations: 61.52 kB / 0.5078 GB, free: 5.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.11, allocations: 7.938 kB / 0.5078 GB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.11, allocations: 0 / 0.5078 GB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.11, allocations: 0 / 0.5078 GB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.915e-05/0.1101, allocations: 8 kB / 0.5078 GB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1101, allocations: 0 / 0.5078 GB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.1101, allocations: 3.984 kB / 0.5078 GB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1102, allocations: 4 kB / 0.5078 GB, free: 5.41 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 8.73e-05/0.1103, allocations: 126.8 kB / 0.5079 GB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.1103, allocations: 15.75 kB / 0.5079 GB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.1104, allocations: 66.61 kB / 0.508 GB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1104, allocations: 4 kB / 0.508 GB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1104, allocations: 0 / 0.508 GB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1105, allocations: 0 / 0.508 GB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.1106, allocations: 185.6 kB / 0.5082 GB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1106, allocations: 0 / 0.5082 GB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.1106, allocations: 11.98 kB / 0.5082 GB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1107, allocations: 4.312 kB / 0.5082 GB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1107, allocations: 4 kB / 0.5082 GB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1107, allocations: 0 / 0.5082 GB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1107, allocations: 4 kB / 0.5082 GB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.1108, allocations: 84.95 kB / 0.5083 GB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.1109, allocations: 100.8 kB / 0.5084 GB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1109, allocations: 0 / 0.5084 GB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.898e-05/0.1109, allocations: 4 kB / 0.5084 GB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.111, allocations: 7.984 kB / 0.5084 GB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.111, allocations: 3.938 kB / 0.5084 GB, free: 4.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.1111, allocations: 167.2 kB / 0.5085 GB, free: 4.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1111, allocations: 0 / 0.5085 GB, free: 4.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001817/0.1113, allocations: 8 kB / 0.5085 GB, free: 4.52 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.366e-05/0.1114, allocations: 95.19 kB / 0.5086 GB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.139e-05/0.1115, allocations: 19.98 kB / 0.5087 GB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1115, allocations: 4 kB / 0.5087 GB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.833e-05/0.1115, allocations: 11.98 kB / 0.5087 GB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.1117, allocations: 5.562 kB / 0.5087 GB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.112, allocations: 219.1 kB / 0.5089 GB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1123, allocations: 0.7117 MB / 0.5096 GB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.1123, allocations: 11.44 kB / 0.5096 GB, free: 3.379 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1123, allocations: 0 / 0.5096 GB, free: 3.379 MB / 350.1 MB Notification: Performance of Templates: time 0.002154/0.1145, allocations: 0.9254 MB / 0.5105 GB, free: 2.449 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)