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.001161/0.001161, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04007/0.04007, allocations: 8.699 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.4 MB / 246 MB, free: 3.543 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.0008073/0.0008074, allocations: 95.91 kB / 299.1 MB, free: 2.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.482e-05, allocations: 4 kB / 359.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2572, allocations: 52.53 MB / 412 MB, free: 22.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.3927, allocations: 77.18 MB / 489.2 MB, free: 9.281 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.3929, allocations: 63.91 kB / 489.3 MB, free: 9.219 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004736/0.3977, allocations: 1.528 MB / 490.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3977, allocations: 0 / 490.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3977, allocations: 3.938 kB / 490.8 MB, free: 7.688 MB / 362.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.0003359/0.398, allocations: 396 kB / 491.2 MB, free: 7.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3981, allocations: 8.031 kB / 491.2 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.3981, allocations: 79.28 kB / 491.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.3983, allocations: 243.8 kB / 491.5 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.3983, allocations: 150.6 kB / 491.7 MB, free: 6.738 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.3984, allocations: 162.6 kB / 491.8 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.744e-05/0.3985, allocations: 105.1 kB / 491.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.3985, allocations: 75.28 kB / 492 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.3986, allocations: 154.5 kB / 492.2 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/0.3986, allocations: 150.6 kB / 492.3 MB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.629e-05/0.3987, allocations: 158.5 kB / 492.5 MB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.399, allocations: 465.9 kB / 492.9 MB, free: 5.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.193e-05/0.3991, allocations: 173.1 kB / 493.1 MB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.3991, allocations: 80.14 kB / 493.2 MB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3991, allocations: 79.28 kB / 493.2 MB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.3992, allocations: 109.8 kB / 493.4 MB, free: 4.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.625e-06/0.3992, allocations: 3.984 kB / 493.4 MB, free: 4.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.663e-05/0.3993, allocations: 37.56 kB / 493.4 MB, free: 4.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.3993, allocations: 134.6 kB / 493.5 MB, free: 4.785 MB / 362.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.0001617/0.3995, allocations: 138.8 kB / 493.7 MB, free: 4.641 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3995, allocations: 25.7 kB / 493.7 MB, free: 4.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.3996, allocations: 96.03 kB / 493.8 MB, free: 4.512 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.3996, allocations: 4 kB / 493.8 MB, free: 4.508 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.3996, allocations: 0 / 493.8 MB, free: 4.508 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3997, allocations: 322.8 kB / 494.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.3998, allocations: 12 kB / 494.1 MB, free: 4.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.038e-05/0.3998, allocations: 57.12 kB / 494.2 MB, free: 4.098 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.363e-05/0.3999, allocations: 53.69 kB / 494.2 MB, free: 4.039 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3999, allocations: 0 / 494.2 MB, free: 4.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000476/0.4004, allocations: 323.2 kB / 494.5 MB, free: 3.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.4005, allocations: 33.7 kB / 494.6 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4005, allocations: 0 / 494.6 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.4007, allocations: 45.69 kB / 494.6 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.4009, allocations: 23.98 kB / 494.6 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003297/0.4042, allocations: 5.173 MB / 499.8 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.4043, allocations: 11.84 kB / 499.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.4043, allocations: 4 kB / 499.8 MB, free: 13.83 MB / 378.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 () * 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 9.15e-05/0.4044, allocations: 184.2 kB / 0.4883 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/0.4045, allocations: 117.1 kB / 0.4884 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.4045, allocations: 112.7 kB / 0.4885 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.146e-05/0.4046, allocations: 180.3 kB / 0.4887 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.438e-05/0.4047, allocations: 184.1 kB / 0.4888 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.764e-05/0.4047, allocations: 176.3 kB / 0.489 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.405, allocations: 429.1 kB / 0.4894 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-05/0.4051, allocations: 105 kB / 0.4895 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.4051, allocations: 101 kB / 0.4896 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.748e-05/0.4052, allocations: 180.2 kB / 0.4898 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/0.4052, allocations: 192.2 kB / 0.49 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.695e-05/0.4053, allocations: 180.2 kB / 0.4901 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.462e-05/0.4054, allocations: 176.3 kB / 0.4903 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.4055, allocations: 311.7 kB / 0.4906 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.451e-05/0.4056, allocations: 190 kB / 0.4908 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.917e-05/0.4057, allocations: 184.2 kB / 0.491 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.4057, allocations: 101 kB / 0.4911 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.4058, allocations: 188.1 kB / 0.4912 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.4058, allocations: 109.9 kB / 0.4914 GB, free: 10.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.603e-05/0.4059, allocations: 113.6 kB / 0.4915 GB, free: 10.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4059, allocations: 0 / 0.4915 GB, free: 10.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002806/0.4062, allocations: 8 kB / 0.4915 GB, free: 10.17 MB / 378.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.0001179/0.4063, allocations: 174.5 kB / 0.4916 GB, free: 9.984 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007721/0.4071, allocations: 340.6 kB / 0.492 GB, free: 9.613 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4071, allocations: 0 / 0.492 GB, free: 9.613 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.355e-06/0.4071, allocations: 0 / 0.492 GB, free: 9.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.4075, allocations: 0.5343 MB / 0.4925 GB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.4078, allocations: 165.6 kB / 0.4926 GB, free: 8.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.4081, allocations: 0.7004 MB / 0.4933 GB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.291e-05/0.4081, allocations: 4 kB / 0.4933 GB, free: 8.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.4081, allocations: 11.44 kB / 0.4933 GB, free: 8.148 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4081, allocations: 0 / 0.4933 GB, free: 8.148 MB / 378.7 MB Notification: Performance of Templates: time 0.002993/0.4111, allocations: 0.725 MB / 0.494 GB, free: 7.426 MB / 378.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)