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.001055/0.001055, allocations: 108.7 kB / 16.37 MB, free: 5.516 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.302/1.302, allocations: 222.9 MB / 240 MB, free: 4.535 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.001303/0.001303, allocations: 196 kB / 290.3 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.0345/0.0345, allocations: 8.779 MB / 349.3 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 81.12 kB / 412.5 MB, free: 41.76 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08016/0.08171, allocations: 51.56 MB / 464.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001643/0.08339, allocations: 0.5264 MB / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.08463, allocations: 1.12 MB / 465.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.08468, allocations: 0 / 465.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.08483, allocations: 11.92 kB / 465.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.521e-05/0.08495, allocations: 23.91 kB / 465.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.881e-05/0.08501, allocations: 7.984 kB / 465.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.136e-05/0.08509, allocations: 35.91 kB / 465.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.08514, allocations: 4 kB / 465.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.08523, allocations: 31.84 kB / 465.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.08536, allocations: 35.84 kB / 465.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.08539, allocations: 4 kB / 465.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.0854, allocations: 0 / 465.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.0855, allocations: 43.83 kB / 465.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.08554, allocations: 35.72 kB / 466 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.643e-05/0.08562, allocations: 39.78 kB / 466 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.08563, allocations: 4 kB / 466 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.08563, allocations: 0 / 466 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.08564, allocations: 4 kB / 466 MB, free: 11.63 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.0005003/0.08615, allocations: 402.9 kB / 466.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.08619, allocations: 8.031 kB / 466.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.08623, allocations: 16.75 kB / 466.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.08644, allocations: 220.1 kB / 466.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.08646, allocations: 384 / 466.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.08648, allocations: 12.36 kB / 466.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.673e-05/0.08656, allocations: 42 kB / 466.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.08658, allocations: 0 / 466.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.08659, allocations: 0 / 466.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.08659, allocations: 0 / 466.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.319e-05/0.08663, allocations: 11.94 kB / 466.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.08682, allocations: 197.6 kB / 466.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.436e-05/0.08689, allocations: 30.56 kB / 466.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.08692, allocations: 12.86 kB / 466.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.08695, allocations: 4 kB / 466.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.08698, allocations: 34.5 kB / 467 MB, free: 10.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.08698, allocations: 0 / 467 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001547/0.08714, allocations: 77.69 kB / 467.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.08718, allocations: 51.41 kB / 467.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.08737, allocations: 210.3 kB / 467.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.0874, allocations: 25.7 kB / 467.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.08746, allocations: 112.1 kB / 467.4 MB, free: 9.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.08749, allocations: 11.84 kB / 467.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.08752, allocations: 13.72 kB / 467.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.08763, allocations: 322.8 kB / 467.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.08766, allocations: 11.98 kB / 467.8 MB, free: 9.629 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.295e-05/0.08768, allocations: 4 kB / 467.8 MB, free: 9.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.396e-05/0.08773, allocations: 24.84 kB / 467.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.08774, allocations: 0 / 467.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.168e-05/0.08782, allocations: 61.53 kB / 467.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.08784, allocations: 7.938 kB / 467.9 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.08785, allocations: 0 / 467.9 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.08787, allocations: 4 kB / 467.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.08794, allocations: 7.938 kB / 467.9 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.08796, allocations: 7.969 kB / 467.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.08801, allocations: 0 / 467.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.08803, allocations: 8 kB / 467.9 MB, free: 9.496 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 7.687e-05/0.08811, allocations: 121.8 kB / 468 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.08813, allocations: 19.75 kB / 468.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.08827, allocations: 70.55 kB / 468.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.08828, allocations: 4 kB / 468.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.08829, allocations: 3.984 kB / 468.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.0883, allocations: 0 / 468.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.08842, allocations: 185.6 kB / 468.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.08843, allocations: 0 / 468.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.08848, allocations: 4 kB / 468.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.08849, allocations: 3.938 kB / 468.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.0885, allocations: 3.938 kB / 468.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.08851, allocations: 8 kB / 468.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.08851, allocations: 0 / 468.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.08862, allocations: 84.95 kB / 468.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.08869, allocations: 96.86 kB / 468.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.08871, allocations: 0 / 468.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.08876, allocations: 7.984 kB / 468.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.08878, allocations: 0 / 468.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.08879, allocations: 240 / 468.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.08893, allocations: 168.3 kB / 468.7 MB, free: 8.625 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08894, allocations: 0 / 468.7 MB, free: 8.625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00019/0.08913, allocations: 12 kB / 468.7 MB, free: 8.613 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 7.143e-05/0.08921, allocations: 95.23 kB / 468.8 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.781e-05/0.0893, allocations: 23.97 kB / 468.8 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.08931, allocations: 0 / 468.8 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.08934, allocations: 11.94 kB / 468.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.08949, allocations: 4 kB / 468.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.08979, allocations: 197.3 kB / 469 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.09005, allocations: 0.7041 MB / 469.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.485e-05/0.0901, allocations: 19.92 kB / 469.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.09014, allocations: 11.44 kB / 469.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09014, allocations: 0 / 469.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of Templates: time 0.002421/0.09257, allocations: 0.5824 MB / 470.3 MB, free: 6.906 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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1)