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 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.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 3.2.3+maint.om/package.mo): time 0.00137/0.00137, allocations: 175.4 kB / 16.11 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.05964/0.05964, allocations: 8.769 MB / 25.64 MB, free: 3.328 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.561/1.561, allocations: 205.4 MB / 233.9 MB, free: 12.4 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.0008257/0.0008258, allocations: 97.08 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004891, allocations: 19.98 kB / 344.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.283, allocations: 49.7 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09917/0.3822, allocations: 75.42 MB / 469.9 MB, free: 9.238 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.3825, allocations: 63.97 kB / 470 MB, free: 9.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0006641/0.3831, allocations: 400.8 kB / 470.4 MB, free: 8.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3832, allocations: 3.938 kB / 470.4 MB, free: 8.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3832, allocations: 3.938 kB / 470.4 MB, free: 8.773 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002594/0.3834, allocations: 321.7 kB / 470.7 MB, free: 8.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3835, allocations: 12.03 kB / 470.7 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.3835, allocations: 0.9375 kB / 470.7 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3836, allocations: 168.3 kB / 470.9 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3837, allocations: 4.375 kB / 470.9 MB, free: 8.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.3837, allocations: 8.312 kB / 470.9 MB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.3838, allocations: 39.98 kB / 470.9 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3838, allocations: 4.188 kB / 470.9 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.3838, allocations: 3.938 kB / 470.9 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3838, allocations: 0 / 470.9 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.3839, allocations: 3.938 kB / 470.9 MB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.3843, allocations: 194.5 kB / 471.1 MB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.3844, allocations: 44.58 kB / 471.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.3844, allocations: 13.72 kB / 471.2 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.3844, allocations: 8.062 kB / 471.2 MB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3845, allocations: 30.56 kB / 471.2 MB, free: 7.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3845, allocations: 0 / 471.2 MB, free: 7.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000144/0.3846, allocations: 49.56 kB / 471.3 MB, free: 7.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.3847, allocations: 81.11 kB / 471.3 MB, free: 7.602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.3848, allocations: 98.09 kB / 471.4 MB, free: 7.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3848, allocations: 25.7 kB / 471.5 MB, free: 7.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.3848, allocations: 88.14 kB / 471.6 MB, free: 7.375 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.3849, allocations: 7.844 kB / 471.6 MB, free: 7.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-06/0.3849, allocations: 0 / 471.6 MB, free: 7.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.385, allocations: 310.8 kB / 471.9 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.385, allocations: 4 kB / 471.9 MB, free: 7.051 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.385, allocations: 17.7 kB / 471.9 MB, free: 7.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.3851, allocations: 21.84 kB / 471.9 MB, free: 7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3851, allocations: 4 kB / 471.9 MB, free: 6.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.896e-05/0.3851, allocations: 41.64 kB / 472 MB, free: 6.949 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3852, allocations: 4 kB / 472 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3852, allocations: 7.938 kB / 472 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3852, allocations: 4 kB / 472 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.3854, allocations: 32.03 kB / 472 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.387, allocations: 2.526 MB / 474.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.387, allocations: 7.938 kB / 474.5 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.387, allocations: 224 / 474.5 MB, free: 4.105 MB / 346.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 7.847e-05/0.3871, allocations: 121.8 kB / 474.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.3871, allocations: 4 kB / 474.7 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.092e-05/0.3871, allocations: 3.125 kB / 474.7 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3871, allocations: 0 / 474.7 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-07/0.3871, allocations: 11.81 kB / 474.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3871, allocations: 7.984 kB / 474.7 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.3875, allocations: 189.6 kB / 474.9 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3875, allocations: 0 / 474.9 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.3876, allocations: 23.98 kB / 474.9 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3876, allocations: 4 kB / 474.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.3877, allocations: 0 / 474.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.3891, allocations: 2.537 MB / 477.4 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3891, allocations: 0 / 477.4 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.815e-05/0.3892, allocations: 77.86 kB / 477.5 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.3892, allocations: 85.17 kB / 477.6 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-06/0.3892, allocations: 0 / 477.6 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.366e-05/0.3892, allocations: 4 kB / 477.6 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.3893, allocations: 7.984 kB / 477.6 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.3893, allocations: 0 / 477.6 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.05e-05/0.3893, allocations: 79.28 kB / 477.7 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3893, allocations: 0 / 477.7 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.3895, allocations: 4 kB / 477.7 MB, free: 0.5938 MB / 346.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.407e-05/0.3896, allocations: 95.34 kB / 477.8 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000461/0.3901, allocations: 47.89 kB / 477.8 MB, free: 456 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3901, allocations: 0 / 477.8 MB, free: 456 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.3904, allocations: 40.09 kB / 477.9 MB, free: 416 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.3906, allocations: 3.938 kB / 477.9 MB, free: 412 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.3909, allocations: 109.5 kB / 478 MB, free: 272 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.3911, allocations: 0.685 MB / 478.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.3912, allocations: 19.92 kB / 478.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.3913, allocations: 19.41 kB / 478.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3913, allocations: 4 kB / 478.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Templates: time 0.002386/0.3937, allocations: 0.8141 MB / 479.5 MB, free: 14.7 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)