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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 170.3 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06605/0.06605, allocations: 8.718 MB / 16.79 MB, free: 3.391 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 221.5 MB / 240.9 MB, free: 13.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008359/0.0008359, allocations: 90.97 kB / 293.9 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.579e-05, allocations: 4 kB / 352.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 52.55 MB / 405.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.5065, allocations: 76.5 MB / 481.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.5068, allocations: 61.81 kB / 481.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004482/0.5113, allocations: 1.519 MB / 483.3 MB, free: 9.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5114, allocations: 0 / 483.3 MB, free: 9.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.5114, allocations: 0 / 483.3 MB, free: 9.414 MB / 346.7 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.0003101/0.5117, allocations: 396.4 kB / 483.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5117, allocations: 15.92 kB / 483.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.5118, allocations: 83.66 kB / 483.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.512, allocations: 243.7 kB / 484 MB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.512, allocations: 151.4 kB / 484.1 MB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.5121, allocations: 158.6 kB / 484.3 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.687e-05/0.5121, allocations: 150.6 kB / 484.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.53e-05/0.5121, allocations: 106.9 kB / 484.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.5122, allocations: 75.28 kB / 484.6 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.5122, allocations: 154.5 kB / 484.8 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.5122, allocations: 159.9 kB / 484.9 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.5125, allocations: 443.9 kB / 485.4 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.33e-05/0.5126, allocations: 171.3 kB / 485.5 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.5126, allocations: 80.14 kB / 485.6 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.5126, allocations: 79.28 kB / 485.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.5127, allocations: 105.8 kB / 485.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.5127, allocations: 0 / 485.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.802e-05/0.5127, allocations: 42.12 kB / 485.8 MB, free: 6.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.602e-05/0.5128, allocations: 51.41 kB / 485.9 MB, free: 6.656 MB / 346.7 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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.5129, allocations: 137.6 kB / 486 MB, free: 6.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.5129, allocations: 25.7 kB / 486 MB, free: 6.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.513, allocations: 95.48 kB / 486.1 MB, free: 6.398 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.513, allocations: 0 / 486.1 MB, free: 6.398 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.513, allocations: 0 / 486.1 MB, free: 6.398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.5131, allocations: 318.3 kB / 486.4 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.142e-05/0.5131, allocations: 15.5 kB / 486.4 MB, free: 6.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.5132, allocations: 48.89 kB / 486.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.857e-05/0.5132, allocations: 31.42 kB / 486.5 MB, free: 5.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5132, allocations: 0 / 486.5 MB, free: 5.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004107/0.5137, allocations: 288.5 kB / 486.8 MB, free: 5.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.5137, allocations: 29.7 kB / 486.8 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5137, allocations: 0 / 486.8 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.5139, allocations: 44.88 kB / 486.9 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.5141, allocations: 23.98 kB / 486.9 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.5165, allocations: 4.955 MB / 491.9 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.5166, allocations: 12.61 kB / 491.9 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.5166, allocations: 7.938 kB / 491.9 MB, free: 220 kB / 346.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: e:VARIABLE(fixed = false ) type: Real 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.5168, allocations: 189 kB / 492.1 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.5169, allocations: 117.8 kB / 492.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.837e-05/0.517, allocations: 109.3 kB / 492.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.741e-05/0.5171, allocations: 180.2 kB / 492.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-05/0.5171, allocations: 184.3 kB / 492.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.956e-05/0.5172, allocations: 177 kB / 492.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.5175, allocations: 395.5 kB / 493.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.041e-05/0.5175, allocations: 109 kB / 493.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.5176, allocations: 108.6 kB / 493.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.5177, allocations: 180.2 kB / 493.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/0.5178, allocations: 176.3 kB / 493.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.042e-05/0.5179, allocations: 181.2 kB / 493.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.764e-05/0.518, allocations: 184.2 kB / 494.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.5182, allocations: 311.9 kB / 494.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.5183, allocations: 183.2 kB / 494.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.5184, allocations: 184.2 kB / 494.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.5186, allocations: 101 kB / 494.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/0.5187, allocations: 188.2 kB / 495.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.5187, allocations: 101.9 kB / 495.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.5188, allocations: 112.5 kB / 495.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5189, allocations: 0.75 kB / 495.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000339/0.5192, allocations: 12 kB / 495.3 MB, free: 12.62 MB / 362.7 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 () * 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 (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 0.000239/0.5194, allocations: 170.5 kB / 495.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008723/0.5203, allocations: 328.2 kB / 495.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5203, allocations: 0 / 495.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.5204, allocations: 0 / 495.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.5208, allocations: 0.5273 MB / 496.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.521, allocations: 173.7 kB / 496.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.5215, allocations: 0.6946 MB / 497.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.831e-05/0.5215, allocations: 8 kB / 497.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.5215, allocations: 7.438 kB / 497.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5215, allocations: 0 / 497.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of Templates: time 0.003117/0.5247, allocations: 0.6751 MB / 497.9 MB, free: 10.04 MB / 362.7 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)