Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004803/0.004803, 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.03689/0.03689, 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.221/1.221, 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.0008193/0.0008194, allocations: 95.23 kB / 304 MB, free: 4.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003323, allocations: 12 kB / 367.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2102, allocations: 52.54 MB / 419.6 MB, free: 48.1 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0804/0.2906, allocations: 77.01 MB / 496.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000169/0.2908, allocations: 63.97 kB / 496.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00279/0.2936, allocations: 1.164 MB / 497.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.2936, allocations: 3.625 kB / 497.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.2937, allocations: 0 / 497.8 MB, free: 10.88 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.0002887/0.294, allocations: 410.6 kB / 498.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.294, allocations: 8.562 kB / 498.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.294, allocations: 87.14 kB / 498.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.2942, allocations: 282.3 kB / 498.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.2943, allocations: 154.6 kB / 498.8 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.2943, allocations: 150.6 kB / 498.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.906e-05/0.2944, allocations: 109.1 kB / 499 MB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.2944, allocations: 79.27 kB / 499.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.2945, allocations: 154.6 kB / 499.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.2945, allocations: 150.6 kB / 499.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.622e-05/0.2945, allocations: 158.5 kB / 499.6 MB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.2948, allocations: 477.9 kB / 0.4883 GB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.992e-05/0.2949, allocations: 173.1 kB / 0.4885 GB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2949, allocations: 75.28 kB / 0.4885 GB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.2949, allocations: 113.8 kB / 0.4886 GB, free: 8.184 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.2949, allocations: 0 / 0.4886 GB, free: 8.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.36e-05/0.295, allocations: 37.61 kB / 0.4887 GB, free: 8.141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.2951, allocations: 134.6 kB / 0.4888 GB, free: 7.996 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.2952, allocations: 206.9 kB / 0.489 GB, free: 7.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.2953, allocations: 29.64 kB / 0.489 GB, free: 7.754 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.2953, allocations: 116.1 kB / 0.4891 GB, free: 7.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.2953, allocations: 4 kB / 0.4891 GB, free: 7.633 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/0.2953, allocations: 3.938 kB / 0.4892 GB, free: 7.629 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.2954, allocations: 330.8 kB / 0.4895 GB, free: 7.297 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-06/0.2954, allocations: 0 / 0.4895 GB, free: 7.297 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-06/0.2955, allocations: 0 / 0.4895 GB, free: 7.297 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.157e-05/0.2955, allocations: 79.27 kB / 0.4895 GB, free: 7.219 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/0.2955, allocations: 75.28 kB / 0.4896 GB, free: 7.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.334e-05/0.2956, allocations: 41.52 kB / 0.4897 GB, free: 7.098 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.2956, allocations: 87.28 kB / 0.4897 GB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.2956, allocations: 79.22 kB / 0.4898 GB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.796e-05/0.2957, allocations: 154.6 kB / 0.49 GB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.86e-05/0.2957, allocations: 75.28 kB / 0.49 GB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.96e-05/0.2957, allocations: 154.5 kB / 0.4902 GB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.332e-05/0.2958, allocations: 79.27 kB / 0.4903 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.2959, allocations: 83.52 kB / 0.4903 GB, free: 6.395 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 (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 prepare postOptimizeDAE: time 0.0001042/0.296, allocations: 293 kB / 0.4906 GB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.296, allocations: 116.8 kB / 0.4907 GB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.2961, allocations: 125.5 kB / 0.4908 GB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.514e-05/0.2961, allocations: 180.3 kB / 0.491 GB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-05/0.2962, allocations: 180.2 kB / 0.4912 GB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.595e-05/0.2962, allocations: 184.2 kB / 0.4914 GB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.2965, allocations: 441.2 kB / 0.4918 GB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-05/0.2965, allocations: 108.9 kB / 0.4919 GB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.2965, allocations: 105 kB / 0.492 GB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.72e-05/0.2966, allocations: 176.3 kB / 0.4922 GB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/0.2966, allocations: 184.2 kB / 0.4923 GB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.53e-05/0.2967, allocations: 184.3 kB / 0.4925 GB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.664e-05/0.2967, allocations: 180.2 kB / 0.4927 GB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.2969, allocations: 312.7 kB / 0.493 GB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.2969, allocations: 201.8 kB / 0.4932 GB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.297, allocations: 180.3 kB / 0.4933 GB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.2971, allocations: 112.9 kB / 0.4935 GB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.2972, allocations: 180.2 kB / 0.4936 GB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.2972, allocations: 105 kB / 0.4937 GB, free: 2.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.2973, allocations: 172.2 kB / 0.4939 GB, free: 2.523 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.332e-06/0.2973, allocations: 0 / 0.4939 GB, free: 2.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.2976, allocations: 11.94 kB / 0.4939 GB, free: 2.512 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 (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 7.712e-05/0.2976, allocations: 170.5 kB / 0.4941 GB, free: 2.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.11e-05/0.2977, allocations: 4.484 kB / 0.4941 GB, free: 2.332 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.2977, allocations: 0 / 0.4941 GB, free: 2.332 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.2977, allocations: 0 / 0.4941 GB, free: 2.332 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.2979, allocations: 0.5279 MB / 0.4946 GB, free: 1.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.2982, allocations: 308.8 kB / 0.4949 GB, free: 1.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.2985, allocations: 0.7199 MB / 0.4956 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.442e-05/0.2985, allocations: 0 / 0.4956 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.2985, allocations: 7.438 kB / 0.4956 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.2985, allocations: 3.938 kB / 0.4956 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of Templates: time 0.001615/0.3001, allocations: 278.3 kB / 0.4959 GB, free: 460 kB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)