Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004547/0.004547, allocations: 172.9 kB / 15.12 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.0377/0.0377, allocations: 8.8 MB / 24.65 MB, free: 4.086 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.215/1.215, allocations: 223.2 MB / 250.7 MB, free: 6.535 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.0008715/0.0008715, allocations: 102.7 kB / 304 MB, free: 4.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 12 kB / 367.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2269, allocations: 52.54 MB / 419.6 MB, free: 48.17 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08414/0.3111, allocations: 78.71 MB / 498.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.3113, allocations: 64.72 kB / 498.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005109/0.3164, allocations: 2.063 MB / 0.4887 GB, free: 8.285 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3165, allocations: 0 / 0.4887 GB, free: 8.285 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3165, allocations: 0 / 0.4887 GB, free: 8.285 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004317/0.3169, allocations: 398.5 kB / 0.4891 GB, free: 7.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.317, allocations: 12.56 kB / 0.4891 GB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.317, allocations: 11.81 kB / 0.4891 GB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.3172, allocations: 203.1 kB / 0.4893 GB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3172, allocations: 4 kB / 0.4893 GB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.3173, allocations: 8 kB / 0.4893 GB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.3175, allocations: 102.8 kB / 0.4894 GB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3175, allocations: 0 / 0.4894 GB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.3175, allocations: 4 kB / 0.4894 GB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3175, allocations: 11.89 kB / 0.4894 GB, free: 7.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.3176, allocations: 63.91 kB / 0.4895 GB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007149/0.3183, allocations: 0.4905 MB / 0.49 GB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.131e-05/0.3184, allocations: 50.5 kB / 0.49 GB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.3185, allocations: 4 kB / 0.49 GB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.3185, allocations: 30.56 kB / 0.4901 GB, free: 6.742 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3185, allocations: 0 / 0.4901 GB, free: 6.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001664/0.3187, allocations: 69.77 kB / 0.4901 GB, free: 6.668 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.3187, allocations: 51.41 kB / 0.4902 GB, free: 6.605 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3188, allocations: 135.3 kB / 0.4903 GB, free: 6.465 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.3189, allocations: 29.7 kB / 0.4903 GB, free: 6.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.3189, allocations: 127.9 kB / 0.4905 GB, free: 6.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.3189, allocations: 11.8 kB / 0.4905 GB, free: 6.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.319, allocations: 0 / 0.4905 GB, free: 6.285 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.319, allocations: 318.8 kB / 0.4908 GB, free: 5.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.3191, allocations: 15.92 kB / 0.4908 GB, free: 5.949 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.3191, allocations: 38.56 kB / 0.4908 GB, free: 5.902 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.3192, allocations: 16 kB / 0.4908 GB, free: 5.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3192, allocations: 0 / 0.4908 GB, free: 5.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001149/0.3193, allocations: 81.62 kB / 0.4909 GB, free: 5.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3193, allocations: 8 kB / 0.4909 GB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3193, allocations: 3.984 kB / 0.4909 GB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3193, allocations: 0 / 0.4909 GB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.3194, allocations: 12 kB / 0.4909 GB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3195, allocations: 11.89 kB / 0.4909 GB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.3195, allocations: 7.906 kB / 0.491 GB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.3195, allocations: 8 kB / 0.491 GB, free: 5.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.454e-05/0.3196, allocations: 121.8 kB / 0.4911 GB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.3196, allocations: 7.906 kB / 0.4911 GB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.3197, allocations: 8.234 kB / 0.4911 GB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3197, allocations: 4 kB / 0.4911 GB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3197, allocations: 0 / 0.4911 GB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3197, allocations: 3.953 kB / 0.4911 GB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.3199, allocations: 193.6 kB / 0.4913 GB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3199, allocations: 0 / 0.4913 GB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/0.3199, allocations: 12 kB / 0.4913 GB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.32, allocations: 3.938 kB / 0.4913 GB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.32, allocations: 0 / 0.4913 GB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.32, allocations: 0 / 0.4913 GB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.32, allocations: 0 / 0.4913 GB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.3201, allocations: 171.3 kB / 0.4915 GB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.3202, allocations: 89.05 kB / 0.4916 GB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3202, allocations: 0 / 0.4916 GB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.528e-05/0.3203, allocations: 8.062 kB / 0.4916 GB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.3203, allocations: 3.984 kB / 0.4916 GB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.3203, allocations: 4 kB / 0.4916 GB, free: 5.035 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.46e-05/0.3204, allocations: 109.6 kB / 0.4917 GB, free: 4.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3204, allocations: 0 / 0.4917 GB, free: 4.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.3206, allocations: 19.94 kB / 0.4917 GB, free: 4.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * 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 (4): * Single equations (assignments): 4 * 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.621e-05/0.3207, allocations: 103.2 kB / 0.4918 GB, free: 4.797 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.999e-05/0.3208, allocations: 39.92 kB / 0.4918 GB, free: 4.758 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3208, allocations: 0 / 0.4918 GB, free: 4.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.79e-05/0.3209, allocations: 12 kB / 0.4918 GB, free: 4.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.321, allocations: 18.3 kB / 0.4919 GB, free: 4.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.3215, allocations: 340.5 kB / 0.4922 GB, free: 4.375 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.3218, allocations: 0.7082 MB / 0.4929 GB, free: 3.641 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.469e-05/0.3218, allocations: 4.672 kB / 0.4929 GB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.3219, allocations: 11.44 kB / 0.4929 GB, free: 3.621 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3219, allocations: 0 / 0.4929 GB, free: 3.621 MB / 362.7 MB Notification: Performance of Templates: time 0.002287/0.3241, allocations: 0.6437 MB / 0.4935 GB, free: 2.984 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1)