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.001621/0.001621, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 239.2 MB, free: 4.609 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.001451/0.001451, allocations: 184.5 kB / 289.5 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03494/0.03494, allocations: 8.784 MB / 348.5 MB, free: 4.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003122/0.003123, allocations: 76 kB / 411.1 MB, free: 42.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1622, allocations: 51.56 MB / 462.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.004382/0.1666, allocations: 0.5221 MB / 463.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.1698, allocations: 1.124 MB / 464.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.17, allocations: 0 / 464.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.1703, allocations: 15.92 kB / 464.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.1706, allocations: 15.91 kB / 464.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.1707, allocations: 15.94 kB / 464.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1709, allocations: 35.84 kB / 464.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.171, allocations: 4 kB / 464.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1712, allocations: 31.84 kB / 464.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.1715, allocations: 35.89 kB / 464.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.1715, allocations: 4 kB / 464.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.676e-05/0.1716, allocations: 0 / 464.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.1718, allocations: 39.89 kB / 464.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.02e-05/0.1719, allocations: 23.75 kB / 464.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1721, allocations: 51.75 kB / 464.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.1721, allocations: 0 / 464.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1721, allocations: 0 / 464.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.1721, allocations: 0 / 464.5 MB, free: 12.46 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.001091/0.1733, allocations: 407.2 kB / 464.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/0.1733, allocations: 12.03 kB / 465 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.1734, allocations: 12.75 kB / 465 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.1739, allocations: 224 kB / 465.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.174, allocations: 4.375 kB / 465.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.174, allocations: 384 / 465.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1742, allocations: 46 kB / 465.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1742, allocations: 0 / 465.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1742, allocations: 0 / 465.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.1743, allocations: 8 kB / 465.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.839e-05/0.1743, allocations: 7.984 kB / 465.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.1747, allocations: 189.7 kB / 465.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1748, allocations: 34.5 kB / 465.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.1749, allocations: 20.92 kB / 465.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.1749, allocations: 4 kB / 465.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.175, allocations: 38.5 kB / 465.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.502e-06/0.175, allocations: 0 / 465.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002867/0.1753, allocations: 65.5 kB / 465.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.1753, allocations: 55.34 kB / 465.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.1757, allocations: 214.3 kB / 465.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.1758, allocations: 25.7 kB / 465.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1759, allocations: 112 kB / 466 MB, free: 10.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.176, allocations: 15.83 kB / 466 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.176, allocations: 17.72 kB / 466 MB, free: 10.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1762, allocations: 322.8 kB / 466.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.646e-05/0.1763, allocations: 4 kB / 466.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.1763, allocations: 8 kB / 466.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.66e-05/0.1764, allocations: 20.84 kB / 466.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1764, allocations: 0 / 466.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001575/0.1766, allocations: 57.59 kB / 466.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.1767, allocations: 11.92 kB / 466.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1767, allocations: 4 kB / 466.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.1767, allocations: 0 / 466.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1769, allocations: 7.938 kB / 466.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.1769, allocations: 4 kB / 466.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.744e-05/0.177, allocations: 3.984 kB / 466.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.177, allocations: 0 / 466.5 MB, free: 10.32 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.0001758/0.1772, allocations: 129.8 kB / 466.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.1772, allocations: 15.75 kB / 466.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.1775, allocations: 66.61 kB / 466.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1775, allocations: 0 / 466.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1776, allocations: 0 / 466.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1776, allocations: 4 kB / 466.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.1778, allocations: 181.6 kB / 466.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1778, allocations: 0 / 466.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.1779, allocations: 7.938 kB / 466.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.1779, allocations: 3.938 kB / 466.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.1779, allocations: 7.984 kB / 466.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.178, allocations: 0 / 466.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.178, allocations: 0 / 466.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.1782, allocations: 85.39 kB / 467 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1783, allocations: 92.86 kB / 467 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.1784, allocations: 7.984 kB / 467 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.1784, allocations: 4 kB / 467.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.1785, allocations: 8 kB / 467.1 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1785, allocations: 0 / 467.1 MB, free: 9.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.1788, allocations: 168.2 kB / 467.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1788, allocations: 7.938 kB / 467.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.1791, allocations: 4 kB / 467.2 MB, free: 9.438 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.0001568/0.1793, allocations: 95.25 kB / 467.3 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.1795, allocations: 27.86 kB / 467.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1795, allocations: 0 / 467.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.1795, allocations: 12 kB / 467.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.1798, allocations: 7.984 kB / 467.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.1805, allocations: 201.3 kB / 467.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.1809, allocations: 0.7002 MB / 468.3 MB, free: 8.332 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.907e-05/0.181, allocations: 23.91 kB / 468.3 MB, free: 8.309 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.1811, allocations: 7.438 kB / 468.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of SimCode: time 5.531e-06/0.1811, allocations: 4 kB / 468.3 MB, free: 8.301 MB / 302.1 MB Notification: Performance of Templates: time 0.004716/0.1858, allocations: 0.5709 MB / 468.9 MB, free: 7.73 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)