Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.conf.json 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) Running command: translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04705/0.04705, allocations: 8.715 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 221.5 MB / 240.8 MB, free: 13.22 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008814/0.0008814, allocations: 95.14 kB / 293.9 MB, free: 7.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.526e-05/1.528e-05, allocations: 3.938 kB / 352.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 52.54 MB / 405.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3502/0.4594, allocations: 79.75 MB / 484.9 MB, free: 7.598 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.4597, allocations: 72.41 kB / 485 MB, free: 7.562 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02158/0.4813, allocations: 10.27 MB / 495.3 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4813, allocations: 0 / 495.3 MB, free: 14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.4814, allocations: 0 / 495.3 MB, free: 14 MB / 362.7 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.0004157/0.4818, allocations: 397.6 kB / 495.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4818, allocations: 11.98 kB / 495.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.4821, allocations: 110 kB / 495.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.484, allocations: 0.7684 MB / 496.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.484, allocations: 150.6 kB / 496.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.4841, allocations: 151.6 kB / 496.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.187e-05/0.4841, allocations: 154.5 kB / 497 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.142e-05/0.4842, allocations: 101 kB / 497.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.4842, allocations: 83.27 kB / 497.2 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.4843, allocations: 154.5 kB / 497.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.616e-05/0.4844, allocations: 155.6 kB / 497.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.4846, allocations: 442.5 kB / 497.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.584e-05/0.4847, allocations: 177.1 kB / 498.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.4848, allocations: 80.14 kB / 498.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.4848, allocations: 75.28 kB / 498.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.4848, allocations: 109.8 kB / 498.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.4848, allocations: 0.5625 kB / 498.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.032e-05/0.4849, allocations: 33.61 kB / 498.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.485, allocations: 55.39 kB / 498.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.4851, allocations: 147.7 kB / 498.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.4851, allocations: 25.7 kB / 498.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.4852, allocations: 96.14 kB / 498.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.032e-06/0.4852, allocations: 1.219 kB / 498.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-07/0.4852, allocations: 4 kB / 498.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.4853, allocations: 322.8 kB / 499 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-06/0.4853, allocations: 3.938 kB / 499 MB, free: 10.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-06/0.4854, allocations: 0 / 499 MB, free: 10.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.4854, allocations: 83.28 kB / 499.1 MB, free: 9.973 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.386e-05/0.4854, allocations: 75.28 kB / 499.2 MB, free: 9.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.613e-05/0.4855, allocations: 33.61 kB / 499.2 MB, free: 9.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.4855, allocations: 87.89 kB / 499.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/0.4856, allocations: 75.28 kB / 499.3 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.897e-05/0.4856, allocations: 158.5 kB / 499.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.432e-05/0.4857, allocations: 75.28 kB / 499.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.706e-05/0.4857, allocations: 155.2 kB / 499.7 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/0.4858, allocations: 81 kB / 499.8 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.4858, allocations: 83.45 kB / 499.9 MB, free: 9.156 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.4859, allocations: 259.5 kB / 0.4884 GB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.486, allocations: 112.9 kB / 0.4885 GB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.4861, allocations: 118.1 kB / 0.4886 GB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-05/0.4861, allocations: 180.3 kB / 0.4888 GB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.067e-05/0.4862, allocations: 184.2 kB / 0.489 GB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.2e-05/0.4863, allocations: 180.9 kB / 0.4892 GB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.4865, allocations: 401.7 kB / 0.4895 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.16e-05/0.4865, allocations: 105 kB / 0.4896 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.4866, allocations: 110.2 kB / 0.4898 GB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.195e-05/0.4866, allocations: 176.3 kB / 0.4899 GB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.4867, allocations: 176.3 kB / 0.4901 GB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.211e-05/0.4868, allocations: 188.2 kB / 0.4903 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.587e-05/0.4868, allocations: 179 kB / 0.4904 GB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.487, allocations: 319.6 kB / 0.4907 GB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.487, allocations: 182 kB / 0.4909 GB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.4871, allocations: 188.2 kB / 0.4911 GB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.4872, allocations: 108.9 kB / 0.4912 GB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.4873, allocations: 176.3 kB / 0.4914 GB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.4873, allocations: 106 kB / 0.4915 GB, free: 5.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.858e-05/0.4874, allocations: 124.9 kB / 0.4916 GB, free: 5.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4874, allocations: 0 / 0.4916 GB, free: 5.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002557/0.4877, allocations: 4 kB / 0.4916 GB, free: 5.457 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000218/0.4879, allocations: 203.3 kB / 0.4918 GB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.51e-05/0.488, allocations: 0 / 0.4918 GB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.488, allocations: 0 / 0.4918 GB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.488, allocations: 48 / 0.4918 GB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.4884, allocations: 0.5419 MB / 0.4923 GB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.4886, allocations: 183 kB / 0.4925 GB, free: 4.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.4889, allocations: 0.7015 MB / 0.4932 GB, free: 3.773 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.921e-05/0.4889, allocations: 8.172 kB / 0.4932 GB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.489, allocations: 11.44 kB / 0.4932 GB, free: 3.758 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.489, allocations: 0 / 0.4932 GB, free: 3.758 MB / 362.7 MB Notification: Performance of Templates: time 0.00255/0.4915, allocations: 0.5489 MB / 0.4937 GB, free: 3.242 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1)