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.005395/0.005395, allocations: 169.4 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03547/0.03547, allocations: 8.8 MB / 24.65 MB, free: 4.105 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.204/1.204, allocations: 223.2 MB / 250.7 MB, free: 6.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.0007993/0.0007993, allocations: 95.23 kB / 304 MB, free: 4.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003193, allocations: 12 kB / 367.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2123, allocations: 52.54 MB / 419.6 MB, free: 48.1 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0852/0.2976, allocations: 77.25 MB / 496.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.2978, allocations: 59.97 kB / 496.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004561/0.3024, allocations: 1.536 MB / 498.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3024, allocations: 0 / 498.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3024, allocations: 1.594 kB / 498.4 MB, free: 10.28 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.00033/0.3028, allocations: 396.8 kB / 498.8 MB, free: 9.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3028, allocations: 13.84 kB / 498.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.3029, allocations: 75.28 kB / 498.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.303, allocations: 248.4 kB / 499.2 MB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.3031, allocations: 166.4 kB / 499.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.3031, allocations: 154.6 kB / 499.5 MB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.887e-05/0.3032, allocations: 101.9 kB / 499.6 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.3032, allocations: 78.91 kB / 499.7 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.3032, allocations: 154.5 kB / 499.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-05/0.3033, allocations: 150.6 kB / 499.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.301e-05/0.3033, allocations: 154.6 kB / 0.4884 GB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.3036, allocations: 473.9 kB / 0.4888 GB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.446e-05/0.3037, allocations: 169.1 kB / 0.489 GB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3037, allocations: 75.28 kB / 0.4891 GB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3037, allocations: 105.8 kB / 0.4892 GB, free: 7.645 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3037, allocations: 0 / 0.4892 GB, free: 7.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.923e-05/0.3038, allocations: 41.55 kB / 0.4892 GB, free: 7.598 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.3039, allocations: 134.6 kB / 0.4893 GB, free: 7.453 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.000142/0.304, allocations: 131.2 kB / 0.4895 GB, free: 7.316 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.304, allocations: 29.69 kB / 0.4895 GB, free: 7.281 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.3041, allocations: 95.98 kB / 0.4896 GB, free: 7.184 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.3041, allocations: 0 / 0.4896 GB, free: 7.184 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.3041, allocations: 4 kB / 0.4896 GB, free: 7.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.3042, allocations: 314.8 kB / 0.4899 GB, free: 6.863 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.713e-05/0.3042, allocations: 19.98 kB / 0.4899 GB, free: 6.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.307e-05/0.3043, allocations: 57.12 kB / 0.49 GB, free: 6.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.3044, allocations: 53.69 kB / 0.49 GB, free: 6.711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3044, allocations: 0 / 0.49 GB, free: 6.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004058/0.3048, allocations: 327 kB / 0.4903 GB, free: 6.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.3048, allocations: 29.7 kB / 0.4903 GB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3049, allocations: 3.984 kB / 0.4903 GB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.305, allocations: 45.89 kB / 0.4904 GB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.3053, allocations: 27.97 kB / 0.4904 GB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/0.3083, allocations: 5.193 MB / 0.4955 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.801e-05/0.3084, allocations: 11.94 kB / 0.4955 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3084, allocations: 4.25 kB / 0.4955 GB, free: 492 kB / 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.0001236/0.3086, allocations: 209.6 kB / 0.4957 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.3086, allocations: 112.9 kB / 0.4958 GB, free: 152 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.3087, allocations: 109.1 kB / 0.4959 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.334e-05/0.3088, allocations: 180.3 kB / 0.4961 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.399e-05/0.3088, allocations: 192.2 kB / 0.4963 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.166e-05/0.3089, allocations: 180.2 kB / 0.4964 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.3091, allocations: 417.2 kB / 0.4968 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.944e-05/0.3091, allocations: 108.9 kB / 0.4969 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-05/0.3091, allocations: 101 kB / 0.497 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.997e-05/0.3092, allocations: 180.2 kB / 0.4972 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.3093, allocations: 184.2 kB / 0.4974 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.557e-05/0.3093, allocations: 180.3 kB / 0.4976 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.901e-05/0.3094, allocations: 188.2 kB / 0.4977 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.3095, allocations: 307.7 kB / 0.498 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.3095, allocations: 194 kB / 0.4982 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.3096, allocations: 176.3 kB / 0.4984 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.3097, allocations: 112.9 kB / 0.4985 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.3097, allocations: 176.3 kB / 0.4987 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.3098, allocations: 102 kB / 0.4988 GB, free: 12.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.168e-05/0.3098, allocations: 117.5 kB / 0.4989 GB, free: 12.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3099, allocations: 4 kB / 0.4989 GB, free: 12.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.3101, allocations: 16 kB / 0.4989 GB, free: 12.79 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 () * 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.0001074/0.3102, allocations: 171.9 kB / 0.4991 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007425/0.311, allocations: 353.4 kB / 0.4994 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.311, allocations: 0 / 0.4994 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.311, allocations: 0 / 0.4994 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.3113, allocations: 0.5262 MB / 0.4999 GB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.3115, allocations: 221.6 kB / 0.5001 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.3118, allocations: 0.6965 MB / 0.5008 GB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.623e-05/0.3118, allocations: 4 kB / 0.5008 GB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.3118, allocations: 15.42 kB / 0.5008 GB, free: 10.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3118, allocations: 0 / 0.5008 GB, free: 10.71 MB / 378.7 MB Notification: Performance of Templates: time 0.002535/0.3144, allocations: 0.723 MB / 0.5015 GB, free: 9.996 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)