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.001334/0.001334, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.459/1.459, allocations: 223.2 MB / 238.9 MB, free: 5.484 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.001818/0.001818, allocations: 189 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0325/0.0325, allocations: 8.803 MB / 350.1 MB, free: 4.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006027/0.0006029, allocations: 10.59 kB / 413.1 MB, free: 43.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.112, allocations: 52.56 MB / 465.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.0006438/0.1127, allocations: 234.2 kB / 465.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1142, allocations: 1.06 MB / 466.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.1143, allocations: 0 / 466.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.1145, allocations: 11.92 kB / 466.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.1146, allocations: 27.95 kB / 467 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.046e-06/0.1146, allocations: 0 / 467 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.331e-05/0.1147, allocations: 15.98 kB / 467 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.561e-05/0.1148, allocations: 7.984 kB / 467 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.394e-05/0.1149, allocations: 19.86 kB / 467 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.115, allocations: 27.89 kB / 467 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.115, allocations: 0 / 467 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.115, allocations: 0 / 467 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.1152, allocations: 63.88 kB / 467.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.1152, allocations: 33.64 kB / 467.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.336e-05/0.1153, allocations: 35.97 kB / 467.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1153, allocations: 0 / 467.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1153, allocations: 0 / 467.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1153, allocations: 0 / 467.2 MB, free: 12.01 MB / 302.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.0004774/0.1158, allocations: 399 kB / 467.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1158, allocations: 12.03 kB / 467.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.1159, allocations: 94.98 kB / 467.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1162, allocations: 271.1 kB / 467.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/0.1162, allocations: 154.6 kB / 468.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.1163, allocations: 150.6 kB / 468.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.436e-05/0.1164, allocations: 105 kB / 468.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.1164, allocations: 83.22 kB / 468.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.1165, allocations: 150.6 kB / 468.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-05/0.1165, allocations: 150.6 kB / 468.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.1166, allocations: 154.5 kB / 468.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.1169, allocations: 485.9 kB / 469.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.181e-05/0.117, allocations: 169.1 kB / 469.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.117, allocations: 79.22 kB / 469.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.1171, allocations: 105.8 kB / 469.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.1171, allocations: 0 / 469.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 9.09e-05/0.1172, allocations: 37.52 kB / 469.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.1173, allocations: 138.7 kB / 469.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1175, allocations: 231.8 kB / 470.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1175, allocations: 25.7 kB / 470.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.1176, allocations: 116.1 kB / 470.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.1176, allocations: 0 / 470.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-07/0.1177, allocations: 0 / 470.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1178, allocations: 334.8 kB / 470.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-06/0.1178, allocations: 4 kB / 470.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-06/0.1178, allocations: 7.875 kB / 470.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.449e-05/0.1179, allocations: 75.28 kB / 470.6 MB, free: 8.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-05/0.1179, allocations: 75.28 kB / 470.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.693e-05/0.118, allocations: 37.69 kB / 470.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.118, allocations: 83.27 kB / 470.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/0.118, allocations: 79.3 kB / 470.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.023e-05/0.1181, allocations: 158.5 kB / 471.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.268e-05/0.1181, allocations: 79.33 kB / 471.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.744e-05/0.1182, allocations: 162.5 kB / 471.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.1e-05/0.1183, allocations: 75.28 kB / 471.4 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.1183, allocations: 83.28 kB / 471.4 MB, free: 7.496 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.1185, allocations: 288.3 kB / 471.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.1185, allocations: 120.7 kB / 471.8 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.1186, allocations: 125.5 kB / 472 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.586e-05/0.1187, allocations: 180.2 kB / 472.1 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.127e-05/0.1187, allocations: 176.3 kB / 472.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.454e-05/0.1188, allocations: 176.3 kB / 472.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.119, allocations: 449.1 kB / 472.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/0.1191, allocations: 105 kB / 473 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.1191, allocations: 108.9 kB / 473.1 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.757e-05/0.1192, allocations: 180.3 kB / 473.3 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-05/0.1193, allocations: 180.2 kB / 473.5 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.901e-05/0.1194, allocations: 184.2 kB / 473.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.451e-05/0.1194, allocations: 180.3 kB / 473.8 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1197, allocations: 323.5 kB / 474.2 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.746e-05/0.1198, allocations: 197.9 kB / 474.4 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.1199, allocations: 184.3 kB / 474.5 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.12, allocations: 101 kB / 474.6 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.1201, allocations: 188.2 kB / 474.8 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.1201, allocations: 105 kB / 474.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.1203, allocations: 172.2 kB / 475.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1203, allocations: 0 / 475.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1206, allocations: 4 kB / 475.1 MB, free: 3.629 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001018/0.1207, allocations: 167.1 kB / 475.3 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.754e-05/0.1207, allocations: 11.94 kB / 475.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1207, allocations: 0 / 475.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.1207, allocations: 3.938 kB / 475.3 MB, free: 3.438 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.121, allocations: 0.5224 MB / 475.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.1214, allocations: 314.8 kB / 476.1 MB, free: 2.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.1216, allocations: 0.716 MB / 476.8 MB, free: 1.828 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.308e-05/0.1217, allocations: 0 / 476.8 MB, free: 1.828 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.1217, allocations: 7.438 kB / 476.8 MB, free: 1.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1217, allocations: 0 / 476.8 MB, free: 1.82 MB / 302.1 MB Notification: Performance of Templates: time 0.002137/0.1238, allocations: 268.3 kB / 477.1 MB, free: 1.559 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: