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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.197/2.197, allocations: 222.9 MB / 239.5 MB, free: 4.754 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.00208/0.00208, allocations: 192.4 kB / 289.8 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0634/0.0634, allocations: 8.801 MB / 348.7 MB, free: 4.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00289/0.002891, allocations: 74.52 kB / 411.1 MB, free: 42.56 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1431, allocations: 51.56 MB / 462.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.003123/0.1463, allocations: 0.5899 MB / 463.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.149, allocations: 1.113 MB / 464.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.1491, allocations: 0 / 464.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.1494, allocations: 11.98 kB / 464.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.1497, allocations: 15.91 kB / 464.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.959e-05/0.1498, allocations: 12 kB / 464.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.1499, allocations: 43.83 kB / 464.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.278e-05/0.15, allocations: 0 / 464.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.1502, allocations: 23.92 kB / 464.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.1504, allocations: 39.83 kB / 464.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.1505, allocations: 7.984 kB / 464.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.422e-05/0.1505, allocations: 4 kB / 464.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1507, allocations: 39.89 kB / 464.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.1508, allocations: 23.75 kB / 464.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.256e-05/0.1509, allocations: 35.94 kB / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1509, allocations: 0 / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1509, allocations: 0 / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1509, allocations: 0 / 464.6 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0009982/0.1519, allocations: 411.2 kB / 465 MB, free: 12.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.152, allocations: 8.031 kB / 465 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.522e-05/0.1521, allocations: 16.75 kB / 465 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.1525, allocations: 212.6 kB / 465.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1525, allocations: 384 / 465.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.1525, allocations: 8.312 kB / 465.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1527, allocations: 42 kB / 465.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1527, allocations: 0 / 465.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1528, allocations: 0 / 465.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1528, allocations: 4 kB / 465.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.679e-05/0.1529, allocations: 11.98 kB / 465.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.1532, allocations: 185.7 kB / 465.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1534, allocations: 34.56 kB / 465.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.1535, allocations: 20.88 kB / 465.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.1535, allocations: 0 / 465.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.1536, allocations: 42.44 kB / 465.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.1536, allocations: 3.938 kB / 465.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.000308/0.1539, allocations: 65.5 kB / 465.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.154, allocations: 51.41 kB / 465.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.1544, allocations: 218.3 kB / 465.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1544, allocations: 25.7 kB / 465.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.1545, allocations: 104.1 kB / 466 MB, free: 11.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.1546, allocations: 19.81 kB / 466 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.1547, allocations: 17.72 kB / 466 MB, free: 11.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1549, allocations: 322.8 kB / 466.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.268e-05/0.1549, allocations: 7.938 kB / 466.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.185e-05/0.155, allocations: 7.984 kB / 466.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.702e-05/0.1551, allocations: 24.86 kB / 466.4 MB, free: 11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1551, allocations: 0 / 466.4 MB, free: 11 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001723/0.1553, allocations: 57.59 kB / 466.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.1553, allocations: 11.92 kB / 466.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1554, allocations: 0 / 466.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1554, allocations: 0 / 466.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1556, allocations: 8.328 kB / 466.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.1556, allocations: 3.938 kB / 466.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1557, allocations: 7.984 kB / 466.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1557, allocations: 0 / 466.5 MB, free: 10.91 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 (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 0.000149/0.1559, allocations: 121.8 kB / 466.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.1559, allocations: 19.75 kB / 466.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.1562, allocations: 70.59 kB / 466.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1562, allocations: 0 / 466.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.1562, allocations: 4 kB / 466.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1563, allocations: 0 / 466.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.1565, allocations: 177.6 kB / 466.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1565, allocations: 4 kB / 466.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.392e-05/0.1566, allocations: 4 kB / 466.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.1566, allocations: 3.938 kB / 466.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1567, allocations: 3.984 kB / 466.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.1567, allocations: 7.938 kB / 466.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1567, allocations: 0 / 466.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.1569, allocations: 85.03 kB / 467 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.157, allocations: 96.84 kB / 467.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.1571, allocations: 3.938 kB / 467.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.151e-05/0.1572, allocations: 4 kB / 467.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.1572, allocations: 0 / 467.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1573, allocations: 4 kB / 467.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002825/0.1575, allocations: 168.2 kB / 467.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1576, allocations: 3.938 kB / 467.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.158, allocations: 8 kB / 467.3 MB, free: 10.03 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 (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 0.0001331/0.1581, allocations: 99.25 kB / 467.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.1583, allocations: 19.92 kB / 467.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1583, allocations: 4 kB / 467.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.306e-05/0.1584, allocations: 4 kB / 467.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1587, allocations: 11.98 kB / 467.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/0.1594, allocations: 244.8 kB / 467.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.1599, allocations: 0.7082 MB / 468.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.1599, allocations: 11.44 kB / 468.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1599, allocations: 0 / 468.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of Templates: time 0.004198/0.1642, allocations: 0.9176 MB / 469.3 MB, free: 7.945 MB / 302.1 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)