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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.00139/0.00139, allocations: 178.9 kB / 16.12 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04644/0.04644, allocations: 8.772 MB / 25.64 MB, free: 3.422 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 233.9 MB, free: 12.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008477/0.0008477, allocations: 94.23 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006261/0.0006262, allocations: 12 kB / 344.8 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3411, allocations: 49.7 MB / 394.5 MB, free: 36.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.4657, allocations: 76.29 MB / 470.8 MB, free: 8.363 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.466, allocations: 59.97 kB / 470.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005631/0.4717, allocations: 1.348 MB / 472.2 MB, free: 6.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4717, allocations: 0 / 472.2 MB, free: 6.957 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.4717, allocations: 0 / 472.2 MB, free: 6.957 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.0005083/0.4722, allocations: 397 kB / 472.6 MB, free: 6.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4723, allocations: 12.03 kB / 472.6 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.627e-05/0.4724, allocations: 80.22 kB / 472.7 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.4726, allocations: 247.6 kB / 472.9 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.99e-05/0.4727, allocations: 158.9 kB / 473.1 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/0.4727, allocations: 154.9 kB / 473.2 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.571e-05/0.4728, allocations: 101.5 kB / 473.3 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.4729, allocations: 79.47 kB / 473.4 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.473, allocations: 154.7 kB / 473.5 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.633e-05/0.473, allocations: 154.5 kB / 473.7 MB, free: 5.344 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.294e-05/0.4731, allocations: 158.6 kB / 473.9 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.4735, allocations: 469.8 kB / 474.3 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4736, allocations: 169.1 kB / 474.5 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.111e-05/0.4737, allocations: 84.14 kB / 474.6 MB, free: 4.418 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.912e-05/0.4737, allocations: 79.22 kB / 474.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.4738, allocations: 109.8 kB / 474.7 MB, free: 4.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.4738, allocations: 0 / 474.7 MB, free: 4.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001085/0.4739, allocations: 41.62 kB / 474.8 MB, free: 4.176 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.474, allocations: 126.7 kB / 474.9 MB, free: 4.039 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-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.0002311/0.4743, allocations: 152.7 kB / 475.1 MB, free: 3.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.4743, allocations: 25.7 kB / 475.1 MB, free: 3.852 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.4744, allocations: 88.14 kB / 475.2 MB, free: 3.762 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.099e-06/0.4744, allocations: 3.984 kB / 475.2 MB, free: 3.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.4744, allocations: 0 / 475.2 MB, free: 3.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4746, allocations: 318.8 kB / 475.5 MB, free: 3.438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.015e-05/0.4746, allocations: 20 kB / 475.5 MB, free: 3.418 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.714e-05/0.4747, allocations: 61.06 kB / 475.6 MB, free: 3.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.4749, allocations: 90.78 kB / 475.7 MB, free: 3.227 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4749, allocations: 0 / 475.7 MB, free: 3.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006102/0.4755, allocations: 331.1 kB / 476 MB, free: 2.848 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.4756, allocations: 37.64 kB / 476 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4756, allocations: 0 / 476 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.4759, allocations: 45.62 kB / 476.1 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.4761, allocations: 27.98 kB / 476.1 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004852/0.481, allocations: 5.185 MB / 481.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.854e-05/0.4811, allocations: 11.84 kB / 481.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.4812, allocations: 0 / 481.3 MB, free: 13 MB / 362.7 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 (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.0002/0.4814, allocations: 209 kB / 481.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4815, allocations: 109 kB / 481.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.125e-05/0.4816, allocations: 124.7 kB / 481.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.674e-05/0.4817, allocations: 180.2 kB / 481.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001007/0.4818, allocations: 188.2 kB / 482.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.54e-05/0.4819, allocations: 180.2 kB / 482.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.4822, allocations: 413.2 kB / 482.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-05/0.4823, allocations: 108.9 kB / 482.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.4824, allocations: 105 kB / 482.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.575e-05/0.4825, allocations: 188.2 kB / 483 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-05/0.4826, allocations: 176.3 kB / 483.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8e-05/0.4827, allocations: 176.3 kB / 483.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.647e-05/0.4828, allocations: 184.2 kB / 483.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.483, allocations: 321.1 kB / 483.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.4831, allocations: 186 kB / 484.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.194e-05/0.4832, allocations: 176.3 kB / 484.2 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.4833, allocations: 108.9 kB / 484.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.4834, allocations: 184.3 kB / 484.5 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/0.4835, allocations: 112.9 kB / 484.6 MB, free: 9.414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.4836, allocations: 110.2 kB / 484.7 MB, free: 9.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4836, allocations: 0 / 484.7 MB, free: 9.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004218/0.4841, allocations: 15.94 kB / 484.8 MB, free: 9.293 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 () * 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 (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.00016/0.4842, allocations: 170.5 kB / 484.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009579/0.4852, allocations: 344.8 kB / 485.3 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4852, allocations: 0 / 485.3 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.4852, allocations: 0 / 485.3 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.4858, allocations: 0.5266 MB / 485.8 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.4861, allocations: 227.3 kB / 486 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.4865, allocations: 0.6926 MB / 486.7 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.813e-05/0.4865, allocations: 3.984 kB / 486.7 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.4865, allocations: 11.44 kB / 486.7 MB, free: 7.227 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4866, allocations: 0 / 486.7 MB, free: 7.227 MB / 362.7 MB Notification: Performance of Templates: time 0.003852/0.4904, allocations: 0.7327 MB / 487.5 MB, free: 6.496 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)