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.001188/0.001188, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.576/1.576, allocations: 222.9 MB / 240 MB, free: 4.578 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.001709/0.001709, allocations: 188.5 kB / 290.3 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03393/0.03393, allocations: 8.792 MB / 349.3 MB, free: 4.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 79.64 kB / 412.5 MB, free: 41.72 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 51.57 MB / 464.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.002611/0.1101, allocations: 0.5263 MB / 464.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1116, allocations: 1.12 MB / 465.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.1117, allocations: 0 / 465.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.1119, allocations: 11.92 kB / 465.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.112, allocations: 19.86 kB / 465.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.278e-05/0.1121, allocations: 8 kB / 465.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.593e-05/0.1122, allocations: 39.83 kB / 465.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.65e-05/0.1122, allocations: 4 kB / 465.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1123, allocations: 27.86 kB / 465.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1125, allocations: 39.88 kB / 465.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.1125, allocations: 8 kB / 465.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.1125, allocations: 0 / 465.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1127, allocations: 39.89 kB / 465.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.331e-05/0.1127, allocations: 23.75 kB / 465.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.1128, allocations: 51.75 kB / 466 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.1128, allocations: 0 / 466 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1129, allocations: 4 kB / 466 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1129, allocations: 0 / 466 MB, free: 11.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0008261/0.1137, allocations: 406.9 kB / 466.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.1138, allocations: 8.031 kB / 466.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.1138, allocations: 12.75 kB / 466.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.1142, allocations: 228 kB / 466.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1142, allocations: 384 / 466.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1142, allocations: 4.359 kB / 466.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1144, allocations: 46 kB / 466.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1144, allocations: 0 / 466.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1144, allocations: 0 / 466.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1144, allocations: 4 kB / 466.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.1145, allocations: 7.984 kB / 466.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.1147, allocations: 193.7 kB / 466.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.1148, allocations: 30.52 kB / 466.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.1149, allocations: 16.94 kB / 466.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.1149, allocations: 4 kB / 466.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.115, allocations: 38.5 kB / 467 MB, free: 10.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.115, allocations: 0 / 467 MB, free: 10.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002339/0.1152, allocations: 69.44 kB / 467 MB, free: 10.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.1153, allocations: 51.41 kB / 467.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.1156, allocations: 218.2 kB / 467.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1156, allocations: 29.64 kB / 467.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.1157, allocations: 104.1 kB / 467.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.1157, allocations: 11.83 kB / 467.5 MB, free: 10 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.1158, allocations: 17.72 kB / 467.5 MB, free: 9.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1159, allocations: 326.8 kB / 467.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.1159, allocations: 4 kB / 467.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.116, allocations: 11.98 kB / 467.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/0.116, allocations: 20.86 kB / 467.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.116, allocations: 0 / 467.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.59e-05/0.1161, allocations: 57.58 kB / 467.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1161, allocations: 7.938 kB / 467.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1161, allocations: 0 / 467.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1162, allocations: 7.938 kB / 467.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.1162, allocations: 8 kB / 467.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1163, allocations: 0 / 467.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.1163, allocations: 3.984 kB / 467.9 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.1163, allocations: 4 kB / 467.9 MB, free: 9.52 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 (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.903e-05/0.1164, allocations: 125.8 kB / 468 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.1164, allocations: 15.75 kB / 468.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.1166, allocations: 70.92 kB / 468.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1166, allocations: 0 / 468.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1166, allocations: 4 kB / 468.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1166, allocations: 0 / 468.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.1168, allocations: 177.6 kB / 468.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1168, allocations: 4 kB / 468.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.1168, allocations: 7.938 kB / 468.3 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1168, allocations: 7.922 kB / 468.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1168, allocations: 8 kB / 468.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1168, allocations: 0 / 468.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1169, allocations: 0 / 468.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.989e-05/0.117, allocations: 77.03 kB / 468.4 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.701e-05/0.117, allocations: 100.8 kB / 468.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1171, allocations: 0 / 468.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.1171, allocations: 8 kB / 468.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.1171, allocations: 0 / 468.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1171, allocations: 3.984 kB / 468.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1173, allocations: 168.2 kB / 468.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1173, allocations: 0 / 468.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001793/0.1175, allocations: 8 kB / 468.7 MB, free: 8.645 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 (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.921e-05/0.1176, allocations: 103.1 kB / 468.8 MB, free: 8.531 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.1177, allocations: 19.98 kB / 468.8 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1177, allocations: 0 / 468.8 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.047e-05/0.1177, allocations: 15.98 kB / 468.8 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.1179, allocations: 4 kB / 468.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.1182, allocations: 193.3 kB / 469 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1186, allocations: 0.706 MB / 469.7 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.784e-05/0.1186, allocations: 23.92 kB / 469.7 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.1187, allocations: 7.438 kB / 469.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1187, allocations: 3.938 kB / 469.8 MB, free: 7.512 MB / 302.1 MB Notification: Performance of Templates: time 0.002619/0.1213, allocations: 0.5749 MB / 470.3 MB, free: 6.938 MB / 302.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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1)