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.001144/0.001144, 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.456/1.456, allocations: 223.2 MB / 238.9 MB, free: 5.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.001346/0.001346, allocations: 185 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03255/0.03255, allocations: 8.8 MB / 350.1 MB, free: 4.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004839, allocations: 14.78 kB / 413.1 MB, free: 42.95 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1018, allocations: 52.56 MB / 465.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.000731/0.1026, allocations: 254.2 kB / 465.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1039, allocations: 1.087 MB / 467 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.1039, allocations: 0 / 467 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.1041, allocations: 7.984 kB / 467 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.1042, allocations: 15.97 kB / 467 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.456e-05/0.1043, allocations: 19.88 kB / 467 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.487e-05/0.1044, allocations: 27.95 kB / 467 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.1044, allocations: 0 / 467 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.903e-05/0.1045, allocations: 19.91 kB / 467.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1046, allocations: 43.89 kB / 467.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1047, allocations: 0 / 467.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.1047, allocations: 4 kB / 467.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.535e-05/0.1048, allocations: 35.89 kB / 467.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.1048, allocations: 37.58 kB / 467.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.171e-05/0.1049, allocations: 35.95 kB / 467.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1049, allocations: 0 / 467.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1049, allocations: 0 / 467.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1049, allocations: 0 / 467.2 MB, free: 11.96 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.0005582/0.1054, allocations: 399.2 kB / 467.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1055, allocations: 8.031 kB / 467.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.1055, allocations: 15.86 kB / 467.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.1058, allocations: 227.2 kB / 467.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1058, allocations: 0 / 467.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1058, allocations: 4 kB / 467.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.62e-05/0.1059, allocations: 37.62 kB / 467.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1059, allocations: 0 / 467.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.1059, allocations: 0 / 467.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1059, allocations: 3.938 kB / 467.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.106, allocations: 15.95 kB / 467.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.1062, allocations: 189.7 kB / 468.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.769e-05/0.1062, allocations: 38.56 kB / 468.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1063, allocations: 0 / 468.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.1063, allocations: 34.56 kB / 468.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.1063, allocations: 0 / 468.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001707/0.1065, allocations: 69.61 kB / 468.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1065, allocations: 55.39 kB / 468.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.1067, allocations: 210.3 kB / 468.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1068, allocations: 29.7 kB / 468.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.1068, allocations: 108.1 kB / 468.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.1068, allocations: 7.891 kB / 468.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.1069, allocations: 0 / 468.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.107, allocations: 330.8 kB / 469 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.107, allocations: 4 kB / 469 MB, free: 10 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.107, allocations: 4 kB / 469 MB, free: 10 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.107, allocations: 11.98 kB / 469 MB, free: 9.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1071, allocations: 0 / 469 MB, free: 9.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.821e-05/0.1071, allocations: 69.44 kB / 469.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1072, allocations: 4 kB / 469.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1072, allocations: 0 / 469.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1072, allocations: 0 / 469.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.1072, allocations: 7.984 kB / 469.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1073, allocations: 0 / 469.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.1073, allocations: 4 kB / 469.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1073, allocations: 0 / 469.1 MB, free: 9.898 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.66e-05/0.1074, allocations: 129.8 kB / 469.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.1074, allocations: 15.84 kB / 469.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.1076, allocations: 70.53 kB / 469.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1076, allocations: 0 / 469.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1076, allocations: 0 / 469.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1076, allocations: 0 / 469.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.1077, allocations: 189.5 kB / 469.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1077, allocations: 0 / 469.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.1078, allocations: 4 kB / 469.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1078, allocations: 3.938 kB / 469.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1078, allocations: 4 kB / 469.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1078, allocations: 4 kB / 469.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1078, allocations: 0 / 469.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.1079, allocations: 88.91 kB / 469.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.108, allocations: 85.02 kB / 469.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.108, allocations: 4 kB / 469.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.783e-05/0.1081, allocations: 3.984 kB / 469.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.1081, allocations: 4.422 kB / 469.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1081, allocations: 4 kB / 469.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.1082, allocations: 164.3 kB / 469.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1082, allocations: 0 / 469.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001734/0.1084, allocations: 8 kB / 469.8 MB, free: 9.027 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 (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 7.687e-05/0.1085, allocations: 95.23 kB / 469.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.168e-05/0.1086, allocations: 23.97 kB / 469.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1086, allocations: 0 / 469.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.001e-05/0.1086, allocations: 15.94 kB / 470 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.1087, allocations: 7.891 kB / 470 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.109, allocations: 211.2 kB / 470.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1093, allocations: 0.7121 MB / 470.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.397e-05/0.1094, allocations: 16.17 kB / 470.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.1094, allocations: 11.44 kB / 470.9 MB, free: 7.875 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1094, allocations: 0 / 470.9 MB, free: 7.875 MB / 302.1 MB Notification: Performance of Templates: time 0.002229/0.1116, allocations: 0.5219 MB / 471.4 MB, free: 7.355 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: