Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00421/0.00421, allocations: 168.7 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.03595/0.03595, allocations: 8.798 MB / 24.65 MB, free: 4.09 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.209/1.209, allocations: 223.2 MB / 250.7 MB, free: 6.59 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.0008587/0.0008587, allocations: 97.42 kB / 304 MB, free: 4.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 12 kB / 367.1 MB, free: 4.969 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2275, allocations: 52.54 MB / 419.6 MB, free: 48.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08149/0.309, allocations: 76.55 MB / 496.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.3093, allocations: 61.33 kB / 496.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0008205/0.3101, allocations: 462.9 kB / 496.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3101, allocations: 0 / 496.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.423e-06/0.3101, allocations: 4 kB / 496.7 MB, free: 12.04 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002704/0.3104, allocations: 317.5 kB / 497 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3104, allocations: 9.438 kB / 497 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.3105, allocations: 11.86 kB / 497 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3106, allocations: 159.1 kB / 497.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3106, allocations: 5.219 kB / 497.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.3106, allocations: 0 / 497.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.76e-05/0.3107, allocations: 40.83 kB / 497.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.3107, allocations: 0 / 497.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.3108, allocations: 1.125 kB / 497.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3108, allocations: 3.938 kB / 497.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.3108, allocations: 19.88 kB / 497.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.3111, allocations: 464.8 kB / 497.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.488e-05/0.3112, allocations: 171 kB / 497.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.3112, allocations: 75.31 kB / 497.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.3113, allocations: 114.8 kB / 498 MB, free: 10.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.034e-06/0.3113, allocations: 1.281 kB / 498 MB, free: 10.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.742e-05/0.3114, allocations: 33.59 kB / 498.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.3114, allocations: 128.1 kB / 498.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.3115, allocations: 101 kB / 498.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.3115, allocations: 25.7 kB / 498.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.3115, allocations: 90.05 kB / 498.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.3116, allocations: 0 / 498.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.3116, allocations: 0 / 498.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.3117, allocations: 322.8 kB / 498.7 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.3117, allocations: 4 kB / 498.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.3117, allocations: 17.66 kB / 498.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.424e-05/0.3117, allocations: 0 / 498.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3117, allocations: 0 / 498.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.799e-05/0.3118, allocations: 37.7 kB / 498.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3118, allocations: 9.875 kB / 498.8 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.3118, allocations: 0 / 498.8 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.3118, allocations: 4.125 kB / 498.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.267e-05/0.3119, allocations: 15.88 kB / 498.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.3119, allocations: 0 / 498.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.3119, allocations: 0 / 498.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.3119, allocations: 4 kB / 498.8 MB, free: 9.691 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.787e-05/0.312, allocations: 185.1 kB / 499 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.3121, allocations: 108.9 kB / 499.1 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.507e-05/0.3121, allocations: 108 kB / 499.2 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.394e-05/0.3122, allocations: 184.2 kB / 499.4 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.213e-05/0.3122, allocations: 180.2 kB / 499.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.261e-05/0.3123, allocations: 184.2 kB / 499.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.3125, allocations: 401.2 kB / 0.4884 GB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/0.3125, allocations: 108.9 kB / 0.4885 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.3126, allocations: 105 kB / 0.4886 GB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.482e-05/0.3126, allocations: 180.5 kB / 0.4888 GB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.3127, allocations: 180.5 kB / 0.489 GB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.415e-05/0.3127, allocations: 192.2 kB / 0.4891 GB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.145e-05/0.3128, allocations: 180.2 kB / 0.4893 GB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.3129, allocations: 307.8 kB / 0.4896 GB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.313, allocations: 186 kB / 0.4898 GB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.313, allocations: 184.1 kB / 0.49 GB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.3131, allocations: 108.9 kB / 0.4901 GB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.3132, allocations: 180.2 kB / 0.4902 GB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.3132, allocations: 105 kB / 0.4903 GB, free: 6.172 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.937e-05/0.3133, allocations: 91.2 kB / 0.4904 GB, free: 6.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3133, allocations: 0 / 0.4904 GB, free: 6.082 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000201/0.3135, allocations: 7.953 kB / 0.4904 GB, free: 6.074 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 () * Number of clocked 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 9.489e-05/0.3136, allocations: 170.5 kB / 0.4906 GB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.203e-05/0.3136, allocations: 9 kB / 0.4906 GB, free: 5.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3137, allocations: 0 / 0.4906 GB, free: 5.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.3137, allocations: 4.125 kB / 0.4906 GB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.3139, allocations: 0.5146 MB / 0.4911 GB, free: 5.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/0.3142, allocations: 182.4 kB / 0.4913 GB, free: 5.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.3144, allocations: 0.677 MB / 0.4919 GB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.623e-05/0.3144, allocations: 4 kB / 0.4919 GB, free: 4.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/0.3144, allocations: 7.438 kB / 0.492 GB, free: 4.449 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3144, allocations: 0 / 0.492 GB, free: 4.449 MB / 362.7 MB Notification: Performance of Templates: time 0.001435/0.3159, allocations: 189.1 kB / 0.4921 GB, free: 4.27 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1)