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.001437/0.001437, allocations: 171.6 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06571/0.06571, allocations: 8.713 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.5 MB / 240.9 MB, free: 13.2 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.0009001/0.0009001, allocations: 93.84 kB / 293.9 MB, free: 7.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.522e-05/1.526e-05, allocations: 4 kB / 352.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 52.54 MB / 405.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.5573, allocations: 76.22 MB / 481.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/0.5578, allocations: 60.78 kB / 481.5 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003803/0.5616, allocations: 1.144 MB / 482.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5616, allocations: 0.75 kB / 482.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.5617, allocations: 0 / 482.6 MB, free: 10.04 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003123/0.562, allocations: 368.2 kB / 483 MB, free: 9.648 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.5621, allocations: 11.98 kB / 483 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.5621, allocations: 23.17 kB / 483 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.5623, allocations: 214.1 kB / 483.2 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5623, allocations: 0 / 483.2 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.5624, allocations: 6.953 kB / 483.2 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.066e-05/0.5624, allocations: 4 kB / 483.2 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.53e-05/0.5625, allocations: 37.38 kB / 483.2 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5625, allocations: 3.953 kB / 483.3 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.5625, allocations: 4 kB / 483.3 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5626, allocations: 0 / 483.3 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.5627, allocations: 165.4 kB / 483.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.089e-05/0.5628, allocations: 41.69 kB / 483.5 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.243e-05/0.5628, allocations: 8.859 kB / 483.5 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.5629, allocations: 4 kB / 483.5 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.5629, allocations: 30.56 kB / 483.5 MB, free: 9.035 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.5629, allocations: 0 / 483.5 MB, free: 9.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001553/0.5631, allocations: 53.38 kB / 483.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.5631, allocations: 51.41 kB / 483.6 MB, free: 8.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.5633, allocations: 194.6 kB / 483.8 MB, free: 8.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.5633, allocations: 27.45 kB / 483.8 MB, free: 8.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.5634, allocations: 106 kB / 483.9 MB, free: 8.625 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.5634, allocations: 11.81 kB / 483.9 MB, free: 8.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.5634, allocations: 1.406 kB / 483.9 MB, free: 8.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.5635, allocations: 326.5 kB / 484.3 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.5635, allocations: 7.312 kB / 484.3 MB, free: 8.285 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.203e-05/0.5635, allocations: 11.92 kB / 484.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.225e-05/0.5636, allocations: 7.562 kB / 484.3 MB, free: 8.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5636, allocations: 4 kB / 484.3 MB, free: 8.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.208e-05/0.5637, allocations: 53.72 kB / 484.3 MB, free: 8.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5637, allocations: 4 kB / 484.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5637, allocations: 3.984 kB / 484.3 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5637, allocations: 0 / 484.3 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.5638, allocations: 8 kB / 484.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.5638, allocations: 0 / 484.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.5639, allocations: 5.125 kB / 484.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.5639, allocations: 10.5 kB / 484.4 MB, free: 8.184 MB / 346.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 () * 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 5.974e-05/0.5639, allocations: 108.9 kB / 484.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.564, allocations: 14.62 kB / 484.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.5641, allocations: 66.36 kB / 484.6 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.5641, allocations: 0 / 484.6 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5641, allocations: 0 / 484.6 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.5641, allocations: 4 kB / 484.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.938e-05/0.5642, allocations: 161.2 kB / 484.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5642, allocations: 0 / 484.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.5643, allocations: 4 kB / 484.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5643, allocations: 1.938 kB / 484.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.5643, allocations: 7.438 kB / 484.7 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5643, allocations: 0 / 484.7 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5643, allocations: 0 / 484.7 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.611e-05/0.5644, allocations: 85.42 kB / 484.8 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.5645, allocations: 88.92 kB / 484.9 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.5645, allocations: 4.688 kB / 484.9 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.955e-05/0.5645, allocations: 7.984 kB / 484.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.5646, allocations: 0 / 484.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.5646, allocations: 4 kB / 484.9 MB, free: 7.578 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.5647, allocations: 156.4 kB / 485.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5647, allocations: 0 / 485.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000209/0.5649, allocations: 15.44 kB / 485.1 MB, free: 7.434 MB / 346.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 () * 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 0.00011/0.565, allocations: 100.4 kB / 485.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.003e-05/0.5651, allocations: 16.19 kB / 485.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5651, allocations: 0 / 485.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.5651, allocations: 15.81 kB / 485.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.5653, allocations: 20.78 kB / 485.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.5656, allocations: 128.7 kB / 485.4 MB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.5658, allocations: 0.708 MB / 486.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.098e-05/0.5658, allocations: 20.16 kB / 486.1 MB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.5659, allocations: 7.438 kB / 486.1 MB, free: 6.391 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5659, allocations: 0 / 486.1 MB, free: 6.391 MB / 346.7 MB Notification: Performance of Templates: time 0.002797/0.5687, allocations: 481.5 kB / 486.6 MB, free: 5.957 MB / 346.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)