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.008996/0.008997, allocations: 104 kB / 15.73 MB, free: 6.043 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.542/1.542, 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.001325/0.001325, allocations: 191.4 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03605/0.03605, allocations: 8.802 MB / 348.6 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 79.88 kB / 463.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1084, allocations: 51.56 MB / 0.5034 GB, free: 9.523 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.002066/0.1105, allocations: 0.5124 MB / 0.5039 GB, free: 9.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006639/0.1112, allocations: 300.1 kB / 0.5042 GB, free: 8.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.1113, allocations: 0 / 0.5042 GB, free: 8.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.504e-05/0.1113, allocations: 8 kB / 0.5042 GB, free: 8.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.1118, allocations: 55.75 kB / 0.5042 GB, free: 8.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.064e-05/0.1119, allocations: 11.98 kB / 0.5042 GB, free: 8.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.112, allocations: 27.86 kB / 0.5043 GB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.1121, allocations: 4 kB / 0.5043 GB, free: 8.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.1121, allocations: 11.98 kB / 0.5043 GB, free: 8.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.1125, allocations: 63.86 kB / 0.5043 GB, free: 8.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1126, allocations: 0 / 0.5043 GB, free: 8.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.1126, allocations: 4 kB / 0.5043 GB, free: 8.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.1127, allocations: 15.92 kB / 0.5044 GB, free: 8.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.1127, allocations: 19.86 kB / 0.5044 GB, free: 8.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.1128, allocations: 23.92 kB / 0.5044 GB, free: 8.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.1128, allocations: 4 kB / 0.5044 GB, free: 8.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1128, allocations: 0 / 0.5044 GB, free: 8.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1129, allocations: 0 / 0.5044 GB, free: 8.469 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.0006006/0.1135, allocations: 393 kB / 0.5048 GB, free: 8.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1135, allocations: 15.91 kB / 0.5048 GB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.1136, allocations: 84.12 kB / 0.5049 GB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1138, allocations: 259.5 kB / 0.5051 GB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.1139, allocations: 158.9 kB / 0.5053 GB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.114, allocations: 154.9 kB / 0.5054 GB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.011e-05/0.114, allocations: 105.5 kB / 0.5055 GB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/0.1141, allocations: 75.47 kB / 0.5056 GB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/0.1142, allocations: 154.5 kB / 0.5057 GB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-05/0.1142, allocations: 150.6 kB / 0.5059 GB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.1143, allocations: 158.5 kB / 0.506 GB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.1147, allocations: 473.9 kB / 0.5065 GB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1149, allocations: 165.1 kB / 0.5066 GB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.1149, allocations: 84.12 kB / 0.5067 GB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.115, allocations: 75.33 kB / 0.5068 GB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.968e-05/0.115, allocations: 117.8 kB / 0.5069 GB, free: 5.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 4.208e-06/0.115, allocations: 0 / 0.5069 GB, free: 5.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001182/0.1152, allocations: 45.48 kB / 0.5069 GB, free: 5.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.1152, allocations: 126.7 kB / 0.5071 GB, free: 5.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1155, allocations: 147.5 kB / 0.5072 GB, free: 5.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1155, allocations: 25.7 kB / 0.5072 GB, free: 5.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.1155, allocations: 92.05 kB / 0.5073 GB, free: 5.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.1156, allocations: 0 / 0.5073 GB, free: 5.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.1156, allocations: 29.7 kB / 0.5073 GB, free: 5.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1158, allocations: 318.8 kB / 0.5077 GB, free: 4.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.1159, allocations: 15.98 kB / 0.5077 GB, free: 4.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/0.1159, allocations: 53.14 kB / 0.5077 GB, free: 4.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1161, allocations: 94.72 kB / 0.5078 GB, free: 4.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1161, allocations: 4 kB / 0.5078 GB, free: 4.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005506/0.1167, allocations: 319.2 kB / 0.5081 GB, free: 4.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.1167, allocations: 33.7 kB / 0.5081 GB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.1167, allocations: 3.984 kB / 0.5082 GB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.117, allocations: 45.64 kB / 0.5082 GB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.1172, allocations: 28.03 kB / 0.5082 GB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003925/0.1212, allocations: 5.572 MB / 0.5137 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.1212, allocations: 7.938 kB / 0.5137 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1213, allocations: 11.94 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.0001013/0.1214, allocations: 204.9 kB / 0.5139 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.1214, allocations: 113 kB / 0.514 GB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.1215, allocations: 116.8 kB / 0.5141 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.247e-05/0.1215, allocations: 184.2 kB / 0.5143 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.852e-05/0.1216, allocations: 176.3 kB / 0.5144 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.749e-05/0.1217, allocations: 180.2 kB / 0.5146 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.1219, allocations: 417.2 kB / 0.515 GB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.569e-05/0.1219, allocations: 120.9 kB / 0.5151 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.1219, allocations: 101 kB / 0.5152 GB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.183e-05/0.122, allocations: 184.4 kB / 0.5154 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.1221, allocations: 180.2 kB / 0.5156 GB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.508e-05/0.1221, allocations: 184.3 kB / 0.5157 GB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.364e-05/0.1222, allocations: 184.2 kB / 0.5159 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.1223, allocations: 315.6 kB / 0.5162 GB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.837e-05/0.1224, allocations: 186 kB / 0.5164 GB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.1225, allocations: 184.2 kB / 0.5166 GB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.1226, allocations: 104.9 kB / 0.5167 GB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.1226, allocations: 184.3 kB / 0.5169 GB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.1227, allocations: 104.9 kB / 0.517 GB, free: 10.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.747e-05/0.1228, allocations: 113.4 kB / 0.5171 GB, free: 10.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1228, allocations: 0 / 0.5171 GB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.123, allocations: 8 kB / 0.5171 GB, free: 10.36 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.0001203/0.1232, allocations: 174.5 kB / 0.5172 GB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007866/0.124, allocations: 344.7 kB / 0.5176 GB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.124, allocations: 0 / 0.5176 GB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.827e-06/0.124, allocations: 7.984 kB / 0.5176 GB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1244, allocations: 460.1 kB / 0.518 GB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.1247, allocations: 216.1 kB / 0.5182 GB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.1249, allocations: 0.6885 MB / 0.5189 GB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.655e-05/0.1249, allocations: 4 kB / 0.5189 GB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.125, allocations: 11.44 kB / 0.5189 GB, free: 8.371 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.125, allocations: 3.938 kB / 0.5189 GB, free: 8.367 MB / 366.1 MB Notification: Performance of Templates: time 0.00313/0.1281, allocations: 0.7603 MB / 0.5196 GB, free: 7.605 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)