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.001087/0.001087, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.326/1.326, allocations: 222.9 MB / 240.1 MB, free: 4.367 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.001253/0.001253, allocations: 188.5 kB / 290.4 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03696/0.03696, allocations: 8.805 MB / 349.3 MB, free: 4.562 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 79.88 kB / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08195/0.08354, allocations: 51.56 MB / 0.504 GB, free: 9.449 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.001426/0.085, allocations: 0.5101 MB / 0.5045 GB, free: 8.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00054/0.08555, allocations: 296.2 kB / 0.5048 GB, free: 8.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.08559, allocations: 0 / 0.5048 GB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.08563, allocations: 11.86 kB / 0.5048 GB, free: 8.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.08596, allocations: 59.75 kB / 0.5049 GB, free: 8.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.198e-05/0.08603, allocations: 11.94 kB / 0.5049 GB, free: 8.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.08614, allocations: 27.91 kB / 0.5049 GB, free: 8.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.08618, allocations: 7.984 kB / 0.5049 GB, free: 8.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.385e-05/0.08623, allocations: 15.98 kB / 0.505 GB, free: 8.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.08649, allocations: 59.88 kB / 0.505 GB, free: 8.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.08651, allocations: 0 / 0.505 GB, free: 8.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.08653, allocations: 0 / 0.505 GB, free: 8.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.08658, allocations: 15.92 kB / 0.505 GB, free: 8.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.08662, allocations: 19.88 kB / 0.505 GB, free: 8.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.735e-05/0.08669, allocations: 27.89 kB / 0.5051 GB, free: 8.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.0867, allocations: 0 / 0.5051 GB, free: 8.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.0867, allocations: 0 / 0.5051 GB, free: 8.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.08672, allocations: 4 kB / 0.5051 GB, free: 8.391 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.0004158/0.08714, allocations: 400.9 kB / 0.5055 GB, free: 7.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.08718, allocations: 8.031 kB / 0.5055 GB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.08724, allocations: 84.12 kB / 0.5055 GB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.08739, allocations: 247.6 kB / 0.5058 GB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.08745, allocations: 158.9 kB / 0.5059 GB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/0.0875, allocations: 158.9 kB / 0.5061 GB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.289e-05/0.08756, allocations: 105.5 kB / 0.5062 GB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.08759, allocations: 75.47 kB / 0.5063 GB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.08764, allocations: 154.5 kB / 0.5064 GB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/0.08769, allocations: 150.6 kB / 0.5066 GB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.246e-05/0.08773, allocations: 154.6 kB / 0.5067 GB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002514/0.08799, allocations: 469.9 kB / 0.5071 GB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.394e-05/0.08806, allocations: 173.1 kB / 0.5073 GB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.08809, allocations: 80.14 kB / 0.5074 GB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.08813, allocations: 79.28 kB / 0.5075 GB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.08817, 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.08817, allocations: 0 / 0.5076 GB, free: 5.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.895e-05/0.08825, allocations: 37.55 kB / 0.5076 GB, free: 5.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.08827, allocations: 55.34 kB / 0.5077 GB, free: 5.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.08841, allocations: 147.4 kB / 0.5078 GB, free: 5.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.08844, allocations: 33.7 kB / 0.5078 GB, free: 5.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.08849, allocations: 92.09 kB / 0.5079 GB, free: 5.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.0885, allocations: 0 / 0.5079 GB, free: 5.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.08854, allocations: 29.72 kB / 0.5079 GB, free: 5.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.08864, allocations: 314.8 kB / 0.5082 GB, free: 4.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.08868, allocations: 19.98 kB / 0.5083 GB, free: 4.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.08875, allocations: 53.12 kB / 0.5083 GB, free: 4.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.133e-05/0.08885, allocations: 90.8 kB / 0.5084 GB, free: 4.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.08887, allocations: 3.938 kB / 0.5084 GB, free: 4.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004291/0.08931, allocations: 335 kB / 0.5087 GB, free: 4.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.08935, allocations: 33.7 kB / 0.5088 GB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.08936, allocations: 0 / 0.5088 GB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.08954, allocations: 45.62 kB / 0.5088 GB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.08978, allocations: 28.17 kB / 0.5088 GB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.09311, allocations: 5.571 MB / 0.5143 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.09319, allocations: 7.969 kB / 0.5143 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.09321, allocations: 4 kB / 0.5143 GB, free: 14.06 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.0001087/0.09333, allocations: 217 kB / 0.5145 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.09339, allocations: 108.8 kB / 0.5146 GB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.09343, allocations: 108.9 kB / 0.5147 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.086e-05/0.09349, allocations: 180.2 kB / 0.5149 GB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/0.09352, allocations: 105 kB / 0.515 GB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.0936, allocations: 190 kB / 0.5151 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.09366, allocations: 188.2 kB / 0.5153 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.09374, allocations: 108.9 kB / 0.5154 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.0938, allocations: 180.2 kB / 0.5156 GB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.091e-05/0.09387, allocations: 255.7 kB / 0.5158 GB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000134/0.09401, allocations: 395 kB / 0.5162 GB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.236e-05/0.09405, allocations: 105 kB / 0.5163 GB, free: 11.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.787e-05/0.09412, allocations: 109.5 kB / 0.5164 GB, free: 11.73 MB / 366.1 MB Notification: Performance of Backend: time 2.8e-07/0.09413, allocations: 0 / 0.5164 GB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000939/0.09507, allocations: 423.3 kB / 0.5168 GB, free: 11.27 MB / 366.1 MB Notification: Performance of SimCode: time 0.0004503/0.09554, allocations: 0.8998 MB / 0.5177 GB, free: 10.32 MB / 366.1 MB Notification: Performance of Templates: time 0.002852/0.0984, allocations: 0.7838 MB / 0.5185 GB, free: 9.539 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)