Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004302/0.004302, allocations: 170.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03587/0.03587, allocations: 8.801 MB / 24.65 MB, free: 4.109 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.211/1.211, 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.0008424/0.0008424, allocations: 103.9 kB / 304 MB, free: 4.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 16 kB / 367.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2182, allocations: 52.54 MB / 419.6 MB, free: 48.14 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08094/0.2992, allocations: 76.31 MB / 495.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.2994, allocations: 59.97 kB / 496 MB, free: 12.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0009119/0.3004, allocations: 412.9 kB / 496.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.307e-06/0.3004, allocations: 0 / 496.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.3004, allocations: 0 / 496.4 MB, free: 12.34 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003273/0.3007, allocations: 318.7 kB / 496.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3008, allocations: 8.562 kB / 496.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.3008, allocations: 7.891 kB / 496.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.301, allocations: 165.3 kB / 496.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.301, allocations: 4 kB / 496.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.301, allocations: 0 / 496.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.3012, allocations: 44.28 kB / 496.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3012, allocations: 0 / 496.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3012, allocations: 0 / 496.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3012, allocations: 1.219 kB / 496.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.811e-05/0.3012, allocations: 15.88 kB / 496.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.3017, allocations: 189.1 kB / 497.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.285e-05/0.3018, allocations: 41.62 kB / 497.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.3018, allocations: 3.062 kB / 497.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3018, allocations: 42.61 kB / 497.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.3018, allocations: 0 / 497.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001358/0.302, allocations: 45.55 kB / 497.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.302, allocations: 80.3 kB / 497.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.854e-05/0.3021, allocations: 92.98 kB / 497.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3021, allocations: 29.7 kB / 497.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.3021, allocations: 80.14 kB / 497.5 MB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.3022, allocations: 11.84 kB / 497.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/0.3022, allocations: 0 / 497.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.3023, allocations: 315.2 kB / 497.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.3023, allocations: 4 kB / 497.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.3023, allocations: 17.72 kB / 497.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.558e-05/0.3023, allocations: 4 kB / 497.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3024, allocations: 0 / 497.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.2e-05/0.3024, allocations: 49.56 kB / 497.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3024, allocations: 4 kB / 497.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3025, allocations: 128 / 497.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3025, allocations: 8 kB / 497.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.3027, allocations: 23.98 kB / 497.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.3045, allocations: 2.545 MB / 0.4888 GB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.3045, allocations: 3.953 kB / 0.4888 GB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3045, allocations: 3.938 kB / 0.4888 GB, free: 7.734 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * 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): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 8.046e-05/0.3046, allocations: 110.6 kB / 0.4889 GB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.3046, allocations: 7.906 kB / 0.4889 GB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.314e-05/0.3047, allocations: 3.125 kB / 0.4889 GB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3047, allocations: 7.984 kB / 0.4889 GB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.3047, allocations: 192 / 0.4889 GB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3047, allocations: 4 kB / 0.4889 GB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.305, allocations: 189.6 kB / 0.4891 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.305, allocations: 0 / 0.4891 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.3052, allocations: 27.98 kB / 0.4891 GB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3052, allocations: 4 kB / 0.4891 GB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.3052, allocations: 0 / 0.4891 GB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/0.3067, allocations: 2.541 MB / 0.4916 GB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3067, allocations: 320 / 0.4916 GB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.794e-05/0.3068, allocations: 91.64 kB / 0.4917 GB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.3069, allocations: 89 kB / 0.4918 GB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-06/0.3069, allocations: 0 / 0.4918 GB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.884e-05/0.3069, allocations: 0 / 0.4918 GB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.3069, allocations: 11.98 kB / 0.4918 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.3069, allocations: 0 / 0.4918 GB, free: 4.293 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.832e-05/0.307, allocations: 79.28 kB / 0.4918 GB, free: 4.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.307, allocations: 0 / 0.4918 GB, free: 4.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001865/0.3072, allocations: 8 kB / 0.4919 GB, free: 4.207 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * 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): 2 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 9.511e-05/0.3073, allocations: 95.23 kB / 0.4919 GB, free: 4.105 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005177/0.3078, allocations: 43.98 kB / 0.492 GB, free: 4.062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3078, allocations: 0 / 0.492 GB, free: 4.062 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.3082, allocations: 44.59 kB / 0.492 GB, free: 4.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.3083, allocations: 0 / 0.492 GB, free: 4.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.3086, allocations: 113.6 kB / 0.4921 GB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.3089, allocations: 0.6848 MB / 0.4928 GB, free: 3.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.309, allocations: 16 kB / 0.4928 GB, free: 3.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.3091, allocations: 19.41 kB / 0.4928 GB, free: 3.133 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3091, allocations: 3.938 kB / 0.4928 GB, free: 3.129 MB / 362.7 MB Notification: Performance of Templates: time 0.002427/0.3115, allocations: 0.8084 MB / 0.4936 GB, free: 2.324 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & ./HanserModelica_HanserModelica.VariablesTypes.Attributes -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)