Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.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.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") translateModel(HanserModelica.VariablesTypes.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007243/0.00725, allocations: 104.7 kB / 15.73 MB, free: 6.035 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.39/1.39, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001303/0.001303, allocations: 184.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03464/0.03464, allocations: 8.799 MB / 348.7 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 83.88 kB / 463.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.09927, allocations: 51.56 MB / 0.5034 GB, free: 9.512 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/VariablesTypes/InitializationParameters.mo:5:3-5:28:writable] Warning: Parameter b has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001995/0.1013, allocations: 0.5046 MB / 0.5039 GB, free: 9.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006212/0.1019, allocations: 300.1 kB / 0.5042 GB, free: 8.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.102, allocations: 0 / 0.5042 GB, free: 8.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.435e-05/0.1021, allocations: 7.875 kB / 0.5042 GB, free: 8.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.1025, allocations: 55.81 kB / 0.5042 GB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.42e-05/0.1026, allocations: 15.92 kB / 0.5042 GB, free: 8.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.1027, allocations: 23.92 kB / 0.5043 GB, free: 8.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.94e-05/0.1028, allocations: 4 kB / 0.5043 GB, free: 8.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.655e-05/0.1029, allocations: 15.97 kB / 0.5043 GB, free: 8.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.1033, allocations: 59.88 kB / 0.5043 GB, free: 8.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1033, allocations: 4 kB / 0.5043 GB, free: 8.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/0.1033, allocations: 0 / 0.5043 GB, free: 8.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.1034, allocations: 15.92 kB / 0.5043 GB, free: 8.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.1034, allocations: 19.86 kB / 0.5044 GB, free: 8.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.395e-05/0.1035, allocations: 27.91 kB / 0.5044 GB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1035, allocations: 0 / 0.5044 GB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1036, allocations: 0 / 0.5044 GB, free: 8.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.1036, allocations: 4 kB / 0.5044 GB, free: 8.461 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005508/0.1041, allocations: 396.9 kB / 0.5048 GB, free: 8.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1042, allocations: 12.03 kB / 0.5048 GB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.1043, allocations: 88.11 kB / 0.5049 GB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1045, allocations: 249.1 kB / 0.5051 GB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.1046, allocations: 158.9 kB / 0.5053 GB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.1046, allocations: 154.9 kB / 0.5054 GB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.228e-05/0.1047, allocations: 113.4 kB / 0.5055 GB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.1047, allocations: 75.47 kB / 0.5056 GB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.1048, allocations: 154.5 kB / 0.5057 GB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/0.1049, allocations: 150.6 kB / 0.5059 GB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.644e-05/0.1049, allocations: 158.5 kB / 0.506 GB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.1053, allocations: 461.9 kB / 0.5065 GB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.465e-05/0.1054, allocations: 181.1 kB / 0.5066 GB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.1054, allocations: 80.14 kB / 0.5067 GB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.1055, allocations: 83.31 kB / 0.5068 GB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.1055, allocations: 109.8 kB / 0.5069 GB, free: 5.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1055, allocations: 0 / 0.5069 GB, free: 5.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.489e-05/0.1056, allocations: 37.55 kB / 0.5069 GB, free: 5.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.1057, allocations: 130.6 kB / 0.5071 GB, free: 5.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1059, allocations: 147.5 kB / 0.5072 GB, free: 5.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1059, allocations: 29.7 kB / 0.5072 GB, free: 5.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.106, allocations: 96.05 kB / 0.5073 GB, free: 5.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.106, allocations: 0 / 0.5073 GB, free: 5.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.1061, allocations: 29.7 kB / 0.5074 GB, free: 5.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1062, allocations: 314.8 kB / 0.5077 GB, free: 4.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.862e-05/0.1063, allocations: 15.98 kB / 0.5077 GB, free: 4.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.255e-05/0.1063, allocations: 49.14 kB / 0.5077 GB, free: 4.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1065, allocations: 94.78 kB / 0.5078 GB, free: 4.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1065, allocations: 0 / 0.5078 GB, free: 4.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004882/0.107, allocations: 331 kB / 0.5081 GB, free: 4.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.107, allocations: 37.69 kB / 0.5082 GB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.107, allocations: 0 / 0.5082 GB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/0.1073, allocations: 41.83 kB / 0.5082 GB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.1075, allocations: 31.97 kB / 0.5082 GB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/0.1114, allocations: 5.568 MB / 0.5137 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.1114, allocations: 7.969 kB / 0.5137 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.1115, allocations: 4 kB / 0.5137 GB, free: 14.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.1116, allocations: 213 kB / 0.5139 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.1117, allocations: 112.8 kB / 0.514 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.1117, allocations: 112.8 kB / 0.5141 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.514e-05/0.1118, allocations: 180.2 kB / 0.5143 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.568e-05/0.1118, allocations: 180.3 kB / 0.5144 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.336e-05/0.1119, allocations: 180.3 kB / 0.5146 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.1121, allocations: 421.1 kB / 0.515 GB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.372e-05/0.1122, allocations: 109 kB / 0.5151 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.1122, allocations: 104.9 kB / 0.5152 GB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.025e-05/0.1123, allocations: 184.4 kB / 0.5154 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/0.1123, allocations: 176.3 kB / 0.5156 GB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-05/0.1124, allocations: 192.2 kB / 0.5157 GB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.835e-05/0.1125, allocations: 180.2 kB / 0.5159 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.1126, allocations: 315.6 kB / 0.5162 GB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.1127, allocations: 193.9 kB / 0.5164 GB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.946e-05/0.1128, allocations: 180.3 kB / 0.5166 GB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.1129, allocations: 105 kB / 0.5167 GB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.399e-05/0.113, allocations: 180.2 kB / 0.5168 GB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.113, allocations: 105 kB / 0.5169 GB, free: 10.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.591e-05/0.1131, allocations: 113.4 kB / 0.5171 GB, free: 10.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1131, allocations: 0 / 0.5171 GB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1134, allocations: 12 kB / 0.5171 GB, free: 10.35 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001023/0.1135, allocations: 178.5 kB / 0.5172 GB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007285/0.1142, allocations: 344.7 kB / 0.5176 GB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1142, allocations: 0 / 0.5176 GB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.1143, allocations: 3.938 kB / 0.5176 GB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1146, allocations: 464 kB / 0.518 GB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.115, allocations: 220 kB / 0.5182 GB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.1153, allocations: 0.6963 MB / 0.5189 GB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.784e-05/0.1153, allocations: 0 / 0.5189 GB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.1154, allocations: 7.438 kB / 0.5189 GB, free: 8.359 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1154, allocations: 0 / 0.5189 GB, free: 8.359 MB / 366.1 MB Notification: Performance of Templates: time 0.003063/0.1184, allocations: 0.7679 MB / 0.5197 GB, free: 7.594 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.sim & ./HanserModelica_HanserModelica.VariablesTypes.InitializationParameters -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1)