Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004512/0.004512, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03654/0.03654, allocations: 8.793 MB / 24.65 MB, free: 4.113 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.2/1.2, allocations: 223.2 MB / 250.7 MB, free: 6.547 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.0007796/0.0007796, allocations: 94.7 kB / 304 MB, free: 4.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 8 kB / 367.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2174, allocations: 52.53 MB / 419.6 MB, free: 48.07 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08111/0.2985, allocations: 76.96 MB / 496.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.2987, allocations: 59.98 kB / 496.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00341/0.3022, allocations: 1.155 MB / 497.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3022, allocations: 0 / 497.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3022, allocations: 3.938 kB / 497.8 MB, free: 10.95 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003899/0.3026, allocations: 419.4 kB / 498.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.3026, allocations: 9.406 kB / 498.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.3027, allocations: 11.86 kB / 498.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.3029, allocations: 219.6 kB / 498.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3029, allocations: 7.938 kB / 498.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.3029, allocations: 0.8125 kB / 498.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.106e-05/0.303, allocations: 37.69 kB / 498.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.303, allocations: 7.359 kB / 498.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.303, allocations: 0 / 498.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.303, allocations: 3.953 kB / 498.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/0.3031, allocations: 8 kB / 498.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.3032, allocations: 193.7 kB / 498.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.009e-05/0.3033, allocations: 34.5 kB / 498.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.3033, allocations: 1.656 kB / 498.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.3033, allocations: 34.56 kB / 498.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3033, allocations: 0 / 498.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001458/0.3035, allocations: 62.75 kB / 498.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.3035, allocations: 55.41 kB / 498.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.3037, allocations: 197.1 kB / 499.1 MB, free: 9.504 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3037, allocations: 29.7 kB / 499.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.3038, allocations: 108.1 kB / 499.2 MB, free: 9.359 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.3038, allocations: 7.844 kB / 499.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.3038, allocations: 0 / 499.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3039, allocations: 326.8 kB / 499.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/0.304, allocations: 11.94 kB / 499.5 MB, free: 9.012 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.304, allocations: 7.984 kB / 499.5 MB, free: 9.004 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.304, allocations: 12.28 kB / 499.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.304, allocations: 4 kB / 499.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.263e-05/0.3041, allocations: 61.48 kB / 499.6 MB, free: 8.922 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3041, allocations: 5.875 kB / 499.6 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.3041, allocations: 0 / 499.6 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3042, allocations: 0 / 499.6 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.031e-05/0.3042, allocations: 15.98 kB / 499.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3042, allocations: 0 / 499.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.3043, allocations: 0 / 499.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3043, allocations: 4 kB / 499.6 MB, free: 8.898 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 7.908e-05/0.3044, allocations: 129.8 kB / 499.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.3044, allocations: 7.906 kB / 499.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.3045, allocations: 70.55 kB / 499.8 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3046, allocations: 0 / 499.8 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3046, allocations: 4 kB / 499.8 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3046, allocations: 3.938 kB / 499.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.3047, allocations: 181.6 kB / 0.4883 GB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3047, allocations: 0 / 0.4883 GB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.3047, allocations: 4 kB / 0.4883 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3048, allocations: 0 / 0.4883 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.3048, allocations: 4 kB / 0.4883 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3048, allocations: 0 / 0.4883 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3048, allocations: 4 kB / 0.4883 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.3049, allocations: 92.81 kB / 0.4884 GB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.3049, allocations: 89.02 kB / 0.4885 GB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.305, allocations: 0 / 0.4885 GB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.75e-05/0.305, allocations: 3.984 kB / 0.4885 GB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.305, allocations: 4 kB / 0.4885 GB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.3051, allocations: 7.938 kB / 0.4885 GB, free: 8.199 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.3052, allocations: 168.2 kB / 0.4887 GB, free: 8.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3052, allocations: 0 / 0.4887 GB, free: 8.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001786/0.3054, allocations: 16 kB / 0.4887 GB, free: 8.02 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 (3): * Single equations (assignments): 3 * 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 8.828e-05/0.3055, allocations: 95.25 kB / 0.4888 GB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.955e-05/0.3055, allocations: 19.98 kB / 0.4888 GB, free: 7.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3056, allocations: 3.938 kB / 0.4888 GB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-05/0.3056, allocations: 8 kB / 0.4888 GB, free: 7.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.674e-05/0.3057, allocations: 17.48 kB / 0.4888 GB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.306, allocations: 199.6 kB / 0.489 GB, free: 7.648 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3062, allocations: 0.7086 MB / 0.4897 GB, free: 6.914 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.22e-05/0.3063, allocations: 28.14 kB / 0.4897 GB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/0.3063, allocations: 7.438 kB / 0.4897 GB, free: 6.879 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3063, allocations: 4 kB / 0.4897 GB, free: 6.875 MB / 362.7 MB Notification: Performance of Templates: time 0.002219/0.3086, allocations: 0.5262 MB / 0.4902 GB, free: 6.352 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1)