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.006007/0.006007, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.345/1.345, allocations: 222.9 MB / 239.4 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.001274/0.001274, allocations: 188.5 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03492/0.03492, allocations: 8.784 MB / 348.6 MB, free: 4.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 79.86 kB / 463.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1044, allocations: 51.56 MB / 0.5034 GB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001466/0.1059, allocations: 0.5318 MB / 0.5039 GB, free: 9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1072, allocations: 1.116 MB / 0.505 GB, free: 7.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.1072, allocations: 4 kB / 0.505 GB, free: 7.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1074, allocations: 11.92 kB / 0.505 GB, free: 7.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.1076, allocations: 27.84 kB / 0.505 GB, free: 7.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.191e-05/0.1076, allocations: 7.938 kB / 0.505 GB, free: 7.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.031e-05/0.1077, allocations: 35.91 kB / 0.5051 GB, free: 7.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.1078, allocations: 4 kB / 0.5051 GB, free: 7.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1079, allocations: 27.83 kB / 0.5051 GB, free: 7.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1081, allocations: 35.91 kB / 0.5051 GB, free: 7.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.1081, allocations: 0 / 0.5051 GB, free: 7.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.1081, allocations: 12 kB / 0.5051 GB, free: 7.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1082, allocations: 43.88 kB / 0.5052 GB, free: 7.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.1083, allocations: 27.73 kB / 0.5052 GB, free: 7.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.256e-05/0.1084, allocations: 43.77 kB / 0.5053 GB, free: 7.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1084, allocations: 4 kB / 0.5053 GB, free: 7.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1084, allocations: 0 / 0.5053 GB, free: 7.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1084, allocations: 0 / 0.5053 GB, free: 7.586 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.0005729/0.109, allocations: 410.9 kB / 0.5056 GB, free: 7.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.109, allocations: 8.031 kB / 0.5057 GB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.1091, allocations: 8.844 kB / 0.5057 GB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.1093, allocations: 220 kB / 0.5059 GB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1093, allocations: 4.312 kB / 0.5059 GB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1093, allocations: 384 / 0.5059 GB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.131e-05/0.1094, allocations: 42 kB / 0.5059 GB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1094, allocations: 0 / 0.5059 GB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1095, allocations: 0 / 0.5059 GB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1095, allocations: 0 / 0.5059 GB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.781e-05/0.1095, allocations: 19.98 kB / 0.5059 GB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.1097, allocations: 197.5 kB / 0.5061 GB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.165e-05/0.1098, allocations: 30.52 kB / 0.5062 GB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.1099, allocations: 16.94 kB / 0.5062 GB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1099, allocations: 3.984 kB / 0.5062 GB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1099, allocations: 38.5 kB / 0.5062 GB, free: 6.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1099, allocations: 3.938 kB / 0.5062 GB, free: 6.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001782/0.1101, allocations: 61.78 kB / 0.5063 GB, free: 6.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1102, allocations: 55.39 kB / 0.5063 GB, free: 6.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1104, allocations: 210.3 kB / 0.5065 GB, free: 6.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1104, allocations: 29.7 kB / 0.5066 GB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.1105, allocations: 108.1 kB / 0.5067 GB, free: 5.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.1105, allocations: 7.812 kB / 0.5067 GB, free: 5.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.1105, allocations: 13.72 kB / 0.5067 GB, free: 5.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1106, allocations: 330.8 kB / 0.507 GB, free: 5.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.1107, allocations: 8 kB / 0.507 GB, free: 5.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.718e-05/0.1107, allocations: 11.97 kB / 0.507 GB, free: 5.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.946e-05/0.1107, allocations: 24.86 kB / 0.507 GB, free: 5.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1108, allocations: 0 / 0.507 GB, free: 5.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.42e-05/0.1108, allocations: 61.58 kB / 0.5071 GB, free: 5.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1109, allocations: 7.938 kB / 0.5071 GB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1109, allocations: 4 kB / 0.5071 GB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1109, allocations: 0 / 0.5071 GB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.111, allocations: 4 kB / 0.5071 GB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.111, allocations: 7.938 kB / 0.5071 GB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.111, allocations: 7.984 kB / 0.5071 GB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1111, allocations: 0 / 0.5071 GB, free: 5.445 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.138e-05/0.1112, allocations: 122.8 kB / 0.5072 GB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.1112, allocations: 15.75 kB / 0.5073 GB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.1113, allocations: 66.61 kB / 0.5073 GB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1113, allocations: 0 / 0.5073 GB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1114, allocations: 0 / 0.5073 GB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1114, allocations: 0 / 0.5073 GB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.1115, allocations: 185.6 kB / 0.5075 GB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1115, allocations: 0 / 0.5075 GB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.101e-05/0.1115, allocations: 7.984 kB / 0.5075 GB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1116, allocations: 3.938 kB / 0.5075 GB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1116, allocations: 4 kB / 0.5075 GB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1116, allocations: 3.938 kB / 0.5075 GB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1116, allocations: 0 / 0.5075 GB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.939e-05/0.1117, allocations: 77.03 kB / 0.5076 GB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.1118, allocations: 104.8 kB / 0.5077 GB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1118, allocations: 3.938 kB / 0.5077 GB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.1118, allocations: 7.938 kB / 0.5077 GB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.1119, allocations: 3.984 kB / 0.5077 GB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1119, allocations: 0 / 0.5077 GB, free: 4.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.112, allocations: 167.2 kB / 0.5079 GB, free: 4.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.112, allocations: 0 / 0.5079 GB, free: 4.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.1123, allocations: 8 kB / 0.5079 GB, free: 4.57 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.125e-05/0.1123, allocations: 91.25 kB / 0.508 GB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.1125, allocations: 32.14 kB / 0.508 GB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1125, allocations: 0 / 0.508 GB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-05/0.1125, allocations: 11.98 kB / 0.508 GB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.1127, allocations: 9.406 kB / 0.508 GB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.113, allocations: 189.4 kB / 0.5082 GB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1133, allocations: 0.7078 MB / 0.5089 GB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.68e-05/0.1134, allocations: 19.92 kB / 0.5089 GB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.1134, allocations: 15.44 kB / 0.5089 GB, free: 3.438 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1134, allocations: 0 / 0.5089 GB, free: 3.438 MB / 350.1 MB Notification: Performance of Templates: time 0.003056/0.1165, allocations: 0.586 MB / 0.5095 GB, free: 2.855 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)