Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005437/0.005437, allocations: 170.8 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03796/0.03796, allocations: 8.799 MB / 24.65 MB, free: 4.113 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 223.2 MB / 250.7 MB, free: 6.465 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.0007846/0.0007846, allocations: 97.11 kB / 304 MB, free: 4.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 8 kB / 367.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2095, allocations: 52.54 MB / 419.6 MB, free: 48.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08576/0.2953, allocations: 80.06 MB / 499.7 MB, free: 9.059 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.2955, allocations: 67.97 kB / 499.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007179/0.3027, allocations: 2.852 MB / 0.4908 GB, free: 6.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3028, allocations: 0 / 0.4908 GB, free: 6.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3028, allocations: 4 kB / 0.4908 GB, free: 6.156 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004924/0.3033, allocations: 443.2 kB / 0.4912 GB, free: 5.676 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3033, allocations: 8.562 kB / 0.4912 GB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.3034, allocations: 27.66 kB / 0.4913 GB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.3036, allocations: 207.5 kB / 0.4915 GB, free: 5.398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3036, allocations: 12 kB / 0.4915 GB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.3037, allocations: 16 kB / 0.4915 GB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.304, allocations: 166.5 kB / 0.4916 GB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.304, allocations: 0 / 0.4916 GB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.304, allocations: 11.95 kB / 0.4917 GB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.304, allocations: 4 kB / 0.4917 GB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.3042, allocations: 88.8 kB / 0.4917 GB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009197/0.3051, allocations: 0.7458 MB / 0.4925 GB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.3053, allocations: 82.55 kB / 0.4926 GB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.3053, allocations: 0 / 0.4926 GB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3054, allocations: 30.56 kB / 0.4926 GB, free: 4.148 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3054, allocations: 0 / 0.4926 GB, free: 4.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002608/0.3056, allocations: 109.7 kB / 0.4927 GB, free: 4.035 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.3057, allocations: 59.41 kB / 0.4927 GB, free: 3.965 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3058, allocations: 136.1 kB / 0.4929 GB, free: 3.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3058, allocations: 33.69 kB / 0.4929 GB, free: 3.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.3059, allocations: 131.5 kB / 0.493 GB, free: 3.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3059, allocations: 27.64 kB / 0.4931 GB, free: 3.625 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.306, allocations: 4 kB / 0.4931 GB, free: 3.621 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3061, allocations: 318.8 kB / 0.4934 GB, free: 3.301 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.3061, allocations: 35.98 kB / 0.4934 GB, free: 3.266 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.357e-05/0.3062, allocations: 60.28 kB / 0.4935 GB, free: 3.191 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.449e-05/0.3063, allocations: 39.86 kB / 0.4935 GB, free: 3.152 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3063, allocations: 8 kB / 0.4935 GB, free: 3.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001996/0.3065, allocations: 129.3 kB / 0.4936 GB, free: 3.012 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3066, allocations: 5.875 kB / 0.4936 GB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3066, allocations: 4 kB / 0.4936 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.3066, allocations: 0 / 0.4936 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.3067, allocations: 35.98 kB / 0.4937 GB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3067, allocations: 128 / 0.4937 GB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.3068, allocations: 11.94 kB / 0.4937 GB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3068, allocations: 7.984 kB / 0.4937 GB, free: 2.949 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.877e-05/0.3069, allocations: 125.8 kB / 0.4938 GB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.3069, allocations: 15.77 kB / 0.4938 GB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.307, allocations: 20.66 kB / 0.4938 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.307, allocations: 0 / 0.4938 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.307, allocations: 0 / 0.4938 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.307, allocations: 3.984 kB / 0.4938 GB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.3072, allocations: 229.6 kB / 0.4941 GB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3072, allocations: 0 / 0.4941 GB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3073, allocations: 16 kB / 0.4941 GB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3073, allocations: 3.953 kB / 0.4941 GB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3074, allocations: 0 / 0.4941 GB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3074, allocations: 3.984 kB / 0.4941 GB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3074, allocations: 0 / 0.4941 GB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3076, allocations: 215.4 kB / 0.4943 GB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.3077, allocations: 92.97 kB / 0.4944 GB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.3077, allocations: 3.953 kB / 0.4944 GB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.3078, allocations: 4 kB / 0.4944 GB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.3079, allocations: 7.984 kB / 0.4944 GB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.3079, allocations: 4 kB / 0.4944 GB, free: 2.121 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.806e-05/0.308, allocations: 112.2 kB / 0.4945 GB, free: 2.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.308, allocations: 3.938 kB / 0.4945 GB, free: 2.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.3082, allocations: 35.89 kB / 0.4945 GB, free: 1.973 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * 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 9.514e-05/0.3083, allocations: 103.2 kB / 0.4946 GB, free: 1.863 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.3085, allocations: 75.84 kB / 0.4947 GB, free: 1.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3085, allocations: 256 / 0.4947 GB, free: 1.789 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.923e-05/0.3086, allocations: 31.98 kB / 0.4948 GB, free: 1.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.3088, allocations: 8 kB / 0.4948 GB, free: 1.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.3094, allocations: 466.4 kB / 0.4952 GB, free: 1.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.3097, allocations: 0.7158 MB / 0.4959 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.998e-05/0.3098, allocations: 12.88 kB / 0.4959 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.3098, allocations: 11.44 kB / 0.4959 GB, free: 0.5 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3098, allocations: 0 / 0.4959 GB, free: 0.5 MB / 362.7 MB Notification: Performance of Templates: time 0.002703/0.3125, allocations: 0.8772 MB / 0.4968 GB, free: 15.64 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & ./HanserModelica_HanserModelica.Electrical.Signals -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)