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.001119/0.001119, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03622/0.03622, allocations: 8.793 MB / 25.52 MB, free: 3.754 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.297/1.297, allocations: 222.9 MB / 251.3 MB, free: 7.402 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.0009308/0.0009308, allocations: 101 kB / 303.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 366 MB, free: 188 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.19, allocations: 51.54 MB / 417.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001551/0.1916, allocations: 0.5962 MB / 418.1 MB, free: 20.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008824/0.1925, allocations: 1.124 MB / 419.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.1925, allocations: 0 / 419.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.1927, allocations: 3.938 kB / 419.2 MB, free: 19.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.1928, allocations: 19.97 kB / 419.3 MB, free: 19.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.843e-05/0.1928, allocations: 15.92 kB / 419.3 MB, free: 19.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.992e-05/0.1929, allocations: 31.86 kB / 419.3 MB, free: 19.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.193, allocations: 7.984 kB / 419.3 MB, free: 19.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.084e-05/0.193, allocations: 23.91 kB / 419.3 MB, free: 19.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.332e-05/0.1931, allocations: 39.91 kB / 419.4 MB, free: 19.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1932, allocations: 0 / 419.4 MB, free: 19.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.1932, allocations: 4 kB / 419.4 MB, free: 19.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.1933, allocations: 39.83 kB / 419.4 MB, free: 19.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.1933, allocations: 27.73 kB / 419.5 MB, free: 19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.822e-05/0.1934, allocations: 47.77 kB / 419.5 MB, free: 18.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1934, allocations: 0 / 419.5 MB, free: 18.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1934, allocations: 0 / 419.5 MB, free: 18.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.1934, allocations: 0 / 419.5 MB, free: 18.95 MB / 298.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.0004146/0.1938, allocations: 409.1 kB / 419.9 MB, free: 18.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1939, allocations: 12.03 kB / 419.9 MB, free: 18.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.1939, allocations: 12.75 kB / 419.9 MB, free: 18.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.194, allocations: 220.6 kB / 420.1 MB, free: 18.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1941, allocations: 8.312 kB / 420.1 MB, free: 18.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.1941, allocations: 384 / 420.1 MB, free: 18.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.426e-05/0.1941, allocations: 42 kB / 420.2 MB, free: 18.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1942, allocations: 3.984 kB / 420.2 MB, free: 18.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.1942, allocations: 4 kB / 420.2 MB, free: 18.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1942, allocations: 4 kB / 420.2 MB, free: 18.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.767e-05/0.1942, allocations: 11.92 kB / 420.2 MB, free: 18.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.1943, allocations: 189.7 kB / 420.4 MB, free: 17.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.323e-05/0.1944, allocations: 34.56 kB / 420.4 MB, free: 17.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.1944, allocations: 12.86 kB / 420.4 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1945, allocations: 0 / 420.4 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.1945, allocations: 42.5 kB / 420.5 MB, free: 17.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.1945, allocations: 0 / 420.5 MB, free: 17.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001398/0.1946, allocations: 69.61 kB / 420.6 MB, free: 17.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/0.1947, allocations: 51.41 kB / 420.6 MB, free: 17.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1948, allocations: 210.3 kB / 420.8 MB, free: 17.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-06/0.1948, allocations: 25.7 kB / 420.8 MB, free: 17.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.1948, allocations: 108.1 kB / 420.9 MB, free: 17.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.1949, allocations: 11.75 kB / 421 MB, free: 17.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.1949, allocations: 21.72 kB / 421 MB, free: 17.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.976e-05/0.1949, allocations: 322.8 kB / 421.3 MB, free: 16.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.195, allocations: 4 kB / 421.3 MB, free: 16.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.309e-05/0.195, allocations: 11.98 kB / 421.3 MB, free: 16.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/0.195, allocations: 28.72 kB / 421.3 MB, free: 16.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.195, allocations: 0 / 421.3 MB, free: 16.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.316e-05/0.1951, allocations: 57.59 kB / 421.4 MB, free: 16.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.1951, allocations: 7.938 kB / 421.4 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.1951, allocations: 0 / 421.4 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1951, allocations: 0 / 421.4 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.1952, allocations: 8 kB / 421.4 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1952, allocations: 0 / 421.4 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.1953, allocations: 11.98 kB / 421.4 MB, free: 16.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1953, allocations: 0 / 421.4 MB, free: 16.81 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.1953, allocations: 129.8 kB / 421.5 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.1953, allocations: 15.75 kB / 421.6 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.1955, allocations: 66.88 kB / 421.6 MB, free: 16.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1955, allocations: 48 / 421.6 MB, free: 16.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1955, allocations: 7.984 kB / 421.6 MB, free: 16.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1955, allocations: 7.984 kB / 421.6 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.3e-05/0.1956, allocations: 177.6 kB / 421.8 MB, free: 16.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1956, allocations: 0 / 421.8 MB, free: 16.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.1956, allocations: 7.984 kB / 421.8 MB, free: 16.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1956, allocations: 7.875 kB / 421.8 MB, free: 16.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1956, allocations: 4 kB / 421.8 MB, free: 16.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1956, allocations: 0 / 421.8 MB, free: 16.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1956, allocations: 0 / 421.8 MB, free: 16.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.1958, allocations: 0.6511 MB / 422.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.1959, allocations: 96.91 kB / 422.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.1959, allocations: 4 kB / 422.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.196, allocations: 4 kB / 422.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.196, allocations: 3.984 kB / 422.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.196, allocations: 0 / 422.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.883e-05/0.1961, allocations: 164.3 kB / 422.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1961, allocations: 4 kB / 422.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.1964, allocations: 8 kB / 422.8 MB, free: 15.32 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 4.707e-05/0.1964, allocations: 103.1 kB / 422.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.1965, allocations: 15.98 kB / 422.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1965, allocations: 0 / 422.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.783e-05/0.1965, allocations: 15.98 kB / 422.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.1967, allocations: 14.06 kB / 422.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.197, allocations: 322.1 kB / 423.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.1971, allocations: 0.7043 MB / 423.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.847e-05/0.1972, allocations: 19.97 kB / 423.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.1972, allocations: 11.38 kB / 424 MB, free: 14.05 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1972, allocations: 4 kB / 424 MB, free: 14.04 MB / 298.7 MB Notification: Performance of Templates: time 0.002069/0.1993, allocations: 0.571 MB / 424.5 MB, free: 13.47 MB / 298.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)