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.005277/0.005277, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.372/1.372, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001482/0.001482, allocations: 196.4 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03402/0.03402, allocations: 8.784 MB / 348.6 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 87.86 kB / 463.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1055, allocations: 51.55 MB / 0.5034 GB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.002522/0.1081, allocations: 0.5379 MB / 0.5039 GB, free: 8.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.1096, allocations: 1.12 MB / 0.505 GB, free: 7.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.1096, allocations: 0 / 0.505 GB, free: 7.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.1098, allocations: 7.922 kB / 0.505 GB, free: 7.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.11, allocations: 27.91 kB / 0.505 GB, free: 7.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.611e-05/0.11, allocations: 11.94 kB / 0.505 GB, free: 7.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.567e-05/0.1101, allocations: 35.84 kB / 0.5051 GB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.681e-05/0.1102, allocations: 4 kB / 0.5051 GB, free: 7.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1103, allocations: 27.84 kB / 0.5051 GB, free: 7.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1105, allocations: 35.89 kB / 0.5051 GB, free: 7.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.1105, allocations: 4 kB / 0.5051 GB, free: 7.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.57e-05/0.1105, allocations: 4 kB / 0.5051 GB, free: 7.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1106, allocations: 43.88 kB / 0.5052 GB, free: 7.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.1107, allocations: 23.75 kB / 0.5052 GB, free: 7.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.018e-05/0.1108, allocations: 55.75 kB / 0.5053 GB, free: 7.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1108, allocations: 0 / 0.5053 GB, free: 7.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1108, allocations: 0 / 0.5053 GB, free: 7.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1108, allocations: 0 / 0.5053 GB, free: 7.582 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.000636/0.1114, allocations: 402.9 kB / 0.5056 GB, free: 7.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1115, allocations: 16.03 kB / 0.5057 GB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1115, allocations: 8.844 kB / 0.5057 GB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1118, allocations: 224 kB / 0.5059 GB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1118, allocations: 384 / 0.5059 GB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.1118, allocations: 4.375 kB / 0.5059 GB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.41e-05/0.1119, allocations: 42 kB / 0.5059 GB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.1119, allocations: 0 / 0.5059 GB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1119, allocations: 0 / 0.5059 GB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1119, allocations: 0 / 0.5059 GB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.369e-05/0.112, allocations: 15.97 kB / 0.5059 GB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.1122, allocations: 197.6 kB / 0.5061 GB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.241e-05/0.1123, allocations: 34.52 kB / 0.5062 GB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.785e-05/0.1123, allocations: 16.94 kB / 0.5062 GB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1124, allocations: 0 / 0.5062 GB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1124, allocations: 38.5 kB / 0.5062 GB, free: 6.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.1124, allocations: 0 / 0.5062 GB, free: 6.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001812/0.1126, allocations: 61.59 kB / 0.5063 GB, free: 6.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.1126, allocations: 55.41 kB / 0.5063 GB, free: 6.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.1128, allocations: 218.2 kB / 0.5065 GB, free: 6.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1129, allocations: 25.7 kB / 0.5066 GB, free: 6.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.1129, allocations: 100.1 kB / 0.5067 GB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.113, allocations: 27.66 kB / 0.5067 GB, free: 5.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.113, allocations: 17.72 kB / 0.5067 GB, free: 5.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1131, allocations: 322.8 kB / 0.507 GB, free: 5.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.304e-05/0.1131, allocations: 4 kB / 0.507 GB, free: 5.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/0.1132, allocations: 15.98 kB / 0.507 GB, free: 5.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.136e-05/0.1132, allocations: 16.86 kB / 0.507 GB, free: 5.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1132, allocations: 0 / 0.507 GB, free: 5.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.106e-05/0.1133, allocations: 61.58 kB / 0.5071 GB, free: 5.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1133, allocations: 7.938 kB / 0.5071 GB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1133, allocations: 0 / 0.5071 GB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1134, allocations: 0 / 0.5071 GB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.1134, allocations: 7.938 kB / 0.5071 GB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1134, allocations: 0 / 0.5071 GB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.1135, allocations: 7.984 kB / 0.5071 GB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1135, allocations: 4 kB / 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 0.0001052/0.1136, allocations: 130.8 kB / 0.5073 GB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.1136, allocations: 15.75 kB / 0.5073 GB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.1138, allocations: 62.61 kB / 0.5073 GB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1138, allocations: 0 / 0.5073 GB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1138, allocations: 0 / 0.5073 GB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1138, allocations: 384 / 0.5073 GB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.114, allocations: 181.6 kB / 0.5075 GB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.114, allocations: 0 / 0.5075 GB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.114, allocations: 8 kB / 0.5075 GB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.114, allocations: 11.86 kB / 0.5075 GB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.114, allocations: 7.984 kB / 0.5075 GB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1141, allocations: 0 / 0.5075 GB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1141, allocations: 0 / 0.5075 GB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.1142, allocations: 77.03 kB / 0.5076 GB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.1142, allocations: 100.8 kB / 0.5077 GB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1143, allocations: 4 kB / 0.5077 GB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.663e-05/0.1143, allocations: 8 kB / 0.5077 GB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.1143, allocations: 4 kB / 0.5077 GB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.1143, allocations: 7.922 kB / 0.5077 GB, free: 4.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.1145, allocations: 159.2 kB / 0.5079 GB, free: 4.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1145, allocations: 4 kB / 0.5079 GB, free: 4.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001791/0.1147, allocations: 4 kB / 0.5079 GB, free: 4.566 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.887e-05/0.1148, allocations: 95.25 kB / 0.508 GB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.1149, allocations: 23.92 kB / 0.508 GB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1149, allocations: 4 kB / 0.508 GB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.952e-05/0.1149, allocations: 11.98 kB / 0.508 GB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.1151, allocations: 13.34 kB / 0.508 GB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.1155, allocations: 185.4 kB / 0.5082 GB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1158, allocations: 0.7117 MB / 0.5089 GB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.479e-05/0.1158, allocations: 15.92 kB / 0.5089 GB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.1159, allocations: 11.44 kB / 0.5089 GB, free: 3.438 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1159, allocations: 4 kB / 0.5089 GB, free: 3.434 MB / 350.1 MB Notification: Performance of Templates: time 0.002837/0.1187, allocations: 0.5788 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)