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.001137/0.001141, allocations: 110.9 kB / 16.42 MB, free: 6.492 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.319/1.319, allocations: 222.9 MB / 240.1 MB, free: 4.551 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.001344/0.001344, allocations: 184.5 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03612/0.03612, allocations: 8.785 MB / 349.3 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 83.88 kB / 464.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08069/0.08222, allocations: 51.56 MB / 0.5041 GB, free: 9.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001387/0.08363, allocations: 0.5372 MB / 0.5046 GB, free: 9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.08486, allocations: 1.12 MB / 0.5057 GB, free: 7.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.08492, allocations: 3.938 kB / 0.5057 GB, free: 7.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.08507, allocations: 3.984 kB / 0.5057 GB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.08519, allocations: 35.8 kB / 0.5057 GB, free: 7.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.854e-05/0.08524, allocations: 4 kB / 0.5057 GB, free: 7.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.344e-05/0.08534, allocations: 35.89 kB / 0.5058 GB, free: 7.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.08539, allocations: 4 kB / 0.5058 GB, free: 7.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.08549, allocations: 23.86 kB / 0.5058 GB, free: 7.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.08563, allocations: 39.88 kB / 0.5058 GB, free: 7.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.08566, allocations: 4 kB / 0.5058 GB, free: 7.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.08568, allocations: 4 kB / 0.5058 GB, free: 7.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.105e-05/0.08578, allocations: 43.89 kB / 0.5059 GB, free: 7.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.08582, allocations: 23.75 kB / 0.5059 GB, free: 7.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.7e-05/0.0859, allocations: 51.75 kB / 0.5059 GB, free: 7.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.08591, allocations: 0 / 0.5059 GB, free: 7.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08592, allocations: 0 / 0.5059 GB, free: 7.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.08593, allocations: 0 / 0.5059 GB, free: 7.59 MB / 350.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.000519/0.08645, allocations: 402.9 kB / 0.5063 GB, free: 7.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.08649, allocations: 8.031 kB / 0.5063 GB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.08654, allocations: 20.84 kB / 0.5063 GB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.08674, allocations: 219.9 kB / 0.5066 GB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.08675, allocations: 384 / 0.5066 GB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.08677, allocations: 8.375 kB / 0.5066 GB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.326e-05/0.08686, allocations: 38 kB / 0.5066 GB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.08687, allocations: 0 / 0.5066 GB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.08688, allocations: 0 / 0.5066 GB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.08689, allocations: 0 / 0.5066 GB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.08693, allocations: 15.98 kB / 0.5066 GB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.08712, allocations: 197.6 kB / 0.5068 GB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.067e-05/0.08719, allocations: 34.52 kB / 0.5068 GB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.08722, allocations: 12.94 kB / 0.5069 GB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.08724, allocations: 0 / 0.5069 GB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.08727, allocations: 42.44 kB / 0.5069 GB, free: 6.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.08728, allocations: 3.938 kB / 0.5069 GB, free: 6.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001441/0.08743, allocations: 57.59 kB / 0.507 GB, free: 6.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.08747, allocations: 63.34 kB / 0.507 GB, free: 6.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.08767, allocations: 214.3 kB / 0.5072 GB, free: 6.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.08769, allocations: 25.7 kB / 0.5072 GB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.08774, allocations: 100.1 kB / 0.5073 GB, free: 5.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.08777, allocations: 19.8 kB / 0.5074 GB, free: 5.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.0878, allocations: 9.719 kB / 0.5074 GB, free: 5.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.0879, allocations: 322.8 kB / 0.5077 GB, free: 5.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.906e-05/0.08793, allocations: 8 kB / 0.5077 GB, free: 5.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.566e-05/0.08795, allocations: 11.98 kB / 0.5077 GB, free: 5.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.933e-05/0.08799, allocations: 20.86 kB / 0.5077 GB, free: 5.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.088, allocations: 0 / 0.5077 GB, free: 5.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.185e-05/0.08809, allocations: 57.58 kB / 0.5078 GB, free: 5.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.08811, allocations: 11.94 kB / 0.5078 GB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.08812, allocations: 4.266 kB / 0.5078 GB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.08813, allocations: 0 / 0.5078 GB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/0.08821, allocations: 4 kB / 0.5078 GB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.08822, allocations: 0 / 0.5078 GB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.08828, allocations: 11.98 kB / 0.5078 GB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.0883, allocations: 4 kB / 0.5078 GB, free: 5.457 MB / 350.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 7.506e-05/0.08838, allocations: 122.8 kB / 0.5079 GB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.0884, allocations: 23.73 kB / 0.5079 GB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.08853, allocations: 62.61 kB / 0.508 GB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.08855, allocations: 0 / 0.508 GB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.08855, allocations: 4 kB / 0.508 GB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.08861, allocations: 93 kB / 0.5081 GB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.08863, allocations: 0 / 0.5081 GB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.08869, allocations: 4 kB / 0.5081 GB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.08871, allocations: 7.938 kB / 0.5081 GB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001055/0.08882, allocations: 129 kB / 0.5082 GB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001336/0.08896, allocations: 230.7 kB / 0.5084 GB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.864e-05/0.089, allocations: 11.94 kB / 0.5085 GB, free: 4.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.08913, allocations: 159.2 kB / 0.5086 GB, free: 4.562 MB / 350.1 MB Notification: Performance of Backend: time 2.8e-07/0.08914, allocations: 4 kB / 0.5086 GB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.08946, allocations: 88.22 kB / 0.5087 GB, free: 4.465 MB / 350.1 MB Notification: Performance of SimCode: time 0.000449/0.08992, allocations: 0.6432 MB / 0.5093 GB, free: 3.766 MB / 350.1 MB Notification: Performance of Templates: time 0.00245/0.09238, allocations: 0.6607 MB / 0.51 GB, free: 3.105 MB / 350.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)