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/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 107.6 kB / 16.37 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 240 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001234, allocations: 184.5 kB / 290.3 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03568/0.03568, allocations: 8.787 MB / 349.3 MB, free: 4.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 78.23 kB / 412.5 MB, free: 41.76 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07908/0.08052, allocations: 51.57 MB / 464.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.00171/0.08227, allocations: 0.499 MB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.08349, allocations: 1.085 MB / 465.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.08353, allocations: 4 kB / 465.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.08374, allocations: 19.91 kB / 465.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.628e-05/0.08381, allocations: 19.97 kB / 465.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.286e-06/0.08382, allocations: 0 / 465.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.0839, allocations: 27.86 kB / 465.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.574e-05/0.08396, allocations: 4 kB / 465.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.546e-05/0.08405, allocations: 27.91 kB / 465.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.08415, allocations: 19.92 kB / 465.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.08417, allocations: 0 / 465.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.08418, allocations: 0 / 465.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.08431, allocations: 75.83 kB / 465.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.08435, allocations: 27.69 kB / 465.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.47e-05/0.08441, allocations: 43.78 kB / 465.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.08442, allocations: 4 kB / 465.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08443, allocations: 0 / 465.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.08443, allocations: 0 / 465.9 MB, free: 11.75 MB / 302.1 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.000414/0.08485, allocations: 410.7 kB / 466.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.08489, allocations: 8.031 kB / 466.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.08495, allocations: 92.11 kB / 466.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.08515, allocations: 288.2 kB / 466.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.08521, allocations: 154.9 kB / 466.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.08526, allocations: 162.9 kB / 467 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.831e-05/0.08533, allocations: 105.3 kB / 467.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.08536, allocations: 75.28 kB / 467.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.08542, allocations: 154.6 kB / 467.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/0.08547, allocations: 154.6 kB / 467.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.08553, allocations: 150.6 kB / 467.7 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.08584, allocations: 485.8 kB / 468.1 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.431e-05/0.08593, allocations: 169.1 kB / 468.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.08597, allocations: 80.14 kB / 468.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.08601, allocations: 75.28 kB / 468.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.08605, allocations: 113.8 kB / 468.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.08606, allocations: 4 kB / 468.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.244e-05/0.08614, allocations: 45.39 kB / 468.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.0862, allocations: 130.7 kB / 468.7 MB, free: 8.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.08644, allocations: 231.8 kB / 469 MB, free: 8.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.08646, allocations: 25.7 kB / 469 MB, free: 8.492 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.08654, allocations: 120.1 kB / 469.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.08655, allocations: 0 / 469.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.08658, allocations: 9.719 kB / 469.1 MB, free: 8.355 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.0867, allocations: 330.8 kB / 469.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-06/0.08671, allocations: 0 / 469.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-06/0.08672, allocations: 0 / 469.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.08675, allocations: 79.28 kB / 469.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.289e-05/0.08678, allocations: 79.27 kB / 469.6 MB, free: 7.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.215e-05/0.08685, allocations: 45.45 kB / 469.6 MB, free: 7.816 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.08689, allocations: 83.22 kB / 469.7 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.08692, allocations: 75.28 kB / 469.8 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-05/0.08699, allocations: 154.6 kB / 469.9 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-05/0.08703, allocations: 83.22 kB / 470 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.87e-05/0.0871, allocations: 154.6 kB / 470.2 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.889e-05/0.08719, allocations: 87.2 kB / 470.3 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.08723, allocations: 75.28 kB / 470.3 MB, free: 7.113 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.08736, allocations: 284.4 kB / 470.6 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.08742, allocations: 112.8 kB / 470.7 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.08749, allocations: 137.7 kB / 470.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-05/0.08755, allocations: 176.3 kB / 471 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-05/0.08761, allocations: 188.2 kB / 471.2 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.959e-05/0.08767, allocations: 184.2 kB / 471.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.0879, allocations: 433.2 kB / 471.8 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.456e-05/0.08797, allocations: 112.9 kB / 471.9 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.088, allocations: 105 kB / 472 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-05/0.08807, allocations: 184.1 kB / 472.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/0.08814, allocations: 180.3 kB / 472.4 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.709e-05/0.0882, allocations: 176.3 kB / 472.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.064e-05/0.08826, allocations: 180.2 kB / 472.7 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.08839, allocations: 323.6 kB / 473.1 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/0.08848, allocations: 193.9 kB / 473.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.08855, allocations: 184.2 kB / 473.4 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.08865, allocations: 105 kB / 473.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.08872, allocations: 184.3 kB / 473.7 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.08876, allocations: 112.9 kB / 473.8 MB, free: 3.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.0889, allocations: 168.2 kB / 474 MB, free: 3.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08891, allocations: 0 / 474 MB, free: 3.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.08916, allocations: 7.984 kB / 474 MB, free: 3.242 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.901e-05/0.08927, allocations: 172.8 kB / 474.2 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.166e-05/0.0893, allocations: 0 / 474.2 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.08931, allocations: 4 kB / 474.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.08932, allocations: 0 / 474.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.08966, allocations: 463.6 kB / 474.6 MB, free: 2.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.09, allocations: 301.1 kB / 474.9 MB, free: 2.277 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.09027, allocations: 0.7119 MB / 475.6 MB, free: 1.539 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.32e-05/0.09029, allocations: 4 kB / 475.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.09031, allocations: 11.44 kB / 475.6 MB, free: 1.523 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09032, allocations: 0 / 475.6 MB, free: 1.523 MB / 302.1 MB Notification: Performance of Templates: time 0.001976/0.0923, allocations: 285 kB / 475.9 MB, free: 1.246 MB / 302.1 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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)