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.001192/0.001192, allocations: 105.1 kB / 16.41 MB, free: 6.449 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.441/1.441, allocations: 222.9 MB / 240.1 MB, free: 4.355 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.001504/0.001504, allocations: 192.4 kB / 290.4 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03396/0.03396, allocations: 8.806 MB / 349.3 MB, free: 4.559 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 79.88 kB / 464.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1116, allocations: 51.56 MB / 0.504 GB, free: 9.453 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.002594/0.1143, allocations: 0.512 MB / 0.5045 GB, free: 8.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009035/0.1152, allocations: 296.2 kB / 0.5048 GB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.1153, allocations: 0 / 0.5048 GB, free: 8.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.895e-05/0.1154, allocations: 11.86 kB / 0.5048 GB, free: 8.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.116, allocations: 51.81 kB / 0.5049 GB, free: 8.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000102/0.1161, allocations: 19.92 kB / 0.5049 GB, free: 8.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1163, allocations: 19.98 kB / 0.5049 GB, free: 8.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.065e-05/0.1163, allocations: 3.984 kB / 0.5049 GB, free: 8.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.509e-05/0.1165, allocations: 19.92 kB / 0.5049 GB, free: 8.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/0.1169, allocations: 55.88 kB / 0.505 GB, free: 8.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.1169, allocations: 4 kB / 0.505 GB, free: 8.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.1169, allocations: 0 / 0.505 GB, free: 8.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.117, allocations: 19.92 kB / 0.505 GB, free: 8.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.1171, allocations: 19.86 kB / 0.505 GB, free: 8.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1172, allocations: 27.91 kB / 0.5051 GB, free: 8.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1172, allocations: 0 / 0.5051 GB, free: 8.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1172, allocations: 4 kB / 0.5051 GB, free: 8.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.1172, allocations: 0 / 0.5051 GB, free: 8.398 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.0007195/0.118, allocations: 399.2 kB / 0.5054 GB, free: 7.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.118, allocations: 8.031 kB / 0.5055 GB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1182, allocations: 88.12 kB / 0.5055 GB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1185, allocations: 255.6 kB / 0.5058 GB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-05/0.1186, allocations: 158.9 kB / 0.5059 GB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/0.1187, allocations: 150.9 kB / 0.5061 GB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1188, allocations: 105.5 kB / 0.5062 GB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.1188, allocations: 79.47 kB / 0.5063 GB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.013e-05/0.1189, allocations: 154.5 kB / 0.5064 GB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.169e-05/0.119, allocations: 154.6 kB / 0.5066 GB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.1191, allocations: 154.6 kB / 0.5067 GB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.1195, allocations: 465.9 kB / 0.5071 GB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.798e-05/0.1196, allocations: 173.1 kB / 0.5073 GB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.1196, allocations: 80.14 kB / 0.5074 GB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.1197, allocations: 83.27 kB / 0.5075 GB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/0.1197, allocations: 109.8 kB / 0.5076 GB, free: 5.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1197, allocations: 0 / 0.5076 GB, free: 5.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.263e-05/0.1198, allocations: 37.55 kB / 0.5076 GB, free: 5.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.1199, allocations: 126.7 kB / 0.5077 GB, free: 5.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1201, allocations: 147.5 kB / 0.5079 GB, free: 5.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1201, allocations: 25.7 kB / 0.5079 GB, free: 5.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.1202, allocations: 96.05 kB / 0.508 GB, free: 5.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/0.1202, allocations: 3.938 kB / 0.508 GB, free: 5.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.1203, allocations: 33.7 kB / 0.508 GB, free: 5.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1204, allocations: 314.8 kB / 0.5083 GB, free: 4.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.1205, allocations: 19.98 kB / 0.5083 GB, free: 4.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.1206, allocations: 57.12 kB / 0.5084 GB, free: 4.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1207, allocations: 90.78 kB / 0.5085 GB, free: 4.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1207, allocations: 0 / 0.5085 GB, free: 4.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005488/0.1213, allocations: 327 kB / 0.5088 GB, free: 4.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.1213, allocations: 29.7 kB / 0.5088 GB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1213, allocations: 7.984 kB / 0.5088 GB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.1216, allocations: 49.81 kB / 0.5089 GB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.1218, allocations: 27.97 kB / 0.5089 GB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00432/0.1261, allocations: 5.564 MB / 0.5143 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.705e-05/0.1262, allocations: 11.97 kB / 0.5143 GB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.1263, allocations: 4 kB / 0.5143 GB, free: 13.99 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.000153/0.1264, allocations: 209 kB / 0.5145 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.1265, allocations: 116.8 kB / 0.5147 GB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.342e-05/0.1266, allocations: 108.9 kB / 0.5148 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.732e-05/0.1266, allocations: 180.2 kB / 0.5149 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.811e-05/0.1267, allocations: 180.2 kB / 0.5151 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.461e-05/0.1268, allocations: 184.2 kB / 0.5153 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.1271, allocations: 425.1 kB / 0.5157 GB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.131e-05/0.1271, allocations: 105 kB / 0.5158 GB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.1272, allocations: 104.9 kB / 0.5159 GB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.123e-05/0.1273, allocations: 180.4 kB / 0.5161 GB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/0.1273, allocations: 180.3 kB / 0.5162 GB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-05/0.1274, allocations: 188.2 kB / 0.5164 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-05/0.1275, allocations: 180.3 kB / 0.5166 GB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.1277, allocations: 315.6 kB / 0.5169 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.1278, allocations: 190 kB / 0.5171 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.715e-05/0.1279, allocations: 192.2 kB / 0.5172 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.128, allocations: 101 kB / 0.5173 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.128, allocations: 180.2 kB / 0.5175 GB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.1281, allocations: 101 kB / 0.5176 GB, free: 10.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.316e-05/0.1282, allocations: 117.3 kB / 0.5177 GB, free: 10.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1282, allocations: 0 / 0.5177 GB, free: 10.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.1285, allocations: 8 kB / 0.5177 GB, free: 10.29 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.0001344/0.1287, allocations: 174.5 kB / 0.5179 GB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006666/0.1293, allocations: 340.7 kB / 0.5182 GB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1293, allocations: 4 kB / 0.5182 GB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.1294, allocations: 0 / 0.5182 GB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.1298, allocations: 464 kB / 0.5187 GB, free: 9.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.1301, allocations: 252.8 kB / 0.5189 GB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1305, allocations: 0.6885 MB / 0.5196 GB, free: 8.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.1305, allocations: 11.44 kB / 0.5196 GB, free: 8.277 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1305, allocations: 0 / 0.5196 GB, free: 8.277 MB / 366.1 MB Notification: Performance of Templates: time 0.00342/0.1339, allocations: 1.127 MB / 0.5207 GB, free: 7.145 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)