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 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.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 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 172 kB / 16.11 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03786/0.03786, allocations: 8.77 MB / 25.64 MB, free: 3.762 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.48 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.0007973/0.0007973, allocations: 98.28 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004706, allocations: 20 kB / 344.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2812, allocations: 49.71 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09789/0.3792, allocations: 76.19 MB / 470.7 MB, free: 8.473 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.3795, allocations: 67.97 kB / 470.8 MB, free: 8.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003221/0.3828, allocations: 1.127 MB / 471.9 MB, free: 7.277 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3828, allocations: 7.875 kB / 471.9 MB, free: 7.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.3828, allocations: 0 / 471.9 MB, free: 7.27 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003938/0.3832, allocations: 410.3 kB / 472.3 MB, free: 6.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.3833, allocations: 12.03 kB / 472.3 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.3834, allocations: 88.12 kB / 472.4 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.3836, allocations: 288.3 kB / 472.7 MB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.286e-05/0.3837, allocations: 154.9 kB / 472.8 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/0.3838, allocations: 154.9 kB / 473 MB, free: 6.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.003e-05/0.3838, allocations: 105.5 kB / 473.1 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.3839, allocations: 75.47 kB / 473.1 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/0.3839, allocations: 154.5 kB / 473.3 MB, free: 5.758 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.543e-05/0.384, allocations: 154.6 kB / 473.4 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.3841, allocations: 150.6 kB / 473.6 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.3844, allocations: 489.8 kB / 474.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.697e-05/0.3845, allocations: 169.1 kB / 474.2 MB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.3846, allocations: 80.14 kB / 474.3 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.3846, allocations: 75.28 kB / 474.4 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.3847, allocations: 109.8 kB / 474.5 MB, free: 4.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3847, allocations: 0 / 474.5 MB, free: 4.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 9.293e-05/0.3848, allocations: 41.48 kB / 474.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.3848, allocations: 134.7 kB / 474.7 MB, free: 4.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.3851, allocations: 231.8 kB / 474.9 MB, free: 4.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.3851, allocations: 25.7 kB / 474.9 MB, free: 4.023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.3852, allocations: 116.1 kB / 475 MB, free: 3.906 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.3852, allocations: 0 / 475 MB, free: 3.906 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.3852, allocations: 0 / 475 MB, free: 3.906 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3854, allocations: 330.8 kB / 475.4 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-06/0.3854, allocations: 4 kB / 475.4 MB, free: 3.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-06/0.3854, allocations: 0 / 475.4 MB, free: 3.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.3854, allocations: 75.28 kB / 475.4 MB, free: 3.496 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.524e-05/0.3855, allocations: 75.28 kB / 475.5 MB, free: 3.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.671e-05/0.3856, allocations: 45.45 kB / 475.6 MB, free: 3.371 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.3856, allocations: 79.28 kB / 475.6 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.722e-05/0.3856, allocations: 83.16 kB / 475.7 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.225e-05/0.3857, allocations: 158.6 kB / 475.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.629e-05/0.3858, allocations: 83.2 kB / 475.9 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.641e-05/0.3858, allocations: 150.6 kB / 476.1 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.632e-05/0.3859, allocations: 79.48 kB / 476.2 MB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.386, allocations: 83.28 kB / 476.3 MB, free: 2.664 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 () * 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.0001548/0.3861, allocations: 296.4 kB / 476.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.3862, allocations: 108.9 kB / 476.6 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-05/0.3863, allocations: 133.2 kB / 476.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.936e-05/0.3864, allocations: 184.2 kB / 477 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.707e-05/0.3864, allocations: 184.2 kB / 477.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.937e-05/0.3865, allocations: 180.2 kB / 477.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.3868, allocations: 445.2 kB / 477.7 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.243e-05/0.3868, allocations: 104.9 kB / 477.9 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/0.3869, allocations: 102.5 kB / 478 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.138e-05/0.387, allocations: 180.2 kB / 478.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/0.387, allocations: 188.2 kB / 478.3 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-05/0.3871, allocations: 180.3 kB / 478.5 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.918e-05/0.3872, allocations: 184.2 kB / 478.7 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.3874, allocations: 315.6 kB / 479 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.3875, allocations: 189.9 kB / 479.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.001e-05/0.3876, allocations: 200.1 kB / 479.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.803e-05/0.3877, allocations: 101 kB / 479.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.3878, allocations: 176.3 kB / 479.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.3878, allocations: 108.9 kB / 479.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.388, allocations: 177.4 kB / 479.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.388, allocations: 0 / 479.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.3882, allocations: 4 kB / 479.9 MB, free: 14.78 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 0.0001132/0.3884, allocations: 170.5 kB / 480.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.177e-05/0.3884, allocations: 4.484 kB / 480.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3884, allocations: 0 / 480.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.45e-06/0.3884, allocations: 3.984 kB / 480.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.3889, allocations: 0.5224 MB / 480.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.3892, allocations: 309.8 kB / 480.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.3896, allocations: 0.7082 MB / 481.6 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.89e-05/0.3896, allocations: 4 kB / 481.6 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.3896, allocations: 11.44 kB / 481.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3896, allocations: 0 / 481.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of Templates: time 0.002169/0.3918, allocations: 276.3 kB / 481.9 MB, free: 12.72 MB / 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)