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.009869/0.009869, allocations: 100.1 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.267/2.267, allocations: 222.9 MB / 239.5 MB, free: 4.816 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.002942/0.002943, allocations: 188.5 kB / 289.8 MB, free: 2.543 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05213/0.05213, allocations: 8.794 MB / 348.7 MB, free: 4.941 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002474, allocations: 76.62 kB / 411 MB, free: 42.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1447, allocations: 51.56 MB / 462.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.002633/0.1474, allocations: 0.5665 MB / 463.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.1497, allocations: 1.086 MB / 464.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.1498, allocations: 0 / 464.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.1502, allocations: 23.91 kB / 464.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.585e-05/0.1503, allocations: 15.98 kB / 464.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.348e-06/0.1504, allocations: 0 / 464.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.159e-05/0.1505, allocations: 31.84 kB / 464.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.658e-05/0.1505, allocations: 4 kB / 464.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.1507, allocations: 15.92 kB / 464.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.1509, allocations: 31.91 kB / 464.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.1509, allocations: 0 / 464.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.1509, allocations: 0 / 464.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1512, allocations: 71.84 kB / 464.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.1512, allocations: 23.69 kB / 464.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.574e-05/0.1513, allocations: 39.97 kB / 464.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1513, allocations: 0 / 464.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1513, allocations: 0 / 464.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1514, allocations: 0 / 464.5 MB, free: 13.05 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.0006823/0.1521, allocations: 411 kB / 464.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.1521, allocations: 8.031 kB / 464.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.957e-05/0.1522, allocations: 88.12 kB / 465 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.1525, allocations: 284.2 kB / 465.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.312e-05/0.1526, allocations: 154.9 kB / 465.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.867e-05/0.1527, allocations: 154.9 kB / 465.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.078e-05/0.1528, allocations: 105.3 kB / 465.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.59e-05/0.1528, allocations: 79.28 kB / 465.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.32e-05/0.1529, allocations: 150.6 kB / 465.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.059e-05/0.153, allocations: 154.6 kB / 466.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/0.1531, allocations: 150.6 kB / 466.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.1535, allocations: 481.9 kB / 466.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.1537, allocations: 173.1 kB / 466.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.1537, allocations: 88.14 kB / 466.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.1538, allocations: 75.28 kB / 467 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.52e-05/0.1539, allocations: 113.8 kB / 467.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.1539, allocations: 0 / 467.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001204/0.154, allocations: 41.45 kB / 467.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.1541, allocations: 126.7 kB / 467.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.1545, allocations: 235.7 kB / 467.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1545, allocations: 29.7 kB / 467.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.738e-05/0.1546, allocations: 120.1 kB / 467.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.1546, allocations: 0 / 467.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.1547, allocations: 13.66 kB / 467.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1548, allocations: 330.8 kB / 468 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-06/0.1549, allocations: 0 / 468 MB, free: 9.332 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.1549, allocations: 0 / 468 MB, free: 9.332 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.1549, allocations: 79.28 kB / 468.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.839e-05/0.155, allocations: 79.28 kB / 468.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.505e-05/0.1551, allocations: 41.52 kB / 468.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.066e-05/0.1551, allocations: 85.09 kB / 468.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.236e-05/0.1552, allocations: 87.27 kB / 468.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.911e-05/0.1552, allocations: 154.6 kB / 468.5 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.312e-05/0.1553, allocations: 79.22 kB / 468.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.99e-05/0.1553, allocations: 150.6 kB / 468.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.1555, allocations: 87.27 kB / 468.8 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.1555, allocations: 79.22 kB / 468.9 MB, free: 8.418 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.0001749/0.1557, allocations: 280.4 kB / 469.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/0.1558, allocations: 120.8 kB / 469.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.733e-05/0.1559, allocations: 121.5 kB / 469.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.64e-05/0.156, allocations: 180.3 kB / 469.6 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.839e-05/0.1561, allocations: 188.2 kB / 469.8 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.127e-05/0.1561, allocations: 180.3 kB / 470 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.1565, allocations: 433.2 kB / 470.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-05/0.1565, allocations: 108.9 kB / 470.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/0.1566, allocations: 101 kB / 470.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.318e-05/0.1567, allocations: 188.1 kB / 470.8 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/0.1567, allocations: 180.3 kB / 470.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.779e-05/0.1568, allocations: 180.3 kB / 471.1 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.027e-05/0.1569, allocations: 184.2 kB / 471.3 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.1571, allocations: 319.6 kB / 471.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.1572, allocations: 193.9 kB / 471.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.048e-05/0.1573, allocations: 184.2 kB / 472 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.1574, allocations: 104.9 kB / 472.1 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.1575, allocations: 184.2 kB / 472.3 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/0.1576, allocations: 112.9 kB / 472.4 MB, free: 4.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.1578, allocations: 172.2 kB / 472.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1578, allocations: 0 / 472.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.1582, allocations: 4 kB / 472.5 MB, free: 4.559 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 0.0001329/0.1583, allocations: 168.8 kB / 472.7 MB, free: 4.383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.261e-05/0.1583, allocations: 4 kB / 472.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1584, allocations: 0 / 472.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.1584, allocations: 0 / 472.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.1589, allocations: 0.5263 MB / 473.2 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.1595, allocations: 364.8 kB / 473.6 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.1599, allocations: 0.7121 MB / 474.3 MB, free: 2.715 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.16, allocations: 7.438 kB / 474.3 MB, free: 2.707 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.16, allocations: 0 / 474.3 MB, free: 2.707 MB / 302.1 MB Notification: Performance of Templates: time 0.003034/0.163, allocations: 0.7224 MB / 475 MB, free: 1.984 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 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)